diff options
| author | Wei Wang <weiwa@google.com> | 2014-03-19 21:29:58 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-03-19 21:29:59 +0000 |
| commit | ffbea5c7daf2584039cda0a3a14b35433f789f19 (patch) | |
| tree | 0304406f4923b9267b04ad111c2aa7e378ba7a87 /core/java/android/bluetooth/BluetoothGatt.java | |
| parent | 29427a224e78068ade12bbabcf5613ce9cd48bfc (diff) | |
| parent | f305589f22f3fa1d73f2e29009d382c9a4f5c293 (diff) | |
| download | frameworks_base-ffbea5c7daf2584039cda0a3a14b35433f789f19.zip frameworks_base-ffbea5c7daf2584039cda0a3a14b35433f789f19.tar.gz frameworks_base-ffbea5c7daf2584039cda0a3a14b35433f789f19.tar.bz2 | |
Merge "Add status callback for start/stop advertising. Fixes b/13289050, b/13418851, also fixes 13418671."
Diffstat (limited to 'core/java/android/bluetooth/BluetoothGatt.java')
| -rw-r--r-- | core/java/android/bluetooth/BluetoothGatt.java | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/core/java/android/bluetooth/BluetoothGatt.java b/core/java/android/bluetooth/BluetoothGatt.java index e3820a2..39305b0 100644 --- a/core/java/android/bluetooth/BluetoothGatt.java +++ b/core/java/android/bluetooth/BluetoothGatt.java @@ -16,8 +16,6 @@ package android.bluetooth; -import android.bluetooth.BluetoothDevice; -import android.bluetooth.BluetoothProfile; import android.content.Context; import android.os.ParcelUuid; import android.os.RemoteException; @@ -544,6 +542,15 @@ public final class BluetoothGatt implements BluetoothProfile { Log.w(TAG, "Unhandled exception in callback", ex); } } + + /** + * Advertise state change callback + * @hide + */ + public void onAdvertiseStateChange(int state, int status) { + if (DBG) Log.d(TAG, "onAdvertiseStateChange() - state = " + + state + " status=" + status); + } }; /*package*/ BluetoothGatt(Context context, IBluetoothGatt iGatt, BluetoothDevice device) { |
