Loading android/app/src/com/android/bluetooth/hid/HidHostService.java +2 −1 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.os.UserHandle; import android.provider.Settings; import android.util.Log; Loading Loading @@ -763,7 +764,7 @@ public class HidHostService extends ProfileService { intent.putExtra(BluetoothProfile.EXTRA_STATE, newState); intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT); sendBroadcast(intent, BLUETOOTH_PERM); sendBroadcastAsUser(intent, UserHandle.ALL, BLUETOOTH_PERM); } private void broadcastHandshake(BluetoothDevice device, int status) { Loading Loading
android/app/src/com/android/bluetooth/hid/HidHostService.java +2 −1 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.os.UserHandle; import android.provider.Settings; import android.util.Log; Loading Loading @@ -763,7 +764,7 @@ public class HidHostService extends ProfileService { intent.putExtra(BluetoothProfile.EXTRA_STATE, newState); intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT); sendBroadcast(intent, BLUETOOTH_PERM); sendBroadcastAsUser(intent, UserHandle.ALL, BLUETOOTH_PERM); } private void broadcastHandshake(BluetoothDevice device, int status) { Loading