summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-09-17 02:01:00 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-09-17 02:01:00 +0000
commitcf44a015e87a5f07e28bca38b2bdb0ac5e874fb9 (patch)
tree599120afc7ec21965fdb328447ed75a31a6d8ebf /api
parent8f10e0097b4b0c29abc876d949b58f517fcb38b5 (diff)
parent47558ca2b2c1b553265331cfb0d96d3bbd151ba4 (diff)
Merge "Add action for Bluetooth tethering state changed"
Diffstat (limited to 'api')
-rwxr-xr-xapi/system-current.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/api/system-current.txt b/api/system-current.txt
index 9dde046ec313..ee9276bf6436 100755
--- a/api/system-current.txt
+++ b/api/system-current.txt
@@ -1578,12 +1578,16 @@ package android.bluetooth {
method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public void setBluetoothTethering(boolean);
method @RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setConnectionPolicy(@NonNull android.bluetooth.BluetoothDevice, int);
field public static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.pan.profile.action.CONNECTION_STATE_CHANGED";
+ field public static final String ACTION_TETHERING_STATE_CHANGED = "android.bluetooth.action.TETHERING_STATE_CHANGED";
field public static final String EXTRA_LOCAL_ROLE = "android.bluetooth.pan.extra.LOCAL_ROLE";
+ field public static final String EXTRA_TETHERING_STATE = "android.bluetooth.extra.TETHERING_STATE";
field public static final int LOCAL_NAP_ROLE = 1; // 0x1
field public static final int LOCAL_PANU_ROLE = 2; // 0x2
field public static final int PAN_ROLE_NONE = 0; // 0x0
field public static final int REMOTE_NAP_ROLE = 1; // 0x1
field public static final int REMOTE_PANU_ROLE = 2; // 0x2
+ field public static final int TETHERING_STATE_OFF = 1; // 0x1
+ field public static final int TETHERING_STATE_ON = 2; // 0x2
}
public class BluetoothPbap implements android.bluetooth.BluetoothProfile {