Commit Graph

28 Commits

Author SHA1 Message Date
Daniel Norman
529090ba5d Merge "Adds 'App info' button on accessibility service + activity pages." into main 2023-10-24 21:23:50 +00:00
Daniel Norman
6616da3b71 Merge "Adds OWNERS for Settings aconfig flags, first for Accessibility." into main 2023-10-24 21:21:09 +00:00
Joshua McCloskey
7526b9259e Created biometric provider.
Test: Manually verified data was fetched successfully.
Test: adb shell device_config put biometrics_framework
com.android.settings.flags.biometric_settings_provider true
Test: atest BiometricSettingsProviderTest
Bug: 303595205

Change-Id: I154754eed7c36d659853ed83cc18a2e446fb7678
2023-10-23 18:50:58 +00:00
Daniel Norman
8946e64f28 Adds 'App info' button on accessibility service + activity pages.
This launches the existing app info page for the a11y feature's owning
package. Features without a valid component (framework features) do not
have this button. This is also not shown in Setup Wizard which does
not support the App Info page.

This helps users find more info about the app that provided an
accessibility feature.

Screenshot: https://screenshot.googleplex.com/B9FXLoomxFjLBv8.png
Flag: accessibility com.android.settings.flags.accessibility_show_app_info_button

Bug: 277378550
Test: atest ToggleFeaturePreferenceFragmentTest (robotest)
Test: Open and interact with the button, ensure it opens the app info
      page for the correct app.
Change-Id: I2041c09077ce5fadc72117dc0c72409dd33ef60b
2023-10-20 21:31:11 +00:00
Faye Yan
540d810107 Merge "Add setting flag for enabling voice activation apps in Special app access." into main 2023-10-20 18:37:40 +00:00
fayey
52cec79f1b Add setting flag for enabling voice activation apps in Special app
access.

Bug: 303727896
Test: presubmit
Change-Id: Ic01d6bb47db6150808483e8a4f42389e71885d62
2023-10-20 00:06:22 +00:00
Daniel Norman
ba4074b369 Adds OWNERS for Settings aconfig flags, first for Accessibility.
This is similar to frameworks/base/packages/SystemUI/aconfig/OWNERS
and allows subteams to add their own namespace's aconfig flags
without needing to bother the core Settings team for review.

Test: n/a
Change-Id: I562f544e744cf2ae3ce75162c9de92dd89bfadc4
2023-10-19 22:54:14 +00:00
Yiyi Shen
f8da70ac94 Add flag for LE audio sharing.
Bug: 305620450
Test: Manual
Change-Id: I61a1653419654eb21f70c583d8929baf6a433dbb
2023-10-19 16:46:14 +08:00
MiltonWu
3550029297 fingerprint pre-enroll calibration
Add calibration interface and dialog

Test: Manually doing enrollment without any exception
Bug: 301226085
Change-Id: Ibe0d205e87f75bb1d5bd1c646deb8501d96a4a5a
2023-10-18 04:25:14 +00:00
Wu Ahan
667341c343 Reland sfps enroll improvement feature with feature provider
Prior cl, ag/24720067, was reverted due to platinum failed,
this cl fixes the fails (NPE on UDFPS).

Bug: 288155127
Bug: 305132251
Test: Manually check on Lynx and Felix
Test: atest BiometricsE2eTests:FingerprintEnrollSuccessTest
Test: abtd for platinum, see b/305048300#comment14
Change-Id: I90f4ea14853edf03abd8ffe0b7874894eb2d4f81
2023-10-16 15:23:18 +00:00
Allen Su
ed4b7e736e Merge "Rename namespace to globalintl" into main 2023-10-13 05:14:33 +00:00
Priyanka Advani
a99bab5b57 Revert "Implement sfps enroll improvement feature with feature provider"
This reverts commit 2ffe187d1b.

Reason for revert: Likely culprit for b/305048300

Change-Id: Ia9d2d98bcb09d63dacde7134c20ded2ed51f9ab4
2023-10-12 19:02:20 +00:00
Allen Su
ff986f338d Rename namespace to globalintl
Bug: 301380610
Bug: 292155080
Test: adb shell device_config put globalintl com.android.settings.flags.locale_notification_enabled true
      adb shell device_config put globalintl com.android.settings.flags.terms_of_address_enabled true
Change-Id: I36d879e0121bd033d2b39189026b8cfe032e9fcf
2023-10-12 16:44:46 +00:00
Wu Ahan
2ffe187d1b Implement sfps enroll improvement feature with feature provider
Bug: 288155127
Test: Manually
Test: atest FingerprintEnrollEnrollingTest.java
Change-Id: Idb6e5afab4b9cbf8f2ed26819a55dcb34acb1ab9
2023-10-11 08:37:44 +00:00
Charlotte Lu
ed5c52f1eb Edit flag namespace to settings_experience
Fix: 304433296

Test: Visual
Change-Id: I9d81e02d130afb5ab0e2344faaf4fb6ef9449b7c
2023-10-10 14:30:36 +08:00
Gil Cukierman
18403f2adc Merge changes from topic "cukie-300248708-hide2gremoval" into main
* changes:
  Stop honoring CarrierConfigManager.KEY_HIDE_ENABLE_2G
  Add feature flag for removal of KEY_HIDE_ENABLE_2G
2023-10-04 20:12:53 +00:00
Treehugger Robot
094a73867c Merge "Fix missing declared accessibility PreferenceControllers." into main 2023-10-03 08:22:02 +00:00
Gil Cukierman
a0b51d6988 Add feature flag for removal of KEY_HIDE_ENABLE_2G
This flag will guard soft removal of the logic to honor
the CarrierConfigManager.KEY_HIDE_ENABLE_2G API.

Bug: 300248708
Test: m Settings
Change-Id: I6a0e94f7208a4f148a3758b327fcd4990175038b
2023-10-02 21:02:11 +00:00
Daniel Norman
35265e838f Fix missing declared accessibility PreferenceControllers.
This includes 3 fixes:

Adds missing settings:controller attribute for bold & high-contrast
text preferences.

Separates VibrationSettings into two fragments, one per fragment XML resource.
  Instead of using a conditional to choose the XML resource ID,
  we now use the conditional to choose which fragment to launch.
  This allows both fragment's preference controllers to be inspected
  by CodeInspectionTest#runSliceControllerInXmlInspection.
  Also updates the preference keys which must be unique per XML in order
  to appear in Settings Search.

Adds Magnification preference controllers to exempt-not-in-XML list.
  These controllers are for fragments that are not declared in an XML.
  See ToggleScreenMagnificationPreferenceFragment
        #getPreferenceScreenResId.

Bug: 289967175
Test: atest SettingsRoboTests:com.android.settings.accessibility
Test: atest CodeInspectionTest#runSliceControllerInXmlInspection;
      Observe no errors in the accessibility package.
Test: Open Settings > Accessibility > Vibration & haptics;
      observe vibration intensity page is shown (behavior unchanged).
      Hardcode config_vibration_supported_intensity_levels=1;
      observe vibration page with toggles is shown (behavior unchanged).
Change-Id: I257b5ad390371bedb1623af6289016b06d478707
2023-10-02 18:00:30 +00:00
Omer Ozer
8d4d286d8f Add feature flags for Factory Reset Wizard.
Bug: 301283840
Test: Manual
Change-Id: I1e0d71003fe8a5fe93de6ee5a8c725b5abafb048
2023-09-29 18:17:18 +00:00
Yiyi Shen
8e51eeecd2 Merge "Update bug id for feature flag." into main 2023-09-21 09:00:37 +00:00
Yiyi Shen
54b31c30ec Update bug id for feature flag.
Bug: 296507968
Bug: 299405720
Test: Manual
Change-Id: I75df8939cc78cd69d672b974ab6787457fa8350a
2023-09-21 15:23:51 +08:00
XingHai Lu
990412f23a Add flag for B&R sound settings
Bug: 278975761
Test: adb shell device_config put onboarding_experience com.android.settings.flags.enable_sound_backup true
Change-Id: Ia774b1d5f3740b4964eb3cb1501ea4779f203956
2023-09-19 14:06:58 +08:00
Charlotte Lu
8ac60b5237 Add flag to change to the new APN page.
Fix: 300203760

Test: Visual
Change-Id: I0f869fb847f0a108487eb84509a736129fe42223
2023-09-13 07:15:35 +00:00
Allen Su
bce9d2a4fb Add LocaleNotificaiton feature flag
Bug: 248514263
Test: adb shell device_config put settings_globalintl com.android.settings.flags.locale_notification_enabled true
Change-Id: Ibfc9b7fb8c39962af1b062feb98d073207887fb9
2023-08-29 07:58:02 +00:00
Zoey Chen
9dc4943e09 [Terms of Address] Create a feature flag for it
Bug: 297798866
Test: adb shell device_config put settings_localepicker com.android.settings.flags.terms_of_address_enabled true
Change-Id: I1d954edfe99bb56fdd69a53ffafe5c8ed2b05da2
2023-08-28 11:52:22 +00:00
Yiyi Shen
27d709ac79 Rename aconfig declarations to a common name.
Bug: 296507968
Test: Manual
Change-Id: I5e5ecb64d593939addcf356cb619c0944326af24
2023-08-28 17:40:15 +08:00
Yiyi Shen
14c611a37c Add flag for Subsequent pair Settings integration
Bug: 296507968
Test: Manual
Change-Id: I87002c4e8143df1e67e3c32eff6d654575b81051
2023-08-28 14:06:30 +08:00