Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<uses-sdk
android:minSdkVersion="21"
android:targetSdkVersion="33"/>
android:targetSdkVersion="34"/>
<uses-permission android:name="android.permission.INTERNET"/>
<application>
<uses-library android:name="android.test.runner"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import static org.mockito.Mockito.verifyNoInteractions;
import static org.robolectric.Shadows.shadowOf;

import android.annotation.SuppressLint;
import android.app.Application;
import android.content.BroadcastReceiver;
import android.content.Context;
Expand Down Expand Up @@ -65,6 +66,7 @@ public class FirebaseInstanceIdWithFcmReceiverRoboTest {
@Captor private ArgumentCaptor<Intent> intentCaptor;

@Before
@SuppressLint("UnspecifiedRegisterReceiverFlag")
public void setUp() {
MockitoAnnotations.initMocks(this);
context = ApplicationProvider.getApplicationContext();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ private synchronized void removeDownloadTaskInstance(long downloadId) {
this.receiverMaps.remove(downloadId);
}

@SuppressLint("WrongConstant")
@SuppressLint({"WrongConstant", "UnspecifiedRegisterReceiverFlag"})
private Task<Void> registerReceiverForDownloadId(long downloadId, String modelName) {
BroadcastReceiver broadcastReceiver = getReceiverInstance(downloadId, modelName);
// It is okay to always register here. Since the broadcast receiver is the same via the lookup
Expand Down
2 changes: 1 addition & 1 deletion sdkProperties.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

ext {
targetSdkVersion = 33
targetSdkVersion = 34
compileSdkVersion = 34
minSdkVersion = 21
}
Loading