summaryrefslogtreecommitdiffstats
path: root/tests/StatusBar
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2013-03-22 18:29:23 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-04-05 19:54:44 +0000
commit5feceebb892d4cb5777cea3c6174b206705d456b (patch)
tree58feee1605f35b07e70887f4ec017d80b5687436 /tests/StatusBar
parentbab9687e6473072d6ff4f7ea5a7b21bcfbf95744 (diff)
downloadframeworks_base-5feceebb892d4cb5777cea3c6174b206705d456b.zip
frameworks_base-5feceebb892d4cb5777cea3c6174b206705d456b.tar.gz
frameworks_base-5feceebb892d4cb5777cea3c6174b206705d456b.tar.bz2
New NotificationListenerService.
This is the best and only way for apps to listen for notifications: create a NotificationListenerService, wait for the NoMan to bind to you (as a result of the user checking a box somewhere in Settings and agreeing to a scary dialog box), and you'll start receiving notification posted and dismissed callbacks. Your service, while enabled, will also be able to clear one or all notifications. Use this power wisely. This change moves StatusBarNotification out of com.android.internal into android.service.notification. [Internal customers, including System UI and early users of the system-only listener binder API, will need to be updated.] Bug: 8199624 Change-Id: I1be46f823d4b3ddc901109ec1e085cd6deb740c2
Diffstat (limited to 'tests/StatusBar')
-rw-r--r--tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java b/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java
index 4345098..ba160b1 100644
--- a/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java
+++ b/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java
@@ -33,13 +33,10 @@ import android.util.Log;
import android.net.Uri;
import android.os.SystemClock;
import android.widget.RemoteViews;
-import android.widget.TextView;
-import android.widget.ProgressBar;
import android.os.PowerManager;
// private NM API
import android.app.INotificationManager;
-import com.android.internal.statusbar.StatusBarNotification;
public class NotificationTestList extends TestActivity
{