1package {package_name}; 2{{ if not library_exported- }} 3// TODO(b/303773055): Remove the annotation after access issue is resolved. 4import android.compat.annotation.UnsupportedAppUsage; 5{{ -endif }} 6/** @hide */ 7public interface FeatureFlags \{ 8{{ for item in flag_elements }} 9{{ -if not item.is_read_write }} 10{{ -if item.default_value }} 11 @com.android.aconfig.annotations.AssumeTrueForR8 12{{ -else }} 13 @com.android.aconfig.annotations.AssumeFalseForR8 14{{ -endif- }} 15{{ -endif }} 16{{ -if not library_exported }} 17 @com.android.aconfig.annotations.AconfigFlagAccessor 18 @UnsupportedAppUsage 19{{ -endif }} 20 boolean {item.method_name}(); 21{{ -endfor }} 22}