Merge "Mark BluetoothClass#getClassOfDevice as TestApi"

This commit is contained in:
Treehugger Robot
2018-08-09 00:58:44 +00:00
committed by Gerrit Code Review
2 changed files with 10 additions and 0 deletions

View File

@@ -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 {
public abstract class ContentResolver {

View File

@@ -16,6 +16,7 @@
package android.bluetooth;
import android.annotation.TestApi;
import android.annotation.UnsupportedAppUsage;
import android.os.Parcel;
import android.os.Parcelable;
@@ -293,6 +294,7 @@ public final class BluetoothClass implements Parcelable {
*
* @hide
*/
@TestApi
public int getClassOfDevice() {
return mClass;
}