summaryrefslogtreecommitdiffstats
path: root/tests/permission
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-11-12 18:03:47 -0800
committerDianne Hackborn <hackbod@google.com>2010-11-14 14:23:42 -0800
commit7eec10e6c99c30d5ee061fec08ac89ad4254ac32 (patch)
treeb196fb70709f29c6f6e60423578162f5dd189e63 /tests/permission
parent7c2ae6570321575ad74a25bdc72bea1ec6558660 (diff)
downloadframeworks_base-7eec10e6c99c30d5ee061fec08ac89ad4254ac32.zip
frameworks_base-7eec10e6c99c30d5ee061fec08ac89ad4254ac32.tar.gz
frameworks_base-7eec10e6c99c30d5ee061fec08ac89ad4254ac32.tar.bz2
Get rid of the extended themes.
We now decide whether to use a bitmap background based on whether the window's drawing is hardware accelerated. To do this, there is a new "state_accelerated" that state list drawables can be parameterized on, and the standard window background uses this to select a solid color or bitmap drawable as appropriate. Introduces a little hackery to have wm preview windows pretend like they are hardware accelerated even if they aren't, so the preview looks closer to the actual app. Also Add a DialogWhenLarge variation for the light theme. Change-Id: I215a79d5df65ba3eed52ab363cade9d8218a6588
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 4464236..710ff30 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, null, false);
+ mWm.setAppStartingWindow(null, "foo", 0, null, 0, 0, 0, null, false);
fail("IWindowManager.setAppStartingWindow did not throw SecurityException as"
+ " expected");
} catch (SecurityException e) {