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

Commit c21e87d6 authored by Vineeth Bhende's avatar Vineeth Bhende
Browse files

Clean up flag: notify_power_manager_user_activity_background

The flag has been launched and is safe to remove now.

Bug: 409611083
Flag: EXEMPT cleanup
Test: Checked the build
Change-Id: I0a4ddc44459a9415907449706b3856576b2bbb89
parent 5e7e47ba
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -906,16 +906,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() {