diff options
author | Daniel Sandler <dsandler@android.com> | 2011-09-12 00:58:58 -0400 |
---|---|---|
committer | Daniel Sandler <dsandler@android.com> | 2011-09-12 01:02:30 -0400 |
commit | 029d5877b0c19af09c6a1cb7d1c3d3507e88430c (patch) | |
tree | 28e7cb97326d026aaa9a4b6d19bbd3e8f56a4648 /tests/StatusBar | |
parent | f4b783f8a7f7ba56a879b0fce075257659e9f909 (diff) | |
download | frameworks_base-029d5877b0c19af09c6a1cb7d1c3d3507e88430c.zip frameworks_base-029d5877b0c19af09c6a1cb7d1c3d3507e88430c.tar.gz frameworks_base-029d5877b0c19af09c6a1cb7d1c3d3507e88430c.tar.bz2 |
Hide navigation buttons when they are DISABLEd.
Back is hidden by DISABLE_BACK; Home, Recents, and Menu are
hidden by DISABLE_NAVIGATION.
Bug: 5261576
Bug: 5284740 (confusion about visible inactive icons)
Change-Id: I410c133b737cc11d61bac0318dc24458353ee7b3
Diffstat (limited to 'tests/StatusBar')
-rw-r--r-- | tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java b/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java index ad3073a..7c94c2d 100644 --- a/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java +++ b/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java @@ -114,7 +114,7 @@ public class StatusBarTest extends TestActivity // v.setSystemUiVisibility(View.SYSTEM_UI_FLAG_VISIBLE); // } // }, - new Test("DISABLE_NAVIGATION") { + new Test("systemUiVisibility: STATUS_BAR_DISABLE_NAVIGATION") { public void run() { mListView.setSystemUiVisibility(View.STATUS_BAR_DISABLE_NAVIGATION); } @@ -232,6 +232,11 @@ public class StatusBarTest extends TestActivity mStatusBarManager.disable(StatusBarManager.DISABLE_NAVIGATION); } }, + new Test("Disable Back") { + public void run() { + mStatusBarManager.disable(StatusBarManager.DISABLE_BACK); + } + }, new Test("Disable Clock") { public void run() { mStatusBarManager.disable(StatusBarManager.DISABLE_CLOCK); |