Merge "Bluetooth: Don't throw exception when stopAdvertisingSet fails" am: b7cbb2fe49 am: 5d0f5f46ef am: 915c02c96a

am: cc1916b54b

Change-Id: I343937d76693e62a47ece76b2b3c980e485803fd
This commit is contained in:
Jakub Pawlowski
2017-08-17 23:56:32 +00:00
committed by android-build-merger

View File

@@ -455,8 +455,7 @@ public final class BluetoothLeAdvertiser {
gatt.stopAdvertisingSet(wrapped);
} catch (RemoteException e) {
Log.e(TAG, "Failed to stop advertising - ", e);
throw new IllegalStateException("Failed to stop advertising");
}
}
}
/**