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

Commit e3e0b06a authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Attempted fix for navigation bar flicker

Not 100% sure why it was flickering, but I do know that the
flicker started happening after putting this into a separate
thread, and that with that change it doesn't flicker anymore,
ever.

Adds 0.5ms while unlocking but at this point this is a good trade-
off to make.

Test: Unlock device with FP
Change-Id: I736a3c64d9b63df9d6cdcb7855bde13a19560a83
Fixes: 62380221
parent 67b29d5d
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -1864,12 +1864,7 @@ public class KeyguardViewMediator extends SystemUI {
                        + " isSecure=" + isSecure() + " --> flags=0x" + Integer.toHexString(flags));
            }

            if (!(mContext instanceof Activity)) {
                final int finalFlags = flags;
                mUiOffloadThread.submit(() -> {
                    mStatusBarManager.disable(finalFlags);
                });
            }
            mStatusBarManager.disable(flags);
        }
    }