Before calling a flagged API, client code must check the value of the flag
which gates it. Those flags must be exported in order to be accessible from
containers other than the container where the flag and the API are hosted.
Bug: 320984775
Bug: 322839671
Test: m all_aconfig_declarations
Test: printflags --format='{fully_qualified_name}:{is_exported}' | grep true
Change-Id: I61f18732a5c8a69acb6e645b6bf04b7a08adb513
10 lines
246 B
Text
10 lines
246 B
Text
package: "com.android.net.thread.flags"
|
|
container: "system"
|
|
|
|
flag {
|
|
name: "thread_enabled"
|
|
is_exported: true
|
|
namespace: "thread_network"
|
|
description: "Controls whether the Android Thread feature is enabled"
|
|
bug: "301473012"
|
|
}
|