summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2012-10-05 14:45:52 -0700
committerCraig Mautner <cmautner@google.com>2012-10-06 13:09:58 -0700
commit5962b12bedc4a1d0354816c1cd6b06ba04f6d807 (patch)
treeb9918fad07cf0e0ff84d510b6e17b31cf48394f9 /tests
parent88400d3a31139c40c4014faf86c243647087ef6c (diff)
downloadframeworks_base-5962b12bedc4a1d0354816c1cd6b06ba04f6d807.zip
frameworks_base-5962b12bedc4a1d0354816c1cd6b06ba04f6d807.tar.gz
frameworks_base-5962b12bedc4a1d0354816c1cd6b06ba04f6d807.tar.bz2
Adds showWhenLocked attribute to Activities.
The new attribute allows an Activity such as the alarm to appear on all users screens. Bug: 7213805 fixed. Change-Id: If7866b13d88c04af07debc69e0e875d0adc6050a
Diffstat (limited to 'tests')
-rw-r--r--tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java2
1 files changed, 1 insertions, 1 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 1f6279c..746ac06 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, false);
+ mWm.addAppToken(0, null, 0, 0, false, false);
fail("IWindowManager.addAppToken did not throw SecurityException as"
+ " expected");
} catch (SecurityException e) {