diff options
| author | Mike J. Chen <mjchen@google.com> | 2014-03-07 20:33:46 +0000 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2014-03-07 20:33:46 +0000 |
| commit | 8169bc78a1222ff0797ca53fe5fa19c8cf6fc70a (patch) | |
| tree | 2eca35d7987a93d48c8bd5cfa54e27142a08c6f5 /core/java/android/bluetooth/BluetoothInputDevice.java | |
| parent | 695d169e42854fbd3ef945c47930dd8eef79d3c6 (diff) | |
| parent | 5adbea2e2da3a0af1357de05a04534c65a7c9f76 (diff) | |
| download | frameworks_base-8169bc78a1222ff0797ca53fe5fa19c8cf6fc70a.zip frameworks_base-8169bc78a1222ff0797ca53fe5fa19c8cf6fc70a.tar.gz frameworks_base-8169bc78a1222ff0797ca53fe5fa19c8cf6fc70a.tar.bz2 | |
am 5adbea2e: am 784224d2: am b8a7dd63: Merge "Add handshake broadcast support" into klp-modular-dev
* commit '5adbea2e2da3a0af1357de05a04534c65a7c9f76':
Add handshake broadcast support
Diffstat (limited to 'core/java/android/bluetooth/BluetoothInputDevice.java')
| -rw-r--r-- | core/java/android/bluetooth/BluetoothInputDevice.java | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/core/java/android/bluetooth/BluetoothInputDevice.java b/core/java/android/bluetooth/BluetoothInputDevice.java index b8b8f5f..333f825 100644 --- a/core/java/android/bluetooth/BluetoothInputDevice.java +++ b/core/java/android/bluetooth/BluetoothInputDevice.java @@ -79,6 +79,13 @@ public final class BluetoothInputDevice implements BluetoothProfile { * @hide */ @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) + public static final String ACTION_HANDSHAKE = + "android.bluetooth.input.profile.action.HANDSHAKE"; + + /** + * @hide + */ + @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) public static final String ACTION_REPORT = "android.bluetooth.input.profile.action.REPORT"; @@ -185,6 +192,11 @@ public final class BluetoothInputDevice implements BluetoothProfile { /** * @hide */ + public static final String EXTRA_STATUS = "android.bluetooth.BluetoothInputDevice.extra.STATUS"; + + /** + * @hide + */ public static final String EXTRA_VIRTUAL_UNPLUG_STATUS = "android.bluetooth.BluetoothInputDevice.extra.VIRTUAL_UNPLUG_STATUS"; private Context mContext; @@ -608,7 +620,7 @@ public final class BluetoothInputDevice implements BluetoothProfile { * @hide */ public boolean setReport(BluetoothDevice device, byte reportType, String report) { - if (DBG) log("setReport(" + device + "), reportType=" + reportType + " report=" + report); + if (VDBG) log("setReport(" + device + "), reportType=" + reportType + " report=" + report); if (mService != null && isEnabled() && isValidDevice(device)) { try { return mService.setReport(device, reportType, report); |
