Merge "Mark BluetoothClass#getClassOfDevice as TestApi"
am: d5eff002eb
Change-Id: Ica748f534d65aa5ff2032e82e4b18c138610bdb1
This commit is contained in:
@@ -215,6 +215,14 @@ package android.app.usage {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
package android.bluetooth {
|
||||||
|
|
||||||
|
public final class BluetoothClass implements android.os.Parcelable {
|
||||||
|
method public int getClassOfDevice();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
package android.content {
|
package android.content {
|
||||||
|
|
||||||
public abstract class ContentResolver {
|
public abstract class ContentResolver {
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
package android.bluetooth;
|
package android.bluetooth;
|
||||||
|
|
||||||
|
import android.annotation.TestApi;
|
||||||
import android.annotation.UnsupportedAppUsage;
|
import android.annotation.UnsupportedAppUsage;
|
||||||
import android.os.Parcel;
|
import android.os.Parcel;
|
||||||
import android.os.Parcelable;
|
import android.os.Parcelable;
|
||||||
@@ -293,6 +294,7 @@ public final class BluetoothClass implements Parcelable {
|
|||||||
*
|
*
|
||||||
* @hide
|
* @hide
|
||||||
*/
|
*/
|
||||||
|
@TestApi
|
||||||
public int getClassOfDevice() {
|
public int getClassOfDevice() {
|
||||||
return mClass;
|
return mClass;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user