Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39576c8d authored by Daniel Sandler's avatar Daniel Sandler
Browse files

Use a more benign icon for ADB notifications.

Also suppress vibe & noise for ADB notifications.

Bug: 2544480
Bug: 2545486

Change-Id: I955a7271f47601f9b35f0d3fcd48363370ebd252
parent 4b4d3039
Loading
Loading
Loading
Loading
+1008 B
Loading image diff...
+679 B
Loading image diff...
+4 −2
Original line number Diff line number Diff line
@@ -1136,11 +1136,13 @@ class NotificationManagerService extends INotificationManager.Stub

                    if (mAdbNotification == null) {
                        mAdbNotification = new Notification();
                        mAdbNotification.icon = com.android.internal.R.drawable.stat_sys_warning;
                        mAdbNotification.icon = com.android.internal.R.drawable.stat_sys_adb;
                        mAdbNotification.when = 0;
                        mAdbNotification.flags = Notification.FLAG_ONGOING_EVENT;
                        mAdbNotification.tickerText = title;
                        mAdbNotification.defaults |= Notification.DEFAULT_SOUND;
                        mAdbNotification.defaults = 0; // please be quiet
                        mAdbNotification.sound = null;
                        mAdbNotification.vibrate = null;
                    }

                    Intent intent = new Intent(