Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c6b6eaa authored by Eric Laurent's avatar Eric Laurent Committed by Android (Google) Code Review
Browse files

Merge "audio service: add watchdog for audio mode"

parents 6f3dd02a 852cd7d7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6528,8 +6528,8 @@ public class AudioService extends IAudioService.Stub
                                    CHECK_MODE_FOR_UID_PERIOD_MS);
                            break;
                        }
                        // For now just log the fact that an app is hogging the audio mode.
                        // TODO(b/160260850): remove abusive app from audio mode stack.
                        setModeInt(AudioSystem.MODE_NORMAL, h.getBinder(), h.getPid(), h.getUid(),
                                h.isPrivileged(), "MSG_CHECK_MODE_FOR_UID");
                        mModeLogger.log(new PhoneStateEvent(h.getPackage(), h.getPid()));
                    }
                    break;