Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ecaf6902 authored by Etienne Ruffieux's avatar Etienne Ruffieux
Browse files

Removed "default" for onBluetoothActivityEnergyInfoError

Bug: 223344084
Tag: #feature
Test: manual
Change-Id: Iadbe3eddecc839ec3200a9f7e3a8720818a5eca3
parent 26217c47
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ package android.bluetooth {

  public static interface BluetoothAdapter.OnBluetoothActivityEnergyInfoCallback {
    method public void onBluetoothActivityEnergyInfoAvailable(@NonNull android.bluetooth.BluetoothActivityEnergyInfo);
    method public default void onBluetoothActivityEnergyInfoError(int);
    method public void onBluetoothActivityEnergyInfoError(int);
  }

  public static interface BluetoothAdapter.OnMetadataChangedListener {
+2 −2
Original line number Diff line number Diff line
@@ -854,8 +854,8 @@ public final class BluetoothAdapter {
         *
         * @param error code indicating the reason for the failure
         */
        default void onBluetoothActivityEnergyInfoError(
                @BluetoothActivityEnergyInfoCallbackError int error) {}
        void onBluetoothActivityEnergyInfoError(
                @BluetoothActivityEnergyInfoCallbackError int error);
    }

    private static class OnBluetoothActivityEnergyInfoProxy