Skip to content

Commit d6ee0d2

Browse files
davidmotsonDavid Motsonashvilirlazo
authored
update targetSDK to 34 (#6150)
Co-authored-by: David Motsonashvili <davidmotson@google.com> Co-authored-by: Rodrigo Lazo <rlazo@users.noreply.github.com>
1 parent b1b107f commit d6ee0d2

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

firebase-inappmessaging/src/androidTest/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<uses-sdk
55
android:minSdkVersion="21"
6-
android:targetSdkVersion="33"/>
6+
android:targetSdkVersion="34"/>
77
<uses-permission android:name="android.permission.INTERNET"/>
88
<application>
99
<uses-library android:name="android.test.runner"/>

firebase-messaging/src/test/java/com/google/firebase/iid/FirebaseInstanceIdWithFcmReceiverRoboTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import static org.mockito.Mockito.verifyNoInteractions;
2222
import static org.robolectric.Shadows.shadowOf;
2323

24+
import android.annotation.SuppressLint;
2425
import android.app.Application;
2526
import android.content.BroadcastReceiver;
2627
import android.content.Context;
@@ -65,6 +66,7 @@ public class FirebaseInstanceIdWithFcmReceiverRoboTest {
6566
@Captor private ArgumentCaptor<Intent> intentCaptor;
6667

6768
@Before
69+
@SuppressLint("UnspecifiedRegisterReceiverFlag")
6870
public void setUp() {
6971
MockitoAnnotations.initMocks(this);
7072
context = ApplicationProvider.getApplicationContext();

firebase-ml-modeldownloader/src/main/java/com/google/firebase/ml/modeldownloader/internal/ModelFileDownloadService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ private synchronized void removeDownloadTaskInstance(long downloadId) {
209209
this.receiverMaps.remove(downloadId);
210210
}
211211

212-
@SuppressLint("WrongConstant")
212+
@SuppressLint({"WrongConstant", "UnspecifiedRegisterReceiverFlag"})
213213
private Task<Void> registerReceiverForDownloadId(long downloadId, String modelName) {
214214
BroadcastReceiver broadcastReceiver = getReceiverInstance(downloadId, modelName);
215215
// It is okay to always register here. Since the broadcast receiver is the same via the lookup

sdkProperties.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// limitations under the License.
1414

1515
ext {
16-
targetSdkVersion = 33
16+
targetSdkVersion = 34
1717
compileSdkVersion = 34
1818
minSdkVersion = 21
1919
}

0 commit comments

Comments
 (0)