summaryrefslogtreecommitdiff
path: root/core/java/android/app/Dialog.java
diff options
context:
space:
mode:
authorScott Kennedy <skennedy@google.com>2015-02-11 15:33:10 -0800
committerScott Kennedy <skennedy@google.com>2015-02-11 15:33:10 -0800
commitc051955392840cb94bd6f0b2a8107a48d2ffc8b0 (patch)
tree6a8b7599542854ee5a22b78d6454fd7e6c5d8dfd /core/java/android/app/Dialog.java
parente29c45adda7496612dd85e487d2b6917efd3e30e (diff)
Mark findViewById(int) @Nullable
Change-Id: I9bf7c08a896bd9c28400ff832179abc579fd502f
Diffstat (limited to 'core/java/android/app/Dialog.java')
-rw-r--r--core/java/android/app/Dialog.java2
1 files changed, 2 insertions, 0 deletions
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);
}