diff options
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothAdapter.java')
-rw-r--r-- | framework/java/android/bluetooth/BluetoothAdapter.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/framework/java/android/bluetooth/BluetoothAdapter.java b/framework/java/android/bluetooth/BluetoothAdapter.java index 53f96a60f6..84eddad0f9 100644 --- a/framework/java/android/bluetooth/BluetoothAdapter.java +++ b/framework/java/android/bluetooth/BluetoothAdapter.java @@ -871,7 +871,7 @@ public final class BluetoothAdapter { } @Override - public void onBluetoothActivityEnergyInfo(BluetoothActivityEnergyInfo info) { + public void onBluetoothActivityEnergyInfoAvailable(BluetoothActivityEnergyInfo info) { Executor executor; OnBluetoothActivityEnergyInfoListener listener; synchronized (mLock) { @@ -2733,7 +2733,9 @@ public final class BluetoothAdapter { * A null value for the activity info object may be sent if the bluetooth service is * unreachable or the device does not support reporting such information. * - * @param result The callback to which to send the activity info. + * @param executor the executor that the listener will be invoked on + * @param listener the listener that will receive the {@link BluetoothActivityEnergyInfo} + * object when it becomes available * @hide */ @SystemApi |