summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chris Weir <chrisweir@google.com> 2024-10-04 09:51:01 -0700
committer Chris Weir <chrisweir@google.com> 2024-10-07 12:24:55 -0700
commitef459b3c34c5c6de276b2d0c5f31d1c1061a8e3c (patch)
tree5f7fe1f9e18ce4b6912c17231534b394fc69b6e3
parent5b497cdcadf7a74e6f1c9229202eda4b760e379c (diff)
Add flags for sap disconnect
Need to add flags and cc lib so we can flag the AIDL impl. Flag: com.android.wifi.flags.softap_disconnect_reason Bug: 361651437 Test: it builds and the flag is populated Change-Id: Iaab038cd263b07075544bafce2a24134dd138e81
-rw-r--r--flags/Android.bp5
-rw-r--r--flags/wifi_flags.aconfig11
2 files changed, 15 insertions, 1 deletions
diff --git a/flags/Android.bp b/flags/Android.bp
index 3170e05903..773a16df6e 100644
--- a/flags/Android.bp
+++ b/flags/Android.bp
@@ -54,3 +54,8 @@ java_defaults {
"aconfig_storage_reader_java",
],
}
+
+cc_aconfig_library {
+ name: "wifi_aconfig_flags_c_lib",
+ aconfig_declarations: "wifi_aconfig_flags",
+}
diff --git a/flags/wifi_flags.aconfig b/flags/wifi_flags.aconfig
index 30f50d9b2c..4bc9941cb2 100644
--- a/flags/wifi_flags.aconfig
+++ b/flags/wifi_flags.aconfig
@@ -178,4 +178,13 @@ flag {
namespace: "wifi"
description: "Gate WiFi Scorer new stats collection"
bug: "367362809"
-} \ No newline at end of file
+}
+
+flag {
+ name: "softap_disconnect_reason"
+ is_exported: true
+ namespace: "wifi"
+ description: "Add SoftAP disconnect reason code"
+ bug: "361651437"
+ is_fixed_read_only: true
+}