summaryrefslogtreecommitdiffstats
path: root/tests/permission
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2012-04-04 12:48:24 -0700
committerDianne Hackborn <hackbod@google.com>2012-04-04 16:00:45 -0700
commitf87d19621dc2a30232bba1f51862a0b671eb9729 (patch)
tree8bf53cb17770100b6fd1c1f31f1b27eb7121ce3e /tests/permission
parent5b86de1e6b8f597ab2444de0f2274546321f1810 (diff)
downloadframeworks_base-f87d19621dc2a30232bba1f51862a0b671eb9729.zip
frameworks_base-f87d19621dc2a30232bba1f51862a0b671eb9729.tar.gz
frameworks_base-f87d19621dc2a30232bba1f51862a0b671eb9729.tar.bz2
Clean up status bar, system bar, navigation bar management.
The status bar and navigation bar are two completely separate elements, with their own semantics. The system bar now classifies itself as a navigation bar, since that is really how it behaves. This required rewriting the HDMI resizing code, so that it is all done by PhoneWindowManager since that is what is responsible for the size of the navigation bar (and thus now system bar). This actually gets rid of a fair amount of code, and means we can also do the same thing for a pure navigation bar. Likewise the system bar now has the navigation bar ability to be hidden when requested by system UI flags. To get the behavior we want on Xoom, we only allow the nav bar to be hidden when it will help provide a better aspect ratio for showing widescreen videos. Finally the nav/system bar now animates when hidden and shown. Change-Id: Ie927154b68376a0b61802f99171ff56b8da92e7a
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 c3ac22c..58f65be 100644
--- a/tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java
+++ b/tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java
@@ -412,7 +412,7 @@ public class WindowManagerPermissionTests extends TestCase {
@SmallTest
public void testSET_ORIENTATION() {
try {
- mWm.updateRotation(true);
+ mWm.updateRotation(true, false);
mWm.getSwitchState(0);
fail("IWindowManager.updateRotation did not throw SecurityException as"
+ " expected");