summaryrefslogtreecommitdiffstats
path: root/tests/StatusBar
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2010-08-26 10:28:46 -0400
committerDaniel Sandler <dsandler@android.com>2010-08-27 22:57:39 -0400
commitd02bdaab495641ab50e2123fdfd99a819cc40540 (patch)
tree63b4618d41b340ea2d4f01b98da2ce0ba478c032 /tests/StatusBar
parent7046bd924f77c54585b9e0e0c95e5edd2ceb55a3 (diff)
downloadframeworks_base-d02bdaab495641ab50e2123fdfd99a819cc40540.zip
frameworks_base-d02bdaab495641ab50e2123fdfd99a819cc40540.tar.gz
frameworks_base-d02bdaab495641ab50e2123fdfd99a819cc40540.tar.bz2
Remove experimental immersive mode support. DO NOT MERGE
Bug: 2949215 Change-Id: I7d998ef571ef7e149bb96261430e92150b80b77d
Diffstat (limited to 'tests/StatusBar')
-rw-r--r--tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java15
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,