Move Nearby flags to common and add specify it in java_sdk_library
Bug: 324993608 Test: TH Change-Id: I1dc79353e9bae3d977db88e572e871cd459fc7fc
This commit is contained in:
parent
0ea00dd7c8
commit
259be7bd4e
3 changed files with 9 additions and 0 deletions
|
|
@ -21,3 +21,11 @@ aconfig_declarations {
|
|||
srcs: ["flags.aconfig"],
|
||||
visibility: ["//packages/modules/Connectivity:__subpackages__"],
|
||||
}
|
||||
|
||||
aconfig_declarations {
|
||||
name: "nearby_flags",
|
||||
package: "com.android.nearby.flags",
|
||||
container: "system",
|
||||
srcs: ["nearby_flags.aconfig"],
|
||||
visibility: ["//packages/modules/Connectivity:__subpackages__"],
|
||||
}
|
||||
|
|
|
|||
9
common/nearby_flags.aconfig
Normal file
9
common/nearby_flags.aconfig
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
package: "com.android.nearby.flags"
|
||||
container: "system"
|
||||
|
||||
flag {
|
||||
name: "powered_off_finding"
|
||||
namespace: "nearby"
|
||||
description: "Controls whether the Powered Off Finding feature is enabled"
|
||||
bug: "307898240"
|
||||
}
|
||||
|
|
@ -197,6 +197,7 @@ java_sdk_library {
|
|||
],
|
||||
aconfig_declarations: [
|
||||
"com.android.net.flags-aconfig",
|
||||
"nearby_flags",
|
||||
],
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue