Merge "Bluetooth: Don't throw exception when stopAdvertisingSet fails" into oc-mr1-dev

This commit is contained in:
TreeHugger Robot
2017-08-18 00:16:46 +00:00
committed by Android (Google) Code Review

View File

@@ -453,8 +453,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"); }
}
} }
/** /**