summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2010-11-14 04:21:16 -0500
committerSteve Kondik <shade@chemlab.org>2010-11-14 07:31:04 -0500
commit4e2647391f8da78ebc9e5f2c7b65269f2f04e453 (patch)
tree1cefdfeb6cb9780f64c79fe6b4ab0019353a5a3f /services/java/com/android/server
parent2d0ec35c7153cd4d5d97833a923fcf7e3880726a (diff)
downloadframeworks_base-4e2647391f8da78ebc9e5f2c7b65269f2f04e453.zip
frameworks_base-4e2647391f8da78ebc9e5f2c7b65269f2f04e453.tar.gz
frameworks_base-4e2647391f8da78ebc9e5f2c7b65269f2f04e453.tar.bz2
Revert "Make the ADB connected notification non-persistent."
Causes problems on phones like Vision. We have a setting to disable the notification altogether, so this is pointless and causes the trackpad light to flash all the time. This reverts commit 39a636a021aa9a6d393c93f6235e426d43392047. Change-Id: I4badd0d2c9289db18084f6c6a9bb4621ecbb8b1d
Diffstat (limited to 'services/java/com/android/server')
-rw-r--r--services/java/com/android/server/NotificationManagerService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/java/com/android/server/NotificationManagerService.java b/services/java/com/android/server/NotificationManagerService.java
index b158575..8207146 100644
--- a/services/java/com/android/server/NotificationManagerService.java
+++ b/services/java/com/android/server/NotificationManagerService.java
@@ -1621,6 +1621,7 @@ class NotificationManagerService extends INotificationManager.Stub {
mAdbNotification = new Notification();
mAdbNotification.icon = com.android.internal.R.drawable.stat_sys_adb;
mAdbNotification.when = 0;
+ mAdbNotification.flags = Notification.FLAG_ONGOING_EVENT;
mAdbNotification.tickerText = title;
mAdbNotification.defaults = 0; // please be quiet
mAdbNotification.sound = null;