Loading services/core/java/com/android/server/audio/AudioService.java +9 −4 Original line number Diff line number Diff line Loading @@ -9002,10 +9002,15 @@ public class AudioService extends IAudioService.Stub if (DEBUG_VOL) { Log.d(TAG, "Persisting Volume Behavior for DeviceType: " + deviceType); } long callingIdentity = Binder.clearCallingIdentity(); try { System.putIntForUser(mContentResolver, getSettingsNameForDeviceVolumeBehavior(deviceType), deviceVolumeBehavior, UserHandle.USER_CURRENT); } finally { Binder.restoreCallingIdentity(callingIdentity); } } @AudioManager.DeviceVolumeBehaviorState Loading Loading
services/core/java/com/android/server/audio/AudioService.java +9 −4 Original line number Diff line number Diff line Loading @@ -9002,10 +9002,15 @@ public class AudioService extends IAudioService.Stub if (DEBUG_VOL) { Log.d(TAG, "Persisting Volume Behavior for DeviceType: " + deviceType); } long callingIdentity = Binder.clearCallingIdentity(); try { System.putIntForUser(mContentResolver, getSettingsNameForDeviceVolumeBehavior(deviceType), deviceVolumeBehavior, UserHandle.USER_CURRENT); } finally { Binder.restoreCallingIdentity(callingIdentity); } } @AudioManager.DeviceVolumeBehaviorState Loading