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

This commit is contained in:
Treehugger Robot
2017-08-17 22:51:23 +00:00
committed by Gerrit Code Review

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");
}
}
}
/**