Commit Graph

31046 Commits

Author SHA1 Message Date
Bill Yi
3bfaccfa30 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I89885a9e387494001c8ee87b6d00c31e6459fb5c
2024-03-28 17:00:30 -07:00
Bill Yi
3d48c3b26f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3351baeffb02aedabbad0047e00e4e6605b251d6
2024-03-28 16:59:07 -07:00
Bill Yi
183fb8cf25 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2d738922ea5252156c8ec4c674880527a6f5e62a
2024-03-28 16:58:21 -07:00
Hakjun Choi
3c54876db7 Make satellite more info url carrier configurable
guidance url link are vary per each carrier, therefore makes it carrier configurable

Bug: 330948681
Test: manually test whether URL works as intended on pixel with TMO/SKT SIM
Change-Id: I062b1e9267c6edf3289d85dc58f9ab2d9cff64d8
2024-03-28 23:24:14 +00:00
josephpv
7b0b26ec92 Add waiting screen before PS setup completion
At the end of PS setup just before showing the final sucess screen this
change adds a new screen with loading layout which enables profile quiet
mode.
After enabling quiet mode checks if user is stopped before removing the
loading layout screen. Until user is stopped loading screen will be
shown.

Bug: 329042236
Bug: 328393532
Test: Manual verify new delay screen is shown
Change-Id: Iac3fd2f0f5c75a64719fbce32ff4dbfb533322d5
2024-03-28 22:53:46 +00:00
Joseph Vincent
7e3d30c95f Merge "Change Never Option to lock private space after device restart" into main 2024-03-28 22:39:13 +00:00
Becca Hughes
08e15a1c6b Add summary text for settings page
Change-Id: I50761f4bce9d252fc5eca5691747184bafed63c1
Test: manual build & flash
Bug: 322074376
2024-03-28 21:58:13 +00:00
Becca Hughes
02b6139c3c Update title of settings page to reflect updated mocks
https://screenshot.googleplex.com/BUumUJgm8j5Uzxt

Change-Id: I1b8783a34fa7a09f6d112aa477f62cdb785fa9de
Test: ondevice
Bug: 329705806
2024-03-28 21:56:28 +00:00
Joshua McCloskey
a811dd67bd UDFPS Enrollment refactor (2/N)
This commit is focused on UI. The guided enrollment, lottie, text
and progress bar should all be working according to the previous
experience.

Test: atest
Bug: 297082837
Change-Id: I9b414053f5eaf7b2bc164dacdddc96ed44fec6cb
2024-03-28 18:55:32 +00:00
josephpv
d4f5641c55 Change Never Option to lock private space after device restart
Bug: 324208974
Test: atest AutoLockPreferenceControllerTest
Change-Id: Ia45f7f02f407808eaa9a061ae32480c354bdfb74
2024-03-28 11:16:23 +00:00
Jason Chiu
cf13dfd4c6 [Safer intents] Permission controller
To avoid implicit intents, make intents launch explicitly.

Test: build, manual
Bug: 323061508
Change-Id: Ib95b417fc8682f690890fc55f321b4fece2c0369
2024-03-28 17:09:37 +08:00
Jason Chiu
071dfe8691 [Safer intents] Applications
To avoid implicit intents, make intents launch explicitly.

Test: build, robotest
Bug: 323061508
Change-Id: I9bf4eb102550f4afd8d14a6799940d37fc0ab9a7
2024-03-28 04:13:47 +00:00
Andy Wickham
b970322d4c Merge "Allows for system navigation settings to be added dynamically." into 24D1-dev 2024-03-27 23:56:24 +00:00
Becca Hughes
7da4f9e527 Merge "Adjust left margin on button" into main 2024-03-27 19:44:33 +00:00
Joshua Mccloskey
72abca0a95 Merge "UDFPS Enrollment Refactor (1/N)" into main 2024-03-27 19:07:34 +00:00
Kyle Zhang
be7215cc51 Merge "Use new naming for Widevine Developer option." into main 2024-03-27 18:54:40 +00:00
Kuan Wang
0c85e4bca9 Add unique job id for the service to enable power monitor receiver.
Test: atest BootBroadcastReceiverTest
Bug: 328860438
Change-Id: I5e79f8da90097b1a404e96f5112c6884fc3beba1
2024-03-27 14:49:31 +00:00
Neil Fuller
6ed3743755 Merge "UI changes to support time feedback" into main 2024-03-27 13:25:57 +00:00
Jason Chiu
37f992aecc [Safer intents] Define package names in Settings
Test: build
Bug: 323061508
Change-Id: I9838a1f5ab2c72db501375b73dd7f676e13239f6
2024-03-27 18:03:52 +08:00
Jason Chiu
2dc76ee9fe [Safer intents] Device info
To avoid implicit intents, make intents launch explicitly.

Bug: 323061508
Test: build
Change-Id: I053372e15f6353578b7646e17f0a8205728945be
2024-03-27 17:51:59 +08:00
Josh Hou
544fed5291 Merge "Aggregation checkbox and locale text" into main 2024-03-27 09:20:05 +00:00
Jason Chiu
1908551cc2 Merge "[Safer intents] System" into main 2024-03-27 02:02:26 +00:00
Varun Shah
517bc0c8db Merge "Hide the Perform Backup Tasks Settings page." into main 2024-03-26 23:07:42 +00:00
Becca Hughes
63df5fd306 Adjust left margin on button
The left margin on the button is not quite
aligned with the text so this adjusts it so
it is aligned.

https://screenshot.googleplex.com/Bxjuc3LHCTw7TYD

Bug: 327491503
Change-Id: I16e9ddfa3b2b0648a4dc04a2bbfdf164d6c30a33
Test: flash bluejay
2024-03-26 20:55:07 +00:00
Marcus Ge
660defe7a6 Merge changes I60d2b23a,I7cb15a46 into main
* changes:
  [Accessibility] Color Contrast address talkback bugs
  [Accessibility] Color Contrast address UX bugs
2024-03-26 20:26:10 +00:00
Faye Yan
d3584a02f5 Merge "UX updates in Settings for unrestricting permissions." into main 2024-03-26 19:16:52 +00:00
marcusge
9ec6673b3f [Accessibility] Color Contrast address talkback bugs
Test: local raven device
Bug: 329352987
Bug: 329192396
Bug: 329187057
Flag: aconfig
com.android.settings.accessibility.enable_color_contrast_control

Change-Id: I60d2b23acb2e406db15f348ba7881577e55a8868
2024-03-26 19:08:42 +00:00
Joseph Vincent
f58eeaaf15 Merge "Change icon for Private Space unlocked and setup success toast" into main 2024-03-26 19:04:11 +00:00
Joshua McCloskey
199d75b332 UDFPS Enrollment Refactor (1/N)
This CL creates a few necessary components that are needed to create the
UI

Test: adb shell device_config put biometrics_framework com.android.settings.flags.fingerprint_v2_enrollment true
Bug: 297082837

Change-Id: I17c4f65fdeac4ebf3c19ba69f5928787b5ace52e
2024-03-26 18:13:54 +00:00
Angela Wang
85f933f056 Fix button insufficient contrast ratio problem
Apply textColorSecondary as the tint color for the arrow icon to prevent
insufficient contrast ration problem under light theme.

Bug: 331139289
Test: manually check the UI
Change-Id: I010a6129cdd7bf11840421abc5f53156433b6708
2024-03-26 13:23:10 +00:00
Faye Yan
ff6c0b3fcb UX updates in Settings for unrestricting permissions.
Bug: 331266942
Test: presubmit
Change-Id: I4fba9f8e75a61d59c07a371581dc6f8fa10795e1
2024-03-26 09:14:07 +00:00
Jason Chiu
c53a73ef70 [Safer intents] Connectivity
To avoid implicit intents, make intents launch explicitly.

Bug: 323061508
Test: build
Change-Id: I44ff8a789d933f11ba7e68e52055575245276224
2024-03-26 16:44:48 +08:00
Chaohui Wang
ecd71a6300 APN label for radio button
Fix: 330808298
Test: manual - with APNs
Change-Id: Ic5b8d7cb1369deda0ec5f89b621c972c97819664
2024-03-26 13:34:30 +08:00
Roy Chou
1c898252cb fix(magnification): make always on toggle unavailable when capabilities is window only
As b/328787031, we make the MagnificationAlwaysOnPreferenceController observe the magnification capabilities then update the preference enabled state. Therefore, when changing the capabilities to window mode only, the preference will become unavailable.

We use the bug-fix flag to verify the fix with rollout process.

Bug: 328787031
Flag: ACONFIG com.android.settings.accessibility.hide_magnification_always_on_toggle_when_window_mode_only DEVELOPMENT
Test: manually flip the flag
      atest MagnificationCapabilitiesTest
      atest ToggleScreenMagnificationPreferenceFragmentTest
      atest MagnificationAlwaysOnPreferenceControllerTest
Change-Id: I1a25f80131d84ecdd927030e40a18ebb32b7862f
2024-03-26 05:11:06 +00:00
SongFerng Wang
bf210b9834 Merge "Replace the bottomsheet with dialog" into main 2024-03-26 03:50:09 +00:00
Haijie Hong
f5d8f4afa9 Merge "Disable media output switcher in Settings when audio sharing" into main 2024-03-26 03:23:51 +00:00
Josh Hou
3c38a12347 Aggregation checkbox and locale text
Refer to other settings with the checkbox to read the checkbox and corresponding text together, such as "Erase SIMs" or "Show password" in WiFi settings.

Bug: 288223637
Bug: 317927064
Test: Perform some accessibility test like TalkBack and Select to Speak
Change-Id: I571fe3f2f8d7b6b4f4c7b5804d0217a2a2b97757
2024-03-26 03:19:19 +00:00
Varun Shah
a5593de4c5 Hide the Perform Backup Tasks Settings page.
Since we are now hiding the new RUN_BACKUP_JOBS permission, hide the
associated special app access page in Settings.

Bug: 331272951
Test: BackupTasksAppsPreferenceControllerTest
Test: visual (Settings pages)
Change-Id: I875b286798f48ee4e94d5e37c1b21bb84acf390d
2024-03-26 02:43:30 +00:00
Angela Wang
53985e6307 Merge "Enable the hyphenation in pin confirm dialog" into main 2024-03-26 00:57:21 +00:00
Chun-Ku Lin
257ac13217 Merge "Update a11y edit shortcut screen's text and tutorial text" into main 2024-03-26 00:47:51 +00:00
Chaohui Wang
fbaa520e43 Merge "Set Default APN radio button's size to 48dp" into main 2024-03-25 23:48:37 +00:00
Chun-Ku Lin
3aee92e2e8 Update a11y edit shortcut screen's text and tutorial text
Bug: 323792194

Test: manual
Test: atest com.android.settings.accessibility
Test: atest com.android.settings.accessibility.shortcuts

Flag: N/A simple string changes

NO_IFTTT=Introduce new IfThisThenThat lint

Change-Id: I7ba4096d669453c33257880407e85ffe76d358f8
2024-03-25 22:19:10 +00:00
Kyle Zhang
fc21e32cb3 Use new naming for Widevine Developer option.
Bug: 301669353
Change-Id: Idf9802fc6bbffdc81c9c0fa3527dc3eb7efbf2a1
2024-03-25 22:04:51 +00:00
Neil Fuller
43ded696dd UI changes to support time feedback
The feature is behind a release flag. It is also behind an experiment
flag so it can be trialed with Googlers before general release even
after being enabled in a release.

The feedback button only shows up if there is an intent URI configured,
which should be handled via an overlay. The design means that the intent
is potentially dependent on the manufacturer (good!), though I expect we
will suggest a standard one for GMS devices so we get feedback from a
variety of devices with different form factors / capabilities.
In this default, GMS core (Google Play Services) will handle the intent
and take the user through a feedback UI flow.

Testing:

To enable the button you need to build with one of release variants that
supports dynamic flags, e.g. trunk_food.

Then release flag:
$ adb shell device_config put location com.android.settings.flags.datetime_feedback true

It still won't work without the experiment flag:
$ adb shell device_config put settings_ui time_help_and_feedback_feature_supported true

Finally, the settings entry will launch an intent when pressed which has
to have a receiver. The receiver will be in GMS core but will be subject
to its own review / launch process. Until then, this feature will remain
quiet, biding its time.

Bug: 283239837
Test: Manual (see above)
Test: atest SettingsRoboTests:com.android.settings.datetime
Change-Id: I68798798fc0a47ae4c6755174ce509fbaee24142
2024-03-25 19:00:47 +00:00
marcusge
05f42b52da [Accessibility] Color Contrast address UX bugs
Reformatted xml files and added constraints to make sure texts do not go
out of bound.

Test: local raven device
Screenshot: attached on bug
Bug: 329176991, 329169251
Flag: aconfig
com.android.settings.accessibility.enable_color_contrast_control

Change-Id: I7cb15a46557f54833c77fe41928fb6e98d5ec519
2024-03-25 17:57:28 +00:00
Hakjun Choi
6263205fa8 Fix the Settings to align with the requirements in PRD am: ec735999b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26691418

Change-Id: I5b92e67cb046e97bc5d70e08c6845bddab4ac462
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-25 17:56:24 +00:00
josephpv
4cc915ad64 Change icon for Private Space unlocked and setup success toast
Change is made to show customised icon in Toast message shown by using
Toast.makeCustomToastWithIcon()

Screenshots :
go/ss/AcaRQUJQfh79wDw.png
go/ss/5j4oD8xydwX7HTX.png

Bug: 329391204
Bug: 309575523
Test: Manual
Change-Id: I336d7d0419b1de60024e584e943a725662b446a9
2024-03-25 16:53:46 +00:00
Chaohui Wang
1ea5a786e2 Set Default APN radio button's size to 48dp
Which is the minimum tap size.

Also set ApnPreference not selectable, since itspPrimary target and
radio button could be selectable, but entire preference itself is not
selectable.

Fix: 330812055
Fix: 330290274
Test: manual - with APNs
Change-Id: I651642e8a275932be6b8bcb365198e5dc1ad92f8
2024-03-25 12:23:33 +00:00
songferngwang
0dbe979994 Replace the bottomsheet with dialog
using the dialog and update the string

Bug: 330097568
Test: verify the UI

Change-Id: I4c9a21fc74e608e08db334053d4e5bfb57abce70
2024-03-25 10:08:40 +00:00
Jason Chiu
d89fd5942f [Safer intents] System
To avoid implicit intents, make intents launch explicitly.

Bug: 323061508
Test: build
Change-Id: Iaf5466f3acd3293e738f450e0117e180b93d4e1c
2024-03-25 18:08:03 +08:00