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

Commit 70bc7fb1 authored by Matt Pietal's avatar Matt Pietal
Browse files

Remove delayed NSSL visibility

This was only used for devices with side fps, and was used to reduce
the amount of motion when the device was turning on and
unlocking. That unfurling motion has been removed, and hence the need
for the delay. It was also causing notifications to be slightly
visible after unlock.

Fixes: 323240275
Test: manual - look for visible flicker after unlocking side fps
device
Flag: ACONFIG com.android.systemui.keyguard_shade_migration_nssl
DEVELOPMENT

Change-Id: I8c7b17c9950abc64006e3a6255f1e2105350c500
parent e86f6f45
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -386,6 +386,7 @@ constructor(
        }
    }

    @Deprecated("As part of b/301915812")
    private fun scheduleDelayedDozeAmountAnimation() {
        val alreadyRunning = delayedDozeAmountAnimator != null
        logger.logStartDelayedDozeAmountAnimation(alreadyRunning)
+3 −1
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@ import static androidx.lifecycle.Lifecycle.State.RESUMED;

import static com.android.systemui.Dependency.TIME_TICK_HANDLER_NAME;
import static com.android.systemui.Flags.lightRevealMigration;
import static com.android.systemui.Flags.newAodTransition;
import static com.android.systemui.Flags.predictiveBackSysui;
import static com.android.systemui.charging.WirelessChargingAnimation.UNKNOWN_BATTERY_LEVEL;
import static com.android.systemui.statusbar.NotificationLockscreenUserManager.PERMISSION_SELF;
@@ -2497,7 +2498,8 @@ public class CentralSurfacesImpl implements CoreStartable, CentralSurfaces {
            mNotificationShadeWindowController.batchApplyWindowLayoutParams(()-> {
                mDeviceInteractive = true;

                if (shouldAnimateDozeWakeup()) {
                boolean isFlaggedOff = newAodTransition() && KeyguardShadeMigrationNssl.isEnabled();
                if (!isFlaggedOff && shouldAnimateDozeWakeup()) {
                    // If this is false, the power button must be physically pressed in order to
                    // trigger fingerprint authentication.
                    final boolean touchToUnlockAnytime = Settings.Secure.getIntForUser(