diff options
author | Mike Lockwood <lockwood@android.com> | 2010-11-30 17:03:32 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-11-30 17:03:32 -0800 |
commit | 735206f121cb2a11b3397870e6565178627e0aa3 (patch) | |
tree | 8ca8003e363d53f7540c3f368a055f3edcb8cbde | |
parent | 1c8c173666313f8ab589fa54911661cbc41a5e8f (diff) | |
parent | 35e16bfa9b9ad1074a7130fb2119cc109f31d4b0 (diff) | |
download | frameworks_base-735206f121cb2a11b3397870e6565178627e0aa3.zip frameworks_base-735206f121cb2a11b3397870e6565178627e0aa3.tar.gz frameworks_base-735206f121cb2a11b3397870e6565178627e0aa3.tar.bz2 |
Merge "NotificationManagerService: minor cleanup"
-rwxr-xr-x | services/java/com/android/server/NotificationManagerService.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/services/java/com/android/server/NotificationManagerService.java b/services/java/com/android/server/NotificationManagerService.java index 6de7e6a..7101bb0 100755 --- a/services/java/com/android/server/NotificationManagerService.java +++ b/services/java/com/android/server/NotificationManagerService.java @@ -41,7 +41,6 @@ import android.database.ContentObserver; import android.hardware.Usb; import android.media.AudioManager; import android.net.Uri; -import android.os.BatteryManager; import android.os.Bundle; import android.os.Binder; import android.os.Handler; @@ -61,7 +60,6 @@ import android.util.Log; import android.view.accessibility.AccessibilityEvent; import android.view.accessibility.AccessibilityManager; import android.widget.Toast; -import android.widget.Toast; import java.io.FileDescriptor; import java.io.PrintWriter; @@ -92,7 +90,6 @@ public class NotificationManagerService extends INotificationManager.Stub private WorkerHandler mHandler; private StatusBarManagerService mStatusBar; - private LightsService mLightsService; private LightsService.Light mNotificationLight; private LightsService.Light mAttentionLight; @@ -440,7 +437,7 @@ public class NotificationManagerService extends INotificationManager.Stub mDisabledNotifications = StatusBarManager.DISABLE_NOTIFICATION_ALERTS; } - // register for battery changed notifications + // register for various Intents IntentFilter filter = new IntentFilter(); filter.addAction(Usb.ACTION_USB_STATE); filter.addAction(Intent.ACTION_SCREEN_ON); |