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

Commit c68b5b7e authored by Daniel Sandler's avatar Daniel Sandler Committed by Android (Google) Code Review
Browse files

Merge "Use a more benign icon for ADB notifications."

parents b80d49d3 39576c8d
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(