Loading android/app/src/com/android/bluetooth/btservice/AdapterService.java +10 −0 Original line number Diff line number Diff line Loading @@ -1200,6 +1200,11 @@ public class AdapterService extends Service { } void updateAdapterName(String name) { // TODO: b/372775662 - remove post once caller is on correct thread mHandler.post(() -> updateAdapterNameInternal(name)); } private void updateAdapterNameInternal(String name) { int n = mRemoteCallbacks.beginBroadcast(); Log.d(TAG, "updateAdapterName(" + name + ")"); for (int i = 0; i < n; i++) { Loading @@ -1213,6 +1218,11 @@ public class AdapterService extends Service { } void updateAdapterAddress(String address) { // TODO: b/372775662 - remove post once caller is on correct thread mHandler.post(() -> updateAdapterAddressInternal(address)); } private void updateAdapterAddressInternal(String address) { int n = mRemoteCallbacks.beginBroadcast(); Log.d(TAG, "updateAdapterAddress(" + BluetoothUtils.toAnonymizedAddress(address) + ")"); for (int i = 0; i < n; i++) { Loading Loading
android/app/src/com/android/bluetooth/btservice/AdapterService.java +10 −0 Original line number Diff line number Diff line Loading @@ -1200,6 +1200,11 @@ public class AdapterService extends Service { } void updateAdapterName(String name) { // TODO: b/372775662 - remove post once caller is on correct thread mHandler.post(() -> updateAdapterNameInternal(name)); } private void updateAdapterNameInternal(String name) { int n = mRemoteCallbacks.beginBroadcast(); Log.d(TAG, "updateAdapterName(" + name + ")"); for (int i = 0; i < n; i++) { Loading @@ -1213,6 +1218,11 @@ public class AdapterService extends Service { } void updateAdapterAddress(String address) { // TODO: b/372775662 - remove post once caller is on correct thread mHandler.post(() -> updateAdapterAddressInternal(address)); } private void updateAdapterAddressInternal(String address) { int n = mRemoteCallbacks.beginBroadcast(); Log.d(TAG, "updateAdapterAddress(" + BluetoothUtils.toAnonymizedAddress(address) + ")"); for (int i = 0; i < n; i++) { Loading