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

Commit f3e4ca6d authored by Fabio Iannaccone's avatar Fabio Iannaccone
Browse files

Remove unwanted timeout fallback to Legacy GA



When Provider dies, remove timer callback to avoid secondary timeout
fallback to Legacy GA that was leading to the dialog box blinking.

Bug: 272173191
Test: manual
Change-Id: Ie8d8dda855324a49c6b03e8d5f382f8d911050ba
Signed-off-by: default avatarFabio Iannaccone <fabio.iannaccone@technicolor.com>
parent d964f195
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -93,7 +93,8 @@ class GlobalActions implements GlobalActionsProvider.GlobalActionsListener {
        mGlobalActionsAvailable = available;
        if (mShowing && !mGlobalActionsAvailable) {
            // Global actions provider died but we need to be showing global actions still, show the
            // legacy global acrions provider.
            // legacy global actions provider and remove timeout callbacks to avoid legacy re-show.
            mHandler.removeCallbacks(mShowTimeout);
            ensureLegacyCreated();
            mLegacyGlobalActions.showDialog(mKeyguardShowing, mDeviceProvisioned);
        }