diff options
| author | 2022-06-17 02:23:42 +0000 | |
|---|---|---|
| committer | 2022-06-17 02:23:42 +0000 | |
| commit | ff78e98ac9ecb46bfcdd67e7ad91ba0565ce782f (patch) | |
| tree | 61f2235fcbaa15b3fc4dedaa874f09ec23063813 | |
| parent | ecb49e9d8715c5b38b832f4a3f603c3f3f1432d3 (diff) | |
| parent | e9f801e292ff3b1b0f554fca77bad431347da6bc (diff) | |
Merge "Keep mCanAffectSystemUiFlags to be false while in PiP" into tm-qpr-dev
| -rw-r--r-- | services/core/java/com/android/server/wm/Task.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/services/core/java/com/android/server/wm/Task.java b/services/core/java/com/android/server/wm/Task.java index fc1b89348c25..3a272859c70c 100644 --- a/services/core/java/com/android/server/wm/Task.java +++ b/services/core/java/com/android/server/wm/Task.java @@ -4427,13 +4427,13 @@ class Task extends TaskFragment { : WINDOWING_MODE_FULLSCREEN; } if (currentMode == WINDOWING_MODE_PINNED) { + // In the case that we've disabled affecting the SysUI flags as a part of seamlessly + // transferring the transform on the leash to the task, reset this state once we're + // moving out of pip + setCanAffectSystemUiFlags(true); mRootWindowContainer.notifyActivityPipModeChanged(this, null); } if (likelyResolvedMode == WINDOWING_MODE_PINNED) { - // In the case that we've disabled affecting the SysUI flags as a part of seamlessly - // transferring the transform on the leash to the task, reset this state once we've - // actually entered pip - setCanAffectSystemUiFlags(true); if (taskDisplayArea.getRootPinnedTask() != null) { // Can only have 1 pip at a time, so replace an existing pip taskDisplayArea.getRootPinnedTask().dismissPip(); |