Loading packages/SystemUI/src/com/android/systemui/media/RingtonePlayer.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -159,7 +159,9 @@ public class RingtonePlayer extends SystemUI { if (Binder.getCallingUid() != Process.SYSTEM_UID) { if (Binder.getCallingUid() != Process.SYSTEM_UID) { throw new SecurityException("Async playback only available from system UID."); throw new SecurityException("Async playback only available from system UID."); } } if (UserHandle.ALL.equals(user)) { user = UserHandle.OWNER; } mAsyncPlayer.play(getContextForUser(user), uri, looping, aa); mAsyncPlayer.play(getContextForUser(user), uri, looping, aa); } } Loading Loading
packages/SystemUI/src/com/android/systemui/media/RingtonePlayer.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -159,7 +159,9 @@ public class RingtonePlayer extends SystemUI { if (Binder.getCallingUid() != Process.SYSTEM_UID) { if (Binder.getCallingUid() != Process.SYSTEM_UID) { throw new SecurityException("Async playback only available from system UID."); throw new SecurityException("Async playback only available from system UID."); } } if (UserHandle.ALL.equals(user)) { user = UserHandle.OWNER; } mAsyncPlayer.play(getContextForUser(user), uri, looping, aa); mAsyncPlayer.play(getContextForUser(user), uri, looping, aa); } } Loading