Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf9670bc authored by Selim Cinek's avatar Selim Cinek Committed by android-build-merger
Browse files

Merge "Added a debug flag to turn on the AOD animation" into pi-dev am: 8b418b00

am: f10a0c71

Change-Id: I8e0067b68f0c8641f3b4cf4f4929b532777d0430
parents 4b70190a f10a0c71
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -38,6 +38,8 @@ import java.io.PrintWriter;
public class DozeParameters implements TunerService.Tunable {
    private static final int MAX_DURATION = 60 * 1000;
    public static final String DOZE_SENSORS_WAKE_UP_FULLY = "doze_sensors_wake_up_fully";
    public static final boolean FORCE_NO_BLANKING =
            SystemProperties.getBoolean("debug.force_no_blanking", false);

    private static IntInOutMatcher sPickupSubtypePerformsProxMatcher;
    private static DozeParameters sInstance;
@@ -181,7 +183,7 @@ public class DozeParameters implements TunerService.Tunable {
     * @return {@code true} if screen needs to be completely black before a power transition.
     */
    public boolean getDisplayNeedsBlanking() {
        return mContext.getResources().getBoolean(
        return !FORCE_NO_BLANKING && mContext.getResources().getBoolean(
                com.android.internal.R.bool.config_displayBlanksAfterDoze);
    }