summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/wm/TaskGroup.java
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2013-02-11 09:39:27 -0800
committerCraig Mautner <cmautner@google.com>2013-02-12 10:52:55 -0800
commit05d6272bad2d707b488a6f8784ce8aea5e25b110 (patch)
tree6774cfb3e73de09a67864419085ecbf04eb50382 /services/java/com/android/server/wm/TaskGroup.java
parent72baa8fbb2d117e885022e736e91ec231e809264 (diff)
downloadframeworks_base-05d6272bad2d707b488a6f8784ce8aea5e25b110.zip
frameworks_base-05d6272bad2d707b488a6f8784ce8aea5e25b110.tar.gz
frameworks_base-05d6272bad2d707b488a6f8784ce8aea5e25b110.tar.bz2
Add AppWindowTokens to TaskList.
- Add/remove/move TaskLists from ActivityStack. - Further isolate mHistory. - Cleanup warnings by parameterizing ArrayList. - Fix previous bugs. Change-Id: Ife8c7b7347479c70f10467cc384283456149ac50
Diffstat (limited to 'services/java/com/android/server/wm/TaskGroup.java')
-rw-r--r--services/java/com/android/server/wm/TaskGroup.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/services/java/com/android/server/wm/TaskGroup.java b/services/java/com/android/server/wm/TaskGroup.java
new file mode 100644
index 0000000..5e82af2
--- /dev/null
+++ b/services/java/com/android/server/wm/TaskGroup.java
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2013 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.android.server.wm;
+
+import android.view.IApplicationToken;
+
+import java.util.ArrayList;
+
+public class TaskGroup {
+ public int taskId = -1;
+ public ArrayList<IApplicationToken> tokens = new ArrayList<IApplicationToken>();
+}