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

Commit 4cf89bd1 authored by wilsonshih's avatar wilsonshih
Browse files

Remove flag keep_app_window_hide_while_locked

Bug: 409607485
Flag: EXEMPT flag removal
Test: presubmit
Change-Id: Id4db3772950059803883d00f9dd6b94aa98382f0
parent 7e8e08a4
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -438,17 +438,6 @@ flag {
    }
}

flag {
    name: "keep_app_window_hide_while_locked"
    namespace: "windowing_frontend"
    description: "Do not let app window visible while device is locked"
    is_fixed_read_only: true
    bug: "378088391"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    name: "port_window_size_animation"
    namespace: "windowing_frontend"
+1 −1
Original line number Diff line number Diff line
@@ -2772,7 +2772,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
            final boolean wasShowWhenLocked = (sa.flags & FLAG_SHOW_WHEN_LOCKED) != 0;
            final boolean removeShowWhenLocked = (mAttrs.flags & FLAG_SHOW_WHEN_LOCKED) == 0;
            sa.flags = (sa.flags & ~mask) | (mAttrs.flags & mask);
            if (Flags.keepAppWindowHideWhileLocked() && wasShowWhenLocked && removeShowWhenLocked) {
            if (wasShowWhenLocked && removeShowWhenLocked) {
                // Trigger unoccluding animation if needed.
                mActivityRecord.checkKeyguardFlagsChanged();
                mActivityRecord.deferStartingWindowRemovalForKeyguardUnoccluding();