Skip to content

Commit e6cb937

Browse files
ldjcmuafohrman
authored andcommitted
Remove MaterialDatePicker testing tags from the public scope in favor of package scope.
PiperOrigin-RevId: 267009956
1 parent 72d54c6 commit e6cb937

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

lib/java/com/google/android/material/datepicker/MaterialDatePicker.java

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
import androidx.annotation.Nullable;
3434
import androidx.annotation.StringRes;
3535
import androidx.annotation.StyleRes;
36-
import androidx.annotation.VisibleForTesting;
3736
import com.google.android.material.shape.MaterialShapeDrawable;
3837
import androidx.fragment.app.DialogFragment;
3938
import 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() {

0 commit comments

Comments
 (0)