summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Myles Watson <mylesgw@google.com> 2018-01-05 13:54:34 -0800
committer Myles Watson <mylesgw@google.com> 2018-01-09 00:13:03 +0000
commitfa792b97a5bb2d1ba5f7b271e897cb87985f37a8 (patch)
tree875fac20d70097c72a7d5560d5ad6a1ab9d016db
parent5d286326b15171d6a8a54d9fbc0e928fb06ef6bd (diff)
BluetoothProfile: Add Object Push Profile (OPP)
Test: toggle Bluetooth Change-Id: I5aec940ba3d6c6364c2de667426d98d0b3cea0c6
-rw-r--r--core/java/android/bluetooth/BluetoothProfile.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/java/android/bluetooth/BluetoothProfile.java b/core/java/android/bluetooth/BluetoothProfile.java
index df2028a55351..41cf809afd7f 100644
--- a/core/java/android/bluetooth/BluetoothProfile.java
+++ b/core/java/android/bluetooth/BluetoothProfile.java
@@ -157,12 +157,19 @@ public interface BluetoothProfile {
public static final int HID_DEVICE = 19;
/**
+ * Object Push Profile (OPP)
+ *
+ * @hide
+ */
+ public static final int OPP = 20;
+
+ /**
* Max profile ID. This value should be updated whenever a new profile is added to match
* the largest value assigned to a profile.
*
* @hide
*/
- public static final int MAX_PROFILE_ID = 19;
+ public static final int MAX_PROFILE_ID = 20;
/**
* Default priority for devices that we try to auto-connect to and