summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2012-09-25 16:46:33 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-09-25 16:47:06 -0700
commitc91fb5875bfd7f91d50d6fe939873872b53c8b2f (patch)
tree20d76cda14967d73acad9df9445b2211bbe2482f /tests
parentfe54290df0c5d495b7f388035a4ae3a20821a183 (diff)
parente20a177d3f147f3011647c3bdab401f90b2c5d1d (diff)
downloadframeworks_base-c91fb5875bfd7f91d50d6fe939873872b53c8b2f.zip
frameworks_base-c91fb5875bfd7f91d50d6fe939873872b53c8b2f.tar.gz
frameworks_base-c91fb5875bfd7f91d50d6fe939873872b53c8b2f.tar.bz2
Merge "Adding a global accessibility action to open quick settings." into jb-mr1-dev
Diffstat (limited to 'tests')
-rw-r--r--tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java20
1 files changed, 3 insertions, 17 deletions
diff --git a/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java b/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java
index 94ad620..3b6e107 100644
--- a/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java
+++ b/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java
@@ -16,29 +16,15 @@
package com.android.statusbartest;
-import android.app.ListActivity;
import android.app.Notification;
import android.app.NotificationManager;
-import android.widget.ArrayAdapter;
import android.view.View;
-import android.widget.ListView;
import android.content.Intent;
import android.app.PendingIntent;
-import android.app.Notification;
-import android.app.NotificationManager;
import android.app.StatusBarManager;
-import android.content.Context;
-import android.util.AttributeSet;
-import android.os.Vibrator;
-import android.os.Bundle;
import android.os.Handler;
import android.util.Log;
-import android.net.Uri;
import android.os.SystemClock;
-import android.widget.RemoteViews;
-import android.widget.Toast;
-import android.os.PowerManager;
-import android.view.View;
import android.view.Window;
import android.view.WindowManager;
@@ -300,14 +286,14 @@ public class StatusBarTest extends TestActivity
},
new Test("Expand") {
public void run() {
- mStatusBarManager.expand();
+ mStatusBarManager.expandNotifications();
}
},
new Test("Expand in 3 sec.") {
public void run() {
mHandler.postDelayed(new Runnable() {
public void run() {
- mStatusBarManager.expand();
+ mStatusBarManager.expandNotifications();
}
}, 3000);
}
@@ -316,7 +302,7 @@ public class StatusBarTest extends TestActivity
public void run() {
mHandler.postDelayed(new Runnable() {
public void run() {
- mStatusBarManager.collapse();
+ mStatusBarManager.collapseNotifications();
}
}, 3000);
}