Do not buzzing for each progress of bugreport notification am: 52e7d23f53 am: 186d884b05

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1532901

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4bfc7ae9c68f16ba9daf8229c459be055ae86682
This commit is contained in:
Rhed Jao
2021-01-06 11:23:20 +00:00
committed by Automerger Merge Worker

View File

@@ -1248,6 +1248,7 @@ public class BugreportProgressService extends Service {
.setContentText(content)
.setContentIntent(PendingIntent.getService(mContext, info.id, shareIntent,
PendingIntent.FLAG_UPDATE_CURRENT))
.setOnlyAlertOnce(false)
.setDeleteIntent(newCancelIntent(mContext, info));
if (!TextUtils.isEmpty(info.getName())) {
@@ -1287,6 +1288,7 @@ public class BugreportProgressService extends Service {
.setLocalOnly(true)
.setColor(context.getColor(
com.android.internal.R.color.system_notification_accent_color))
.setOnlyAlertOnce(true)
.extend(new Notification.TvExtender());
}