Loading android/app/src/com/android/bluetooth/btservice/AdapterService.java +4 −0 Original line number Diff line number Diff line Loading @@ -1108,6 +1108,7 @@ public class AdapterService extends Service { } private void startGattProfileService() { Log.d(TAG, "startGattProfileService() called"); mGattService = new GattService(this); mStartedProfiles.put(BluetoothProfile.GATT, mGattService); Loading @@ -1118,11 +1119,13 @@ public class AdapterService extends Service { } private void startScanController() { Log.d(TAG, "startScanController() called"); mScanController = new ScanController(this); mNativeInterface.enable(); } private void stopGattProfileService() { Log.d(TAG, "stopGattProfileService() called"); setScanMode(SCAN_MODE_NONE, "stopGattProfileService"); if (mRunningProfiles.size() == 0) { Loading @@ -1143,6 +1146,7 @@ public class AdapterService extends Service { } private void stopScanController() { Log.d(TAG, "stopScanController() called"); setScanMode(SCAN_MODE_NONE, "stopScanController"); if (mScanController == null) { Loading Loading
android/app/src/com/android/bluetooth/btservice/AdapterService.java +4 −0 Original line number Diff line number Diff line Loading @@ -1108,6 +1108,7 @@ public class AdapterService extends Service { } private void startGattProfileService() { Log.d(TAG, "startGattProfileService() called"); mGattService = new GattService(this); mStartedProfiles.put(BluetoothProfile.GATT, mGattService); Loading @@ -1118,11 +1119,13 @@ public class AdapterService extends Service { } private void startScanController() { Log.d(TAG, "startScanController() called"); mScanController = new ScanController(this); mNativeInterface.enable(); } private void stopGattProfileService() { Log.d(TAG, "stopGattProfileService() called"); setScanMode(SCAN_MODE_NONE, "stopGattProfileService"); if (mRunningProfiles.size() == 0) { Loading @@ -1143,6 +1146,7 @@ public class AdapterService extends Service { } private void stopScanController() { Log.d(TAG, "stopScanController() called"); setScanMode(SCAN_MODE_NONE, "stopScanController"); if (mScanController == null) { Loading