Remove DEFAULT_PADDING from public API
Bug: 223599927
Test: N/A
Relnote: "Removed DEFAULT_PADDING from ProgressIndicatorDefaults."
Change-Id: Idabcda9d0ea686444124d29c897eaa405f9e1c96
diff --git a/wear/tiles/tiles-material/api/current.txt b/wear/tiles/tiles-material/api/current.txt
index a8ed27f..c9f8484 100644
--- a/wear/tiles/tiles-material/api/current.txt
+++ b/wear/tiles/tiles-material/api/current.txt
@@ -140,7 +140,6 @@
public class ProgressIndicatorDefaults {
field public static final androidx.wear.tiles.material.ProgressIndicatorColors DEFAULT_COLOR;
- field public static final androidx.wear.tiles.DimensionBuilders.DpProp DEFAULT_PADDING;
field public static final androidx.wear.tiles.DimensionBuilders.DpProp DEFAULT_STROKE_WIDTH;
field public static final float GAP_END_ANGLE = 156.1f;
field public static final float GAP_START_ANGLE = -156.1f;
diff --git a/wear/tiles/tiles-material/api/public_plus_experimental_current.txt b/wear/tiles/tiles-material/api/public_plus_experimental_current.txt
index a8ed27f..c9f8484 100644
--- a/wear/tiles/tiles-material/api/public_plus_experimental_current.txt
+++ b/wear/tiles/tiles-material/api/public_plus_experimental_current.txt
@@ -140,7 +140,6 @@
public class ProgressIndicatorDefaults {
field public static final androidx.wear.tiles.material.ProgressIndicatorColors DEFAULT_COLOR;
- field public static final androidx.wear.tiles.DimensionBuilders.DpProp DEFAULT_PADDING;
field public static final androidx.wear.tiles.DimensionBuilders.DpProp DEFAULT_STROKE_WIDTH;
field public static final float GAP_END_ANGLE = 156.1f;
field public static final float GAP_START_ANGLE = -156.1f;
diff --git a/wear/tiles/tiles-material/api/restricted_current.txt b/wear/tiles/tiles-material/api/restricted_current.txt
index a8ed27f..c9f8484 100644
--- a/wear/tiles/tiles-material/api/restricted_current.txt
+++ b/wear/tiles/tiles-material/api/restricted_current.txt
@@ -140,7 +140,6 @@
public class ProgressIndicatorDefaults {
field public static final androidx.wear.tiles.material.ProgressIndicatorColors DEFAULT_COLOR;
- field public static final androidx.wear.tiles.DimensionBuilders.DpProp DEFAULT_PADDING;
field public static final androidx.wear.tiles.DimensionBuilders.DpProp DEFAULT_STROKE_WIDTH;
field public static final float GAP_END_ANGLE = 156.1f;
field public static final float GAP_START_ANGLE = -156.1f;
diff --git a/wear/tiles/tiles-material/src/main/java/androidx/wear/tiles/material/ProgressIndicatorDefaults.java b/wear/tiles/tiles-material/src/main/java/androidx/wear/tiles/material/ProgressIndicatorDefaults.java
index 6a2a892..1c0c280 100644
--- a/wear/tiles/tiles-material/src/main/java/androidx/wear/tiles/material/ProgressIndicatorDefaults.java
+++ b/wear/tiles/tiles-material/src/main/java/androidx/wear/tiles/material/ProgressIndicatorDefaults.java
@@ -21,6 +21,8 @@
import static androidx.wear.tiles.material.Colors.SURFACE;
import androidx.annotation.NonNull;
+import androidx.annotation.RestrictTo;
+import androidx.annotation.RestrictTo.Scope;
import androidx.wear.tiles.DimensionBuilders.DpProp;
/** Contains the default values used by {@link CircularProgressIndicator} Tiles components. */
@@ -30,8 +32,14 @@
/** The default stroke width for {@link CircularProgressIndicator} */
@NonNull public static final DpProp DEFAULT_STROKE_WIDTH = dp(8);
- /** The default padding for {@link CircularProgressIndicator} */
- @NonNull public static final DpProp DEFAULT_PADDING = dp(6);
+ /**
+ * The default padding for {@link CircularProgressIndicator}
+ *
+ * @hide
+ */
+ @RestrictTo(Scope.LIBRARY_GROUP)
+ @NonNull
+ public static final DpProp DEFAULT_PADDING = dp(6);
/** The recommended colors for {@link CircularProgressIndicator}. */
@NonNull