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
This commit is contained in:
Michael Wright
2021-11-01 14:53:03 +00:00
parent 534f29822a
commit bd5bf21001

View File

@@ -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()");