summaryrefslogtreecommitdiffstats
path: root/tests/permission
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2011-05-31 17:59:49 -0700
committerDianne Hackborn <hackbod@google.com>2011-05-31 18:04:14 -0700
commit2f0b17573d4324832f7a20402a3d2b5920bc4866 (patch)
treeeb85b9344237741f21f4989950677692b3bdbbda /tests/permission
parent8ede62745faa02265f927941d1195b6c1bf05ebb (diff)
downloadframeworks_base-2f0b17573d4324832f7a20402a3d2b5920bc4866.zip
frameworks_base-2f0b17573d4324832f7a20402a3d2b5920bc4866.tar.gz
frameworks_base-2f0b17573d4324832f7a20402a3d2b5920bc4866.tar.bz2
Fix issue #4502672: Wrong xml resources used for homescreen widgets.
There was a race in the system process between applying the initial configuration and executing code in higher-level system services like the app widget service that relies on the config. For some reason it starting showing up more after my code changes; it should now be completely fixed. Also fix the activity starting window to run in compatibility mode if its application is going to be in compatibility mode. And some various cleanup and small fixes. Change-Id: I0566933bf1bbb4259c1d99a60c0a3c19af1542e5
Diffstat (limited to 'tests/permission')
-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 e0f0f05..f015378 100644
--- a/tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java
+++ b/tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java
@@ -164,7 +164,7 @@ public class WindowManagerPermissionTests extends TestCase {
}
try {
- mWm.setAppStartingWindow(null, "foo", 0, null, 0, 0, 0, null, false);
+ mWm.setAppStartingWindow(null, "foo", 0, null, null, 0, 0, 0, null, false);
fail("IWindowManager.setAppStartingWindow did not throw SecurityException as"
+ " expected");
} catch (SecurityException e) {