Do not @hide Parcelable implementations in BluetoothClass and BluetoothDevice.
Change-Id: I92389c53a9b99c9507f78898329ff87b631c7aa3
This commit is contained in:
@@ -26137,6 +26137,16 @@
|
||||
<parameter name="flags" type="int">
|
||||
</parameter>
|
||||
</method>
|
||||
<field name="CREATOR"
|
||||
type="android.os.Parcelable.Creator"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
</class>
|
||||
<class name="BluetoothClass.Device"
|
||||
extends="java.lang.Object"
|
||||
@@ -27197,6 +27207,16 @@
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="CREATOR"
|
||||
type="android.os.Parcelable.Creator"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="ERROR"
|
||||
type="int"
|
||||
transient="false"
|
||||
|
||||
@@ -72,12 +72,10 @@ public final class BluetoothClass implements Parcelable {
|
||||
return Integer.toHexString(mClass);
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
public int describeContents() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
public static final Parcelable.Creator<BluetoothClass> CREATOR =
|
||||
new Parcelable.Creator<BluetoothClass>() {
|
||||
public BluetoothClass createFromParcel(Parcel in) {
|
||||
@@ -88,7 +86,6 @@ public final class BluetoothClass implements Parcelable {
|
||||
}
|
||||
};
|
||||
|
||||
/** @hide */
|
||||
public void writeToParcel(Parcel out, int flags) {
|
||||
out.writeInt(mClass);
|
||||
}
|
||||
|
||||
@@ -349,12 +349,10 @@ public final class BluetoothDevice implements Parcelable {
|
||||
return mAddress;
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
public int describeContents() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
public static final Parcelable.Creator<BluetoothDevice> CREATOR =
|
||||
new Parcelable.Creator<BluetoothDevice>() {
|
||||
public BluetoothDevice createFromParcel(Parcel in) {
|
||||
@@ -365,7 +363,6 @@ public final class BluetoothDevice implements Parcelable {
|
||||
}
|
||||
};
|
||||
|
||||
/** @hide */
|
||||
public void writeToParcel(Parcel out, int flags) {
|
||||
out.writeString(mAddress);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user