File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
lib/java/com/google/android/material/datepicker Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 3333import androidx .annotation .Nullable ;
3434import androidx .annotation .StringRes ;
3535import androidx .annotation .StyleRes ;
36- import androidx .annotation .VisibleForTesting ;
3736import com .google .android .material .shape .MaterialShapeDrawable ;
3837import androidx .fragment .app .DialogFragment ;
3938import androidx .fragment .app .FragmentTransaction ;
@@ -61,11 +60,9 @@ public final class MaterialDatePicker<S> extends DialogFragment {
6160 private static final String CALENDAR_CONSTRAINTS_KEY = "CALENDAR_CONSTRAINTS_KEY" ;
6261 private static final String TITLE_TEXT_RES_ID_KEY = "TITLE_TEXT_RES_ID_KEY" ;
6362
64- @ VisibleForTesting public static final Object CONFIRM_BUTTON_TAG = "CONFIRM_BUTTON_TAG" ;
65-
66- @ VisibleForTesting public static final Object CANCEL_BUTTON_TAG = "CANCEL_BUTTON_TAG" ;
67-
68- @ VisibleForTesting public static final Object TOGGLE_BUTTON_TAG = "TOGGLE_BUTTON_TAG" ;
63+ static final Object CONFIRM_BUTTON_TAG = "CONFIRM_BUTTON_TAG" ;
64+ static final Object CANCEL_BUTTON_TAG = "CANCEL_BUTTON_TAG" ;
65+ static final Object TOGGLE_BUTTON_TAG = "TOGGLE_BUTTON_TAG" ;
6966
7067 /**
7168 * Returns the text to display at the top of the {@link DialogFragment}
@@ -268,8 +265,8 @@ public final void onDismiss(@NonNull DialogInterface dialogInterface) {
268265 }
269266
270267 /**
271- * Returns a {@link S} instance representing the selection or null if the user has not confirmed a
272- * selection.
268+ * Returns an {@code S} instance representing the selection or null if the user has not confirmed
269+ * a selection.
273270 */
274271 @ Nullable
275272 public final S getSelection () {
You can’t perform that action at this time.
0 commit comments