Add @UnsupportedAppUsage annotations
For packages:
android.bluetooth.le
android.bluetooth
This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.
Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@
Bug: 110868826
Test: m
Change-Id: I88a1311e27c5f9a5f9d1035db76034f86f650efc
diff --git a/core/java/android/bluetooth/BluetoothGattCharacteristic.java b/core/java/android/bluetooth/BluetoothGattCharacteristic.java
index 243ad35..6d46b3a 100644
--- a/core/java/android/bluetooth/BluetoothGattCharacteristic.java
+++ b/core/java/android/bluetooth/BluetoothGattCharacteristic.java
@@ -15,6 +15,7 @@
*/
package android.bluetooth;
+import android.annotation.UnsupportedAppUsage;
import android.os.Parcel;
import android.os.ParcelUuid;
import android.os.Parcelable;
@@ -182,6 +183,7 @@
*
* @hide
*/
+ @UnsupportedAppUsage
protected int mInstance;
/**
@@ -218,6 +220,7 @@
*
* @hide
*/
+ @UnsupportedAppUsage
protected BluetoothGattService mService;
/**
@@ -381,6 +384,7 @@
*
* @hide
*/
+ @UnsupportedAppUsage
/*package*/ void setService(BluetoothGattService service) {
mService = service;
}
@@ -464,6 +468,7 @@
*
* @hide
*/
+ @UnsupportedAppUsage
public void setKeySize(int keySize) {
mKeySize = keySize;
}