Loading core/java/android/app/smartspace/SmartspaceAction.java +3 −1 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package android.app.smartspace; import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.SuppressLint; import android.annotation.SystemApi; import android.app.PendingIntent; import android.content.Intent; Loading Loading @@ -171,6 +172,7 @@ public final class SmartspaceAction implements Parcelable { /** * Returns the extra bundle for this object. */ @SuppressLint("NullableCollection") public @Nullable Bundle getExtras() { return mExtras; } Loading Loading @@ -334,7 +336,7 @@ public final class SmartspaceAction implements Parcelable { * Sets the extra. */ @NonNull public Builder setExtras(@Nullable Bundle extras) { public Builder setExtras(@SuppressLint("NullableCollection") @Nullable Bundle extras) { mExtras = extras; return this; } Loading core/java/android/app/smartspace/SmartspaceConfig.java +3 −1 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package android.app.smartspace; import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.SuppressLint; import android.annotation.SystemApi; import android.content.Context; import android.os.Bundle; Loading Loading @@ -98,6 +99,7 @@ public final class SmartspaceConfig implements Parcelable { } @Nullable @SuppressLint("NullableCollection") public Bundle getExtras() { return mExtras; } Loading Loading @@ -186,7 +188,7 @@ public final class SmartspaceConfig implements Parcelable { * Used to send a bundle containing extras for the {@link SmartspaceConfig}. */ @NonNull public Builder setExtras(@NonNull Bundle extras) { public Builder setExtras(@SuppressLint("NullableCollection") @NonNull Bundle extras) { this.mExtras = extras; return this; } Loading Loading
core/java/android/app/smartspace/SmartspaceAction.java +3 −1 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package android.app.smartspace; import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.SuppressLint; import android.annotation.SystemApi; import android.app.PendingIntent; import android.content.Intent; Loading Loading @@ -171,6 +172,7 @@ public final class SmartspaceAction implements Parcelable { /** * Returns the extra bundle for this object. */ @SuppressLint("NullableCollection") public @Nullable Bundle getExtras() { return mExtras; } Loading Loading @@ -334,7 +336,7 @@ public final class SmartspaceAction implements Parcelable { * Sets the extra. */ @NonNull public Builder setExtras(@Nullable Bundle extras) { public Builder setExtras(@SuppressLint("NullableCollection") @Nullable Bundle extras) { mExtras = extras; return this; } Loading
core/java/android/app/smartspace/SmartspaceConfig.java +3 −1 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package android.app.smartspace; import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.SuppressLint; import android.annotation.SystemApi; import android.content.Context; import android.os.Bundle; Loading Loading @@ -98,6 +99,7 @@ public final class SmartspaceConfig implements Parcelable { } @Nullable @SuppressLint("NullableCollection") public Bundle getExtras() { return mExtras; } Loading Loading @@ -186,7 +188,7 @@ public final class SmartspaceConfig implements Parcelable { * Used to send a bundle containing extras for the {@link SmartspaceConfig}. */ @NonNull public Builder setExtras(@NonNull Bundle extras) { public Builder setExtras(@SuppressLint("NullableCollection") @NonNull Bundle extras) { this.mExtras = extras; return this; } Loading