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

Commit 5c447796 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Force update sysui flags after binding to overview service" into...

Merge "Force update sysui flags after binding to overview service" into rvc-dev am: 677051e3 am: bcd3ac8c am: 507ffb8b

Change-Id: I4053b8f55962b42e372fa89c09870c3857d4e9cf
parents aa23f59a 507ffb8b
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -60,6 +60,11 @@ public class SysUiState implements Dumpable {
        mCallbacks.remove(callback);
        mCallbacks.remove(callback);
    }
    }


    /** Returns the current sysui state flags. */
    public int getFlags() {
        return mFlags;
    }

    /** Methods to this call can be chained together before calling {@link #commitUpdate(int)}. */
    /** Methods to this call can be chained together before calling {@link #commitUpdate(int)}. */
    public SysUiState setFlag(int flag, boolean enabled) {
    public SysUiState setFlag(int flag, boolean enabled) {
        if (enabled) {
        if (enabled) {
+2 −1
Original line number Original line Diff line number Diff line
@@ -495,8 +495,9 @@ public class OverviewProxyService implements CallbackController<OverviewProxyLis
            }
            }
            dispatchNavButtonBounds();
            dispatchNavButtonBounds();


            // Update the systemui state flags
            // Force-update the systemui state flags
            updateSystemUiStateFlags();
            updateSystemUiStateFlags();
            notifySystemUiStateFlags(mSysUiState.getFlags());


            notifyConnectionChanged();
            notifyConnectionChanged();
        }
        }