Loading core/java/android/hardware/display/DisplayManager.java +2 −2 Original line number Diff line number Diff line Loading @@ -1683,7 +1683,7 @@ public final class DisplayManager { } /** * Returns the minimum brightness curve, which guarantess that any brightness curve that dips * Returns the minimum brightness curve, which guarantees that any brightness curve that dips * below it is rejected by the system. * This prevent auto-brightness from setting the screen so dark as to prevent the user from * resetting or disabling it, and maps lux to the absolute minimum nits that are still readable Loading Loading @@ -2232,7 +2232,7 @@ public final class DisplayManager { "fixed_refresh_rate_high_ambient_brightness_thresholds"; /** * Key for refresh rate when the device is in high brightness mode for sunlight visility. * Key for refresh rate when the device is in high brightness mode for sunlight visibility. * * @see android.provider.DeviceConfig#NAMESPACE_DISPLAY_MANAGER * @see android.R.integer#config_defaultRefreshRateInHbmSunlight Loading services/core/java/com/android/server/display/DisplayManagerService.java +1 −11 Original line number Diff line number Diff line Loading @@ -519,7 +519,7 @@ public final class DisplayManagerService extends SystemService { private final Injector mInjector; // The minimum brightness curve, which guarantess that any brightness curve that dips below it // The minimum brightness curve, which guarantees that any brightness curve that dips below it // is rejected by the system. private final Curve mMinimumBrightnessCurve; private final Spline mMinimumBrightnessSpline; Loading Loading @@ -3685,16 +3685,6 @@ public final class DisplayManagerService extends SystemService { } } // Check if the target app is in cached mode private boolean isUidCached(int uid) { if (mActivityManagerInternal == null || uid < FIRST_APPLICATION_UID) { return false; } int procState = mActivityManagerInternal.getUidProcessState(uid); int importance = ActivityManager.RunningAppProcessInfo.procStateToImportance(procState); return importance >= IMPORTANCE_CACHED; } // Runs on Handler thread. // Delivers display event notifications to callbacks. private void deliverDisplayEvent(int displayId, ArraySet<Integer> uids, Loading Loading
core/java/android/hardware/display/DisplayManager.java +2 −2 Original line number Diff line number Diff line Loading @@ -1683,7 +1683,7 @@ public final class DisplayManager { } /** * Returns the minimum brightness curve, which guarantess that any brightness curve that dips * Returns the minimum brightness curve, which guarantees that any brightness curve that dips * below it is rejected by the system. * This prevent auto-brightness from setting the screen so dark as to prevent the user from * resetting or disabling it, and maps lux to the absolute minimum nits that are still readable Loading Loading @@ -2232,7 +2232,7 @@ public final class DisplayManager { "fixed_refresh_rate_high_ambient_brightness_thresholds"; /** * Key for refresh rate when the device is in high brightness mode for sunlight visility. * Key for refresh rate when the device is in high brightness mode for sunlight visibility. * * @see android.provider.DeviceConfig#NAMESPACE_DISPLAY_MANAGER * @see android.R.integer#config_defaultRefreshRateInHbmSunlight Loading
services/core/java/com/android/server/display/DisplayManagerService.java +1 −11 Original line number Diff line number Diff line Loading @@ -519,7 +519,7 @@ public final class DisplayManagerService extends SystemService { private final Injector mInjector; // The minimum brightness curve, which guarantess that any brightness curve that dips below it // The minimum brightness curve, which guarantees that any brightness curve that dips below it // is rejected by the system. private final Curve mMinimumBrightnessCurve; private final Spline mMinimumBrightnessSpline; Loading Loading @@ -3685,16 +3685,6 @@ public final class DisplayManagerService extends SystemService { } } // Check if the target app is in cached mode private boolean isUidCached(int uid) { if (mActivityManagerInternal == null || uid < FIRST_APPLICATION_UID) { return false; } int procState = mActivityManagerInternal.getUidProcessState(uid); int importance = ActivityManager.RunningAppProcessInfo.procStateToImportance(procState); return importance >= IMPORTANCE_CACHED; } // Runs on Handler thread. // Delivers display event notifications to callbacks. private void deliverDisplayEvent(int displayId, ArraySet<Integer> uids, Loading