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

Commit 2a4ddde2 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Don't re-inflate bouncer

Re-inflating the bouncer shouldn't be necessary every
time it get hidden, it causes lots of jank.

Bug: 74602128
Test: external/chromium-trace/systrace.py gfx freq am wm sched binder_driver view -a com.android.systemui -o sysui.html
Change-Id: Ie853874c1be3f621b7fa9f010a06ea0fa6253d1b
parent d9d45fd7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -157,7 +157,7 @@ public class KeyguardBouncer {
    public void onFullyHidden() {
        if (!mShowingSoon) {
            cancelShowRunnable();
            inflateView();
            mRoot.setVisibility(View.INVISIBLE);
            mFalsingManager.onBouncerHidden();
        }
    }