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

Commit 49db1cd5 authored by Vineeth Bhende's avatar Vineeth Bhende Committed by Android (Google) Code Review
Browse files

Merge "Clean up flag: notify_power_manager_user_activity_background" into main

parents 88ce908d c21e87d6
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -896,16 +896,6 @@ flag {
    }
}

flag {
    name: "notify_power_manager_user_activity_background"
    namespace: "systemui"
    description: "Decide whether to notify the user activity to power manager in the background thread."
    bug: "325203885"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    name: "qs_tile_focus_state"
    namespace: "systemui"
+1 −6
Original line number Diff line number Diff line
@@ -41,7 +41,6 @@ import static com.android.internal.widget.LockPatternUtils.StrongAuthTracker.STR
import static com.android.internal.widget.LockPatternUtils.StrongAuthTracker.STRONG_AUTH_REQUIRED_AFTER_USER_LOCKDOWN;
import static com.android.internal.widget.LockPatternUtils.StrongAuthTracker.STRONG_AUTH_REQUIRED_FOR_UNATTENDED_UPDATE;
import static com.android.systemui.DejankUtils.whitelistIpcs;
import static com.android.systemui.Flags.notifyPowerManagerUserActivityBackground;
import static com.android.systemui.Flags.simPinBouncerReset;
import static com.android.systemui.keyguard.ui.viewmodel.LockscreenToDreamingTransitionViewModel.DREAMING_ANIMATION_DURATION_MS;

@@ -1682,11 +1681,7 @@ public class KeyguardViewMediator implements CoreStartable,
    }

    public void userActivity() {
        if (notifyPowerManagerUserActivityBackground()) {
        mUiBgExecutor.execute(() -> mPM.userActivity(mSystemClock.uptimeMillis(), false));
        } else {
            mPM.userActivity(mSystemClock.uptimeMillis(), false);
        }
    }

    private void setupLocked() {