Skip to content

Commit

Permalink
[Adaptive] [Side Sheet] Add @RestrictTo annotations to restrict Sheet…
Browse files Browse the repository at this point in the history
…Edge annotation interface.

PiperOrigin-RevId: 492269491
  • Loading branch information
afohrman authored and leticiarossi committed Dec 1, 2022
1 parent 695fb4a commit 6476acd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/java/com/google/android/material/sidesheet/Sheet.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ public interface Sheet {
/** The sheet is based on the right edge; it slides from the right edge towards the left. */
int RIGHT = 0;

/** The edge of the screen that a sheet slides out of. */
/**
* The edge of the screen that a sheet slides out of.
*
* @hide
*/
@RestrictTo(LIBRARY_GROUP)
@IntDef({RIGHT})
@Retention(RetentionPolicy.SOURCE)
@interface SheetEdge {}
Expand Down

0 comments on commit 6476acd

Please sign in to comment.