| Index: ui/android/java/src/org/chromium/ui/UiUtils.java
|
| diff --git a/ui/android/java/src/org/chromium/ui/UiUtils.java b/ui/android/java/src/org/chromium/ui/UiUtils.java
|
| index cfe14eddbe64912f80736c10477cf2ebeafcdf3c..279ff70bbab214d332b9ccbb44896f2937167936 100644
|
| --- a/ui/android/java/src/org/chromium/ui/UiUtils.java
|
| +++ b/ui/android/java/src/org/chromium/ui/UiUtils.java
|
| @@ -103,6 +103,13 @@ public class UiUtils {
|
| }
|
|
|
| /**
|
| + * Returns whether a photo picker should be called.
|
| + */
|
| + public static boolean shouldShowPhotoPicker() {
|
| + return sPhotoPickerDelegate != null;
|
| + }
|
| +
|
| + /**
|
| * Called to display the photo picker.
|
| * @param context The context to use.
|
| * @param listener The listener that will be notified of the action the user took in the
|
|
|