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

Commit 0bc42834 authored by Josh Tsuji's avatar Josh Tsuji
Browse files

Flag off disableForUser.

This was resulting in the StatusBarDisableFlagsInteractor having no effect due to a mismatched token.

Bug: 278086361
Flag: com.android.systemui.keyguard_wm_state_refactor
Test: cts tests
Change-Id: I62a45c19b3cc522a112a380d6b9b80d150344242
parent 6e91e825
Loading
Loading
Loading
Loading
+10 −6
Original line number Diff line number Diff line
@@ -3568,6 +3568,9 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable,
                    }
                    return;
                }

                // Handled in StatusBarDisableFlagsInteractor.
                if (!KeyguardWmStateRefactor.isEnabled()) {
                    try {
                        mStatusBarService.disableForUser(flags, mStatusBarDisableToken,
                                mContext.getPackageName(),
@@ -3578,6 +3581,7 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable,
                }
            }
        }
    }

    /**
     * Handle message sent by {@link #resetStateLocked}