Merge "Bluetooth: Don't throw exception when stopAdvertisingSet fails" am: b7cbb2fe49
am: 5d0f5f46ef
Change-Id: I063ce05f79b4feb518dc34c9a4651e96f65b324e
This commit is contained in:
@@ -455,8 +455,7 @@ public final class BluetoothLeAdvertiser {
|
|||||||
gatt.stopAdvertisingSet(wrapped);
|
gatt.stopAdvertisingSet(wrapped);
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
Log.e(TAG, "Failed to stop advertising - ", e);
|
Log.e(TAG, "Failed to stop advertising - ", e);
|
||||||
throw new IllegalStateException("Failed to stop advertising");
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user