commit | 0583d3d18812d31d50228a6f29cb15b3219c9e94 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Fri Dec 18 10:03:12 2015 -0500 |
committer | Winson Chung <winsonc@google.com> | Fri Dec 18 10:05:13 2015 -0500 |
tree | f3b0d26824ee2721e6cdd777ca1ea75be6c2d766 | |
parent | 87af9a03f19c5e8eb8d4aec53c320e029c873e0c [diff] [blame] |
Hiding pinned stack tasks from overview Bug: 25381158 Change-Id: Iad442b7f5dc49109529cb5dab2168b19837af6e3
diff --git a/services/core/java/com/android/server/am/ActivityStack.java b/services/core/java/com/android/server/am/ActivityStack.java index 59acccd..582a1fe 100644 --- a/services/core/java/com/android/server/am/ActivityStack.java +++ b/services/core/java/com/android/server/am/ActivityStack.java
@@ -520,6 +520,14 @@ return mStackId == HOME_STACK_ID; } + final boolean isDockedStack() { + return mStackId == DOCKED_STACK_ID; + } + + final boolean isPinnedStack() { + return mStackId == PINNED_STACK_ID; + } + final boolean isOnHomeDisplay() { return isAttached() && mActivityContainer.mActivityDisplay.mDisplayId == Display.DEFAULT_DISPLAY;