commit | 21b6058fff4fb2448394b4b4ea3ae28e44c0f69d | [log] [tgz] |
---|---|---|
author | Wale Ogunwale <ogunwale@google.com> | Wed Jan 27 12:34:16 2016 -0800 |
committer | Wale Ogunwale <ogunwale@google.com> | Fri Jan 29 12:52:14 2016 -0800 |
tree | e5fa343fe867a5b14dcadcc433865fe880f5980d | |
parent | b9b16a74e5543b7b707e55a7382bbe82d300e2e5 [diff] [blame] |
Added isDockable field to RunningTaskInfo Allows the caller to know if the task can go in the docked stack. Bug: 26774816 Change-Id: I96fdf9b4df0ac87d84492e1504baac3ca0767d37
diff --git a/services/core/java/com/android/server/am/ActivityStack.java b/services/core/java/com/android/server/am/ActivityStack.java index b9b2bb6..7de254e 100644 --- a/services/core/java/com/android/server/am/ActivityStack.java +++ b/services/core/java/com/android/server/am/ActivityStack.java
@@ -4542,6 +4542,7 @@ } ci.numActivities = numActivities; ci.numRunning = numRunning; + ci.isDockable = task.canGoInDockedStack(); list.add(ci); } }