Loading services/core/java/com/android/server/audio/AudioService.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -2928,7 +2928,7 @@ public class AudioService extends IAudioService.Stub } } // Only enable calls from system components // Only enable calls from system components if (Binder.getCallingUid() >= FIRST_APPLICATION_UID) { if (UserHandle.getCallingAppId() >= FIRST_APPLICATION_UID) { mForcedUseForCommExt = on ? AudioSystem.FORCE_BT_SCO : AudioSystem.FORCE_NONE; mForcedUseForCommExt = on ? AudioSystem.FORCE_BT_SCO : AudioSystem.FORCE_NONE; return; return; } } Loading Loading
services/core/java/com/android/server/audio/AudioService.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -2928,7 +2928,7 @@ public class AudioService extends IAudioService.Stub } } // Only enable calls from system components // Only enable calls from system components if (Binder.getCallingUid() >= FIRST_APPLICATION_UID) { if (UserHandle.getCallingAppId() >= FIRST_APPLICATION_UID) { mForcedUseForCommExt = on ? AudioSystem.FORCE_BT_SCO : AudioSystem.FORCE_NONE; mForcedUseForCommExt = on ? AudioSystem.FORCE_BT_SCO : AudioSystem.FORCE_NONE; return; return; } } Loading