1# Keep rules to help Aconfig generated java code 2 3# This rule is used to indicate a method will always return false. 4-assumevalues class * { 5 @com.android.aconfig.annotations.AssumeFalseForR8 boolean *(...) return false; 6} 7 8# This rule is used to indicate a method will always return true. 9-assumevalues class * { 10 @com.android.aconfig.annotations.AssumeTrueForR8 boolean *(...) return true; 11} 12 13# Keep members with @VisibleForTesting annotation. 14-keepclassmembers class * { 15 @com.android.aconfig.annotations.VisibleForTesting <methods>; 16} 17