Loading services/core/java/com/android/server/audio/AudioService.java +17 −14 Original line number Diff line number Diff line Loading @@ -1422,6 +1422,8 @@ public class AudioService extends IAudioService.Stub direction/*val1*/, flags/*val2*/, new StringBuilder(callingPackage) .append("/").append(caller).append(" uid:").append(uid).toString())); final int streamType; synchronized (mForceControlStreamLock) { // Request lock in case mVolumeControlStream is changed by other thread. if (mUserSelectedVolumeControlStream) { // implies mVolumeControlStream != -1 streamType = mVolumeControlStream; } else { Loading @@ -1439,6 +1441,7 @@ public class AudioService extends IAudioService.Stub streamType = mVolumeControlStream; } } } final boolean isMute = isMuteAdjust(direction); Loading Loading
services/core/java/com/android/server/audio/AudioService.java +17 −14 Original line number Diff line number Diff line Loading @@ -1422,6 +1422,8 @@ public class AudioService extends IAudioService.Stub direction/*val1*/, flags/*val2*/, new StringBuilder(callingPackage) .append("/").append(caller).append(" uid:").append(uid).toString())); final int streamType; synchronized (mForceControlStreamLock) { // Request lock in case mVolumeControlStream is changed by other thread. if (mUserSelectedVolumeControlStream) { // implies mVolumeControlStream != -1 streamType = mVolumeControlStream; } else { Loading @@ -1439,6 +1441,7 @@ public class AudioService extends IAudioService.Stub streamType = mVolumeControlStream; } } } final boolean isMute = isMuteAdjust(direction); Loading