Merge "Bluetooth: Don't throw exception when stopAdvertisingSet fails" into oc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c6e9d29308
@@ -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");
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user