Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ade22d01 authored by Adrian Roos's avatar Adrian Roos
Browse files

API: Suppress existing NullableCollections lints (T edition)

Bug: 152525509
Bug: 163413552
Test: make checkapi
Change-Id: Ie09abcca5c7412c3078baf8840ef7e30e91a5e98
parent 22b07d2d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -2678,7 +2678,8 @@ public final class SmsManager {
     * @throws IllegalArgumentException if contentUri is empty
     */
    public void sendMultimediaMessage(@NonNull Context context, @NonNull Uri contentUri,
            @Nullable String locationUrl, @Nullable Bundle configOverrides,
            @Nullable String locationUrl,
            @SuppressWarnings("NullableCollection") @Nullable Bundle configOverrides,
            @Nullable PendingIntent sentIntent, long messageId) {
        if (contentUri == null) {
            throw new IllegalArgumentException("Uri contentUri null");
@@ -2754,7 +2755,8 @@ public final class SmsManager {
     * @throws IllegalArgumentException if locationUrl or contentUri is empty
     */
    public void downloadMultimediaMessage(@NonNull Context context, @NonNull String locationUrl,
            @NonNull Uri contentUri, @Nullable Bundle configOverrides,
            @NonNull Uri contentUri,
            @SuppressWarnings("NullableCollection") @Nullable Bundle configOverrides,
            @Nullable PendingIntent downloadedIntent, long messageId) {
        if (TextUtils.isEmpty(locationUrl)) {
            throw new IllegalArgumentException("Empty MMS location URL");