Add Lint.IfChange/ThenChange for repeat modes
PiperOrigin-RevId: 222630411
This commit is contained in:
parent
ea8696d820
commit
1216068255
@ -26,6 +26,7 @@ import java.lang.annotation.RetentionPolicy;
|
|||||||
*/
|
*/
|
||||||
public final class RepeatModeUtil {
|
public final class RepeatModeUtil {
|
||||||
|
|
||||||
|
// LINT.IfChange
|
||||||
/**
|
/**
|
||||||
* Set of repeat toggle modes. Can be combined using bit-wise operations. Possible flag values are
|
* Set of repeat toggle modes. Can be combined using bit-wise operations. Possible flag values are
|
||||||
* {@link #REPEAT_TOGGLE_MODE_NONE}, {@link #REPEAT_TOGGLE_MODE_ONE} and {@link
|
* {@link #REPEAT_TOGGLE_MODE_NONE}, {@link #REPEAT_TOGGLE_MODE_ONE} and {@link
|
||||||
@ -47,6 +48,7 @@ public final class RepeatModeUtil {
|
|||||||
public static final int REPEAT_TOGGLE_MODE_ONE = 1;
|
public static final int REPEAT_TOGGLE_MODE_ONE = 1;
|
||||||
/** "Repeat All" button enabled. */
|
/** "Repeat All" button enabled. */
|
||||||
public static final int REPEAT_TOGGLE_MODE_ALL = 1 << 1; // 2
|
public static final int REPEAT_TOGGLE_MODE_ALL = 1 << 1; // 2
|
||||||
|
// LINT.ThenChange(../../../../../../../../../ui/src/main/res/values/attrs.xml)
|
||||||
|
|
||||||
private RepeatModeUtil() {
|
private RepeatModeUtil() {
|
||||||
// Prevent instantiation.
|
// Prevent instantiation.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user