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

Commit ae099dc6 authored by Etienne Ruffieux's avatar Etienne Ruffieux Committed by Gerrit Code Review
Browse files

Merge "Removed "default" for onBluetoothActivityEnergyInfoError"

parents e2f11e80 ecaf6902
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