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 Merged-In: I3c69d71f2f2ac75ce1ec3af7c63fa4d25bd9aebe Change-Id: I3c69d71f2f2ac75ce1ec3af7c63fa4d25bd9aebe
This commit is contained in:
committed by
Jakub Pawlowski
parent
b57c42cb43
commit
06ce6c0299
@@ -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()");
|
||||
|
||||
Reference in New Issue
Block a user