diff options
Diffstat (limited to 'services/java')
-rwxr-xr-x | services/java/com/android/server/NotificationManagerService.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/services/java/com/android/server/NotificationManagerService.java b/services/java/com/android/server/NotificationManagerService.java index e7b839f..3caba1f 100755 --- a/services/java/com/android/server/NotificationManagerService.java +++ b/services/java/com/android/server/NotificationManagerService.java @@ -151,8 +151,6 @@ public class NotificationManagerService extends INotificationManager.Stub private AtomicFile mPolicyFile; private HashSet<String> mBlockedPackages = new HashSet<String>(); - private IDreamManager mSandman; - private static final int DB_VERSION = 1; private static final String TAG_BODY = "notification-policy"; @@ -658,8 +656,6 @@ public class NotificationManagerService extends INotificationManager.Stub void systemReady() { mAudioService = IAudioService.Stub.asInterface( ServiceManager.getService(Context.AUDIO_SERVICE)); - mSandman = IDreamManager.Stub.asInterface( - ServiceManager.getService("dreams")); // no beeping until we're basically done booting mSystemReady = true; @@ -995,16 +991,6 @@ public class NotificationManagerService extends INotificationManager.Stub | Notification.FLAG_NO_CLEAR; } - // Stop screensaver if the notification has a full-screen intent. - // (like an incoming phone call) - if (notification.fullScreenIntent != null && mSandman != null) { - try { - mSandman.awaken(); - } catch (RemoteException e) { - // noop - } - } - if (notification.icon != 0) { StatusBarNotification n = new StatusBarNotification(pkg, id, tag, r.uid, r.initialPid, score, notification); |