sm8350-common:parts: Adapt PerApp RefreshRate for lisa

Anhh Shit we dont have 120hz

Signed-off-by: zaidkhan0997 <kzaid0997@gmail.com>
This commit is contained in:
zaidkhan0997 2024-08-10 16:35:48 +05:30
parent 5c82902d09
commit ae7cfcfe8a
Signed by: zaidkhan0997
GPG Key ID: 6C50557AD547C980
4 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@
<string name="refresh_summary">Set the maximum refresh rate for a specific application</string>
<string name="refresh_default">Default</string>
<string name="refresh_standard">60Hz</string>
<string name="refresh_extreme">120Hz</string>
<string name="refresh_extreme">90Hz</string>
<!-- Doze Strings -->
<string name="doze_brightness_low">Low brightness</string>

View File

@ -197,7 +197,7 @@ public class RefreshSettingsFragment extends PreferenceFragment
case RefreshUtils.STATE_STANDARD:
return R.drawable.ic_refresh_60;
case RefreshUtils.STATE_EXTREME:
return R.drawable.ic_refresh_120;
return R.drawable.ic_refresh_90;
case RefreshUtils.STATE_DEFAULT:
default:
return R.drawable.ic_refresh_default;

View File

@ -40,9 +40,9 @@ public final class RefreshUtils {
protected static final int STATE_STANDARD = 1;
protected static final int STATE_EXTREME = 2;
private static final float REFRESH_STATE_DEFAULT = 120f;
private static final float REFRESH_STATE_DEFAULT = 90f;
private static final float REFRESH_STATE_STANDARD = 60f;
private static final float REFRESH_STATE_EXTREME = 120f;
private static final float REFRESH_STATE_EXTREME = 90f;
private static final String REFRESH_STANDARD = "refresh.standard=";
private static final String REFRESH_EXTREME = "refresh.extreme=";