From c051955392840cb94bd6f0b2a8107a48d2ffc8b0 Mon Sep 17 00:00:00 2001 From: Scott Kennedy Date: Wed, 11 Feb 2015 15:33:10 -0800 Subject: Mark findViewById(int) @Nullable Change-Id: I9bf7c08a896bd9c28400ff832179abc579fd502f --- core/java/android/app/Dialog.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/java/android/app/Dialog.java') diff --git a/core/java/android/app/Dialog.java b/core/java/android/app/Dialog.java index 70e6e5a21086..a3662b2afabe 100644 --- a/core/java/android/app/Dialog.java +++ b/core/java/android/app/Dialog.java @@ -18,6 +18,7 @@ package android.app; import com.android.internal.app.WindowDecorActionBar; +import android.annotation.Nullable; import android.content.ComponentName; import android.content.Context; import android.content.ContextWrapper; @@ -476,6 +477,7 @@ public class Dialog implements DialogInterface, Window.Callback, * @param id the identifier of the view to find * @return The view with the given id or null. */ + @Nullable public View findViewById(int id) { return mWindow.findViewById(id); } -- cgit v1.2.3