From 06ce6c0299d77ff73d073f3c770cc3fce0d48127 Mon Sep 17 00:00:00 2001 From: Michael Wright Date: Mon, 1 Nov 2021 14:53:03 +0000 Subject: [PATCH] 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 --- .../settingslib/bluetooth/CsipSetCoordinatorProfile.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/SettingsLib/src/com/android/settingslib/bluetooth/CsipSetCoordinatorProfile.java b/packages/SettingsLib/src/com/android/settingslib/bluetooth/CsipSetCoordinatorProfile.java index 6da249c2980ec..c3f845ca8c0a8 100644 --- a/packages/SettingsLib/src/com/android/settingslib/bluetooth/CsipSetCoordinatorProfile.java +++ b/packages/SettingsLib/src/com/android/settingslib/bluetooth/CsipSetCoordinatorProfile.java @@ -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()");