summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJiaquan He <hejq@google.com>2016-06-15 15:15:12 -0700
committerJiaquan He <hejq@google.com>2016-07-27 23:57:23 +0000
commitdd1e66f737271dedded652cfae69a0cd7d46a86c (patch)
treed545393e3fbc4283a4fd936ec1a0d30dfdbfef5e /tests
parentd2a4944d68bd05f98856ea0f95cf36117bd5fd48 (diff)
Add more onTopLauncher support.
- Add onTopLauncher checking for TaskRecord. - Add onTopLauncher to the window manager. Bug: 28425537 Change-Id: Ic9e53db891dc42463a1a77b106ba93438a052181
Diffstat (limited to 'tests')
-rw-r--r--tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java b/tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java
index 063dd8631565..84243445428a 100644
--- a/tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java
+++ b/tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java
@@ -93,7 +93,7 @@ public class WindowManagerPermissionTests extends TestCase {
try {
mWm.addAppToken(0, null, 0, 0, 0, false, false, 0, 0, false, false, null,
- Configuration.EMPTY, 0, false, false, 0, -1);
+ Configuration.EMPTY, 0, false, false, 0, -1, false);
fail("IWindowManager.addAppToken did not throw SecurityException as"
+ " expected");
} catch (SecurityException e) {
@@ -103,7 +103,7 @@ public class WindowManagerPermissionTests extends TestCase {
}
try {
- mWm.setAppTask(null, 0, INVALID_STACK_ID, null, null, 0, false);
+ mWm.setAppTask(null, 0, INVALID_STACK_ID, null, null, 0, false, false);
fail("IWindowManager.setAppGroupId did not throw SecurityException as"
+ " expected");
} catch (SecurityException e) {