Don't show quick settings tooltip if the user is in the Setup Wizard,

since the user can't access the Quick Settings Panel.

Bug: 294560581
Test: manual
- Turn on feature flag: adb shell device_config put accessibility com.android.settings.accessibility.remove_qs_tooltip_in_suw true
- Modify the font scale in SUW, verify the QS tooltip doesn't show up
- Modify the font scale after SUW, verify the QS tooltip shows up
Test: atest SettingsRoboTests:com.android.settings.accessibility

Change-Id: I1d1a4f8f70ea3e1d929952d5c273de1b4cd80503
This commit is contained in:
Chun-Ku Lin
2023-11-10 20:43:58 +00:00
parent 24c989a070
commit 0f2cc34230
9 changed files with 100 additions and 6 deletions

View File

@@ -35,4 +35,15 @@ aconfig_declarations {
java_aconfig_library {
name: "MediaDrmSettingsFlagsLib",
aconfig_declarations: "media_drm_flags",
}
}
aconfig_declarations {
name: "accessibility_flags",
package: "com.android.settings.accessibility",
srcs: ["accessibility/*.aconfig"],
}
java_aconfig_library {
name: "accessibility_settings_flags_lib",
aconfig_declarations: "accessibility_flags",
}

View File

@@ -0,0 +1 @@
include /src/com/android/settings/accessibility/OWNERS

View File

@@ -0,0 +1,10 @@
package: "com.android.settings.accessibility"
# NOTE: Keep alphabetized to help limit merge conflicts from multiple simultaneous editors.
flag {
name: "remove_qs_tooltip_in_suw"
namespace: "accessibility"
description: "Don't show quick settings tooltip in SUW, since the user can't use quick settings there."
bug: "294560581"
}

View File

@@ -1,5 +1,8 @@
package: "com.android.settings.flags"
# NOTE: Don't add new accessibility flags here, since the package name doesn't follow
# the best practice for setting's feature flag go/settings-trunk-stable
# NOTE: Keep alphabetized to help limit merge conflicts from multiple simultaneous editors.
# NOTE: All Settings flags share the same Flags class, so prefix our