From d02bdaab495641ab50e2123fdfd99a819cc40540 Mon Sep 17 00:00:00 2001 From: Daniel Sandler Date: Thu, 26 Aug 2010 10:28:46 -0400 Subject: Remove experimental immersive mode support. DO NOT MERGE Bug: 2949215 Change-Id: I7d998ef571ef7e149bb96261430e92150b80b77d --- .../src/com/android/statusbartest/StatusBarTest.java | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'tests/StatusBar/src') diff --git a/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java b/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java index b665d2f09b4a..1078701bacad 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, -- cgit v1.2.3-59-g8ed1b