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

Commit bd5bf210 authored by Michael Wright's avatar Michael Wright
Browse files

Update @RequiresApi declarations for T to be 33.

Lint assumes that the next API is going to be the previous API level +
1. This means that for things in development, when bumping the API level
for a prior release (e.g. bumping for SC-V2 while T is in development),
anything targeting the in-development API now needs to bump their
@RequireSdk levels by one.

Bug: 204295952
Test: N/A
Change-Id: I3c69d71f2f2ac75ce1ec3af7c63fa4d25bd9aebe
parent 534f2982
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ public class CsipSetCoordinatorProfile implements LocalBluetoothProfile {

    // These callbacks run on the main thread.
    private final class CoordinatedSetServiceListener implements BluetoothProfile.ServiceListener {
        @RequiresApi(32)
        @RequiresApi(33)
        public void onServiceConnected(int profile, BluetoothProfile proxy) {
            if (VDBG) {
                Log.d(TAG, "Bluetooth service connected");
@@ -233,7 +233,7 @@ public class CsipSetCoordinatorProfile implements LocalBluetoothProfile {
        return NAME;
    }

    @RequiresApi(32)
    @RequiresApi(33)
    protected void finalize() {
        if (VDBG) {
            Log.d(TAG, "finalize()");