Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
Remove some accidentally made public interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Redth committed Feb 23, 2018
1 parent 1fdd2df commit 40d1580
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions wear/source/Transforms/Metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@

<attr path="/api/package[@name='android.support.wear.widget']/class[@name='SwipeDismissLayout']" name="visibility">public</attr>

<!-- Making SwipeDismissLayout public made some private interfaces public which is always bad, so remove them -->
<remove-node path="/api/package[@name='android.support.wear.widget']/interface[@name='SwipeDismissLayout.OnDismissedListener']" />
<remove-node path="/api/package[@name='android.support.wear.widget']/interface[@name='SwipeDismissLayout.OnPreSwipeListener']" />
<remove-node path="/api/package[@name='android.support.wear.widget']/interface[@name='SwipeDismissLayout.OnSwipeProgressChangedListener']" />

</metadata>

0 comments on commit 40d1580

Please sign in to comment.