Merge "Do not buzzing for each progress of bugreport notification"
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