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

Commit 85ac627e authored by Felipe Leme's avatar Felipe Leme
Browse files

Don't tag bugreport notifications as System.

Otherwise, they'll skip DND settings.

Test: mmm -j32 frameworks/base/packages/Shell && adb install -r -g ${OUT}/data/app/ShellTests/ShellTests.apk && adb shell am instrument -e class com.android.shell.BugreportReceiverTest$1 -w com.android.shell.tests/android.support.test.runner.AndroidJUnitRunner

Bug: 63509844

Change-Id: I7d802b4c8d115c989979a9edaff2f83fc19a4eae
parent d066fa9b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1060,7 +1060,6 @@ public class BugreportProgressService extends Service {
        }
        return new Notification.Builder(context, NOTIFICATION_CHANNEL_ID)
                .addExtras(sNotificationBundle)
                .setCategory(Notification.CATEGORY_SYSTEM)
                .setSmallIcon(
                        isTv(context) ? R.drawable.ic_bug_report_black_24dp
                                : com.android.internal.R.drawable.stat_sys_adb)