summaryrefslogtreecommitdiff
path: root/wifi
diff options
context:
space:
mode:
author Gurpreet Singh <gurpreetgs@google.com> 2024-05-08 14:06:07 +0000
committer Gurpreet Singh <gurpreetgs@google.com> 2024-05-08 14:06:07 +0000
commit28493b06879c02415dbd1c2ea77ba412c5e11dfc (patch)
treed4dbbdb20fef1800bec1af9495cc175b8d6c10ee /wifi
parentc70fe157265d8d1ce1f65f730d56283bce1eff43 (diff)
Add a new feature flag in android.net.wifi
Add a new feature flag - "network_provider_battery_charging_status" in android.net.wifi package. It is the same flag which was added in ag/25092320 in the wifi module. framework-minus-apex depends on a flag defined in wifi_aconfig_flags but framework-minus-apex does not depend on the corresponding aconfig java lib wifi_aconfig_flags_lib. Therefore Soong doesn't know about the dependency -> Soong won't tell Metalava about the flag -> Metalava will default to reverting the API to the previous SDK snapshot -> API will not be present in the SDK and docs artifacts. Solution: 1) define a new flag in frameworks/base 2) Work with relteam to ramp it to next ASAP 3) Move NetworkProviderInfo to use this new flag Bug: 339181644 Test: N/A Change-Id: I358638546dc888a41498ec066d548c6612ea4f60
Diffstat (limited to 'wifi')
-rw-r--r--wifi/wifi.aconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/wifi/wifi.aconfig b/wifi/wifi.aconfig
index 3c734bc7e1e3..c5bc0396de34 100644
--- a/wifi/wifi.aconfig
+++ b/wifi/wifi.aconfig
@@ -9,3 +9,11 @@ flag {
bug: "313038031"
is_fixed_read_only: true
}
+
+flag {
+ name: "network_provider_battery_charging_status"
+ is_exported: true
+ namespace: "wifi"
+ description: "Control the API that allows setting / reading the NetworkProviderInfo's battery charging status"
+ bug: "305067231"
+}