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

Commit c7be1875 authored by Takayuki Hoshi's avatar Takayuki Hoshi Committed by Android (Google) Code Review
Browse files

Merge "Ignore TV platforms in checkForRingerModeChange"

parents 43c53a63 21003f69
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3392,6 +3392,10 @@ public class AudioService extends IAudioService.Stub {
    private int checkForRingerModeChange(int oldIndex, int direction, int step, boolean isMuted,
            String caller, int flags) {
        int result = FLAG_ADJUST_VOLUME;
        if (isPlatformTelevision()) {
            return result;
        }

        int ringerMode = getRingerModeInternal();

        switch (ringerMode) {