Merge "Do not buzzing for each progress of bugreport notification" am: 63d1890bc8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11807219 Change-Id: Ib86e581d748774debc18b610a46199a37c83cdcb
This commit is contained in:
@@ -1245,6 +1245,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())) {
|
||||
@@ -1284,6 +1285,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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user