CSD: Remove forced logic
This logic causes the audio handler to not remove the callbacks if the forced flag was not set. Test: manual log, dumpsys and atest SoundDoseHelperTest Bug: 271311101 Bug: 271201291 Change-Id: I7467952bcaeaddaabf71e241c2ea387216ef4c18
This commit is contained in:
@@ -574,10 +574,8 @@ public class SoundDoseHelper {
|
||||
|
||||
/*package*/ void configureSafeMedia(boolean forced, String caller) {
|
||||
int msg = MSG_CONFIGURE_SAFE_MEDIA;
|
||||
if (forced) {
|
||||
// unforced should not cancel forced configure messages
|
||||
mAudioHandler.removeMessages(msg);
|
||||
}
|
||||
|
||||
mAudioHandler.removeMessages(msg);
|
||||
|
||||
long time = 0;
|
||||
if (forced) {
|
||||
|
||||
Reference in New Issue
Block a user