diff options
author | Daniel Sandler <dsandler@android.com> | 2010-08-27 20:00:29 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-08-27 20:00:29 -0700 |
commit | 44af754cf0c9ad9a8162e1bd2af60737e81a8beb (patch) | |
tree | dc82615fca74b557d74e5af807e43fc7c126a928 /tests | |
parent | 8328578152fbfd23952a6cda4b2e60853d78eb74 (diff) | |
parent | d02bdaab495641ab50e2123fdfd99a819cc40540 (diff) | |
download | frameworks_base-44af754cf0c9ad9a8162e1bd2af60737e81a8beb.zip frameworks_base-44af754cf0c9ad9a8162e1bd2af60737e81a8beb.tar.gz frameworks_base-44af754cf0c9ad9a8162e1bd2af60737e81a8beb.tar.bz2 |
am d02bdaab: Remove experimental immersive mode support. DO NOT MERGE
Merge commit 'd02bdaab495641ab50e2123fdfd99a819cc40540' into gingerbread-plus-aosp
* commit 'd02bdaab495641ab50e2123fdfd99a819cc40540':
Remove experimental immersive mode support. DO NOT MERGE
Diffstat (limited to 'tests')
-rw-r--r-- | tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java b/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java index b665d2f..1078701 100644 --- a/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java +++ b/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java @@ -76,17 +76,7 @@ public class StatusBarTest extends TestActivity win.setAttributes(winParams); } }, - new Test("Immersive: Enter") { - public void run() { - setImmersive(true); - } - }, - new Test("Immersive: Exit") { - public void run() { - setImmersive(false); - } - }, - new Test("Priority notification") { + new Test("fullScreenIntent") { public void run() { Notification not = new Notification(StatusBarTest.this, R.drawable.stat_sys_phone, @@ -96,9 +86,8 @@ public class StatusBarTest extends TestActivity "(888) 555-5038", null ); - not.flags |= Notification.FLAG_HIGH_PRIORITY; Intent fullScreenIntent = new Intent(StatusBarTest.this, TestAlertActivity.class); - int id = (int)System.currentTimeMillis(); // XXX HAX + int id = (int)System.currentTimeMillis(); fullScreenIntent.putExtra("id", id); not.fullScreenIntent = PendingIntent.getActivity( StatusBarTest.this, |