commit | bddad56d286940274a9fe6f8c0bb86d42864348d | [log] [tgz] |
---|---|---|
author | Nazanin <nazaninb@google.com> | Thu Feb 18 11:05:53 2021 -0800 |
committer | Nazanin <nazaninb@google.com> | Thu Feb 18 11:05:53 2021 -0800 |
tree | 22f0e3d9d8eabdb03950263be9f533babb107292 | |
parent | 78beda626e6309759d5542c06467b6c3e87124d5 [diff] |
Make bluetooth choppy voice notification cancellable Bug: 180480106 Test: verified by manual test Change-Id: Ie98d94050cf814a8943c766c3a510c36c029bc92
diff --git a/src/com/android/services/telephony/CallQualityManager.java b/src/com/android/services/telephony/CallQualityManager.java index 01b5bae..0e32ddc 100644 --- a/src/com/android/services/telephony/CallQualityManager.java +++ b/src/com/android/services/telephony/CallQualityManager.java
@@ -99,7 +99,7 @@ .setContentTitle(title) .setContentText(details) .setStyle(new Notification.BigTextStyle().bigText(details)) - .setOngoing(true) + .setAutoCancel(true) .setChannelId(CALL_QUALITY_CHANNEL_ID) .setOnlyAlertOnce(true) .build();