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

Commit 34a8e797 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 7102152 from aeab9755 to rvc-qpr3-release

Change-Id: I9017183f70f0153acfbd4d317493b269fcf6be9f
parents d523b41d aeab9755
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ import static android.view.InsetsState.ITYPE_STATUS_BAR;
import static android.view.SyncRtSurfaceTransactionApplier.applyParams;
import static android.view.WindowManager.LayoutParams.PRIVATE_FLAG_FORCE_SHOW_STATUS_BAR;
import static android.view.WindowManager.LayoutParams.PRIVATE_FLAG_STATUS_FORCE_SHOW_NAVIGATION;
import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_STARTING;

import android.annotation.Nullable;
import android.app.StatusBarManager;
@@ -128,6 +129,9 @@ class InsetsPolicy {

    /** Updates the target which can control system bars. */
    void updateBarControlTarget(@Nullable WindowState focusedWin) {
        if (focusedWin != null && (focusedWin.mAttrs.type == TYPE_APPLICATION_STARTING)) {
            return;
        }
        if (mFocusedWin != focusedWin){
            abortTransient();
        }