Merge "Remove @Nullable from primitive/void types."
This commit is contained in:
@@ -3723,7 +3723,6 @@ public class Activity extends ContextThemeWrapper
|
||||
* {@link FragmentManager} instead; this is also
|
||||
* available on older platforms through the Android compatibility package.
|
||||
*/
|
||||
@Nullable
|
||||
@Deprecated
|
||||
public final boolean showDialog(int id, Bundle args) {
|
||||
if (mManagedDialogs == null) {
|
||||
|
||||
@@ -221,7 +221,6 @@ public abstract class CompoundButton extends Button implements Checkable {
|
||||
* @param drawable the drawable to set
|
||||
* @attr ref android.R.styleable#CompoundButton_button
|
||||
*/
|
||||
@Nullable
|
||||
public void setButtonDrawable(@Nullable Drawable drawable) {
|
||||
if (mButtonDrawable != drawable) {
|
||||
if (mButtonDrawable != null) {
|
||||
|
||||
@@ -104,7 +104,6 @@ public class SoundTriggerUtil {
|
||||
* @param modelId The model ID to look-up the sound model for.
|
||||
* @return {@code true} if the call succeeds, {@code false} otherwise.
|
||||
*/
|
||||
@Nullable
|
||||
public boolean deleteSoundModel(UUID modelId) {
|
||||
try {
|
||||
mSoundTriggerService.deleteSoundModel(new ParcelUuid(modelId));
|
||||
|
||||
@@ -139,7 +139,6 @@ public class EnrollmentUtil {
|
||||
* @param keyphraseId The keyphrase ID to look-up the sound model for.
|
||||
* @return {@code true} if the call succeeds, {@code false} otherwise.
|
||||
*/
|
||||
@Nullable
|
||||
public boolean deleteSoundModel(int keyphraseId, String bcp47Locale) {
|
||||
if (keyphraseId <= 0) {
|
||||
Log.e(TAG, "Keyphrase must have a valid ID");
|
||||
|
||||
Reference in New Issue
Block a user