Merge "Bluetooth: Don't throw exception when stopAdvertisingSet fails"

am: b7cbb2fe49

Change-Id: I5ccf67621134fe1ba9204e2a8f3502ffacef0315
This commit is contained in:
Jakub Pawlowski
2017-08-17 23:06:14 +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");
}
}
}
/**