summaryrefslogtreecommitdiff
path: root/core/java/android/view/WindowManager.java
diff options
context:
space:
mode:
authorPhil Weaver <pweaver@google.com>2017-06-30 01:59:39 +0000
committerPhil Weaver <pweaver@google.com>2017-06-30 02:03:32 +0000
commit909eda1fafca8d08fd793ce600751c338503d9f5 (patch)
tree7f1c8a5ec00f270981502d705578bd71f5f041a1 /core/java/android/view/WindowManager.java
parent6f2a1a18fc15b5dc0c8ca3ecbd04fe7a1549754b (diff)
Revert "Added PRIVATE_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS window flag."
I submitted this change by accident after confusing it with one of mine. Sorry. Bug: 62196835 This reverts commit 6f2a1a18fc15b5dc0c8ca3ecbd04fe7a1549754b. Change-Id: Ib6d89690d1d761d38da3131131ff807a3fac0d2b
Diffstat (limited to 'core/java/android/view/WindowManager.java')
-rw-r--r--core/java/android/view/WindowManager.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/core/java/android/view/WindowManager.java b/core/java/android/view/WindowManager.java
index 6e3648785af6..4c0a1902d6a4 100644
--- a/core/java/android/view/WindowManager.java
+++ b/core/java/android/view/WindowManager.java
@@ -18,7 +18,6 @@ package android.view;
import android.annotation.IntDef;
import android.annotation.NonNull;
-import android.annotation.RequiresPermission;
import android.annotation.SystemApi;
import android.annotation.SystemService;
import android.annotation.TestApi;
@@ -1381,14 +1380,15 @@ public interface WindowManager extends ViewManager {
public static final int PRIVATE_FLAG_SUSTAINED_PERFORMANCE_MODE = 0x00040000;
/**
- * Flag to indicate that any window added by an application process that if of type
- * {@link #TYPE_TOAST} or that requires
- * {@link android.app.AppOpsManager#OP_SYSTEM_ALERT_WINDOW} permission should be hidden when
- * this window is visible.
+ * Flag to indicate that this window is used as a task snapshot window. A task snapshot
+ * window is a starting window that gets shown with a screenshot from the previous state
+ * that is active until the app has drawn its first frame.
+ *
+ * <p>If this flag is set, SystemUI flags are ignored such that the real window behind can
+ * set the SystemUI flags.
* @hide
*/
- @RequiresPermission(android.Manifest.permission.INTERNAL_SYSTEM_WINDOW)
- public static final int PRIVATE_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS = 0x00080000;
+ public static final int PRIVATE_FLAG_TASK_SNAPSHOT = 0x00080000;
/**
* Flag to indicate that this window should be ignored when determining what parts of the