diff options
Diffstat (limited to 'framework/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 cccc7d43f5..9036e3e2d8 100644 --- a/framework/java/android/bluetooth/BluetoothAdapter.java +++ b/framework/java/android/bluetooth/BluetoothAdapter.java @@ -849,7 +849,7 @@ public final class BluetoothAdapter { } @Override - public void onBluetoothActivityEnergyInfo(BluetoothActivityEnergyInfo info) { + public void onBluetoothActivityEnergyInfoAvailable(BluetoothActivityEnergyInfo info) { Executor executor; OnBluetoothActivityEnergyInfoListener listener; synchronized (mLock) { @@ -2737,7 +2737,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 |