• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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{{ -if single_exported_file }}
7{{ -if library_exported }}
8/**
9 * @deprecated Use \{@link ExportedFlags} instead.
10 */
11@Deprecated {#- PREFER ExportedFlags #}
12{{ -endif }}
13{{ -else }}
14/** @hide */
15{{ -endif }}
16public interface FeatureFlags \{
17{{ for item in flag_elements }}
18{{ -if not item.is_read_write }}
19{{ -if item.default_value }}
20    @com.android.aconfig.annotations.AssumeTrueForR8
21{{ -else }}
22    @com.android.aconfig.annotations.AssumeFalseForR8
23{{ -endif- }}
24{{ -endif }}
25{{ -if not library_exported }}
26    @com.android.aconfig.annotations.AconfigFlagAccessor
27    @UnsupportedAppUsage
28{{ -endif }}
29    boolean {item.method_name}();
30{{ -endfor }}
31}
32