Skip to content

Commit

Permalink
[Adaptive] [Side Sheet] Made SheetDialog abstract base class and Shee…
Browse files Browse the repository at this point in the history
…t interface package-private.

PiperOrigin-RevId: 492534084
(cherry picked from commit 0f9c6fc)
  • Loading branch information
afohrman authored and dsn5ft committed Dec 9, 2022
1 parent 73c47c2 commit 0c35d1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
3 changes: 1 addition & 2 deletions lib/java/com/google/android/material/sidesheet/Sheet.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
* Interface for sheet constants and {@code IntDefs} to be shared between the different {@link
* Sheet} implementations.
*/
public interface Sheet {

interface Sheet {
/** The sheet is dragging. */
int STATE_DRAGGING = 1;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import com.google.android.material.R;

import static androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP;

import android.content.Context;
import android.content.res.TypedArray;
Expand All @@ -37,7 +36,6 @@
import androidx.annotation.LayoutRes;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RestrictTo;
import androidx.annotation.StyleRes;
import androidx.coordinatorlayout.widget.CoordinatorLayout;
import androidx.core.view.AccessibilityDelegateCompat;
Expand All @@ -48,11 +46,8 @@
/**
* Base class for {@link android.app.Dialog}s styled as a sheet, to be used by sheet dialog
* implementations such as side sheets and bottom sheets.
*
* @hide For internal use only.
*/
@RestrictTo(LIBRARY_GROUP)
public abstract class SheetDialog extends AppCompatDialog {
abstract class SheetDialog extends AppCompatDialog {

private static final int COORDINATOR_LAYOUT_ID = R.id.coordinator;
private static final int TOUCH_OUTSIDE_ID = R.id.touch_outside;
Expand Down

0 comments on commit 0c35d1d

Please sign in to comment.