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
(cherry picked from commit 6476acd)
  • Loading branch information
afohrman authored and dsn5ft committed Dec 9, 2022
1 parent c440d86 commit e6ca949
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 e6ca949

Please sign in to comment.