Commit Graph

12545 Commits

Author SHA1 Message Date
alukin
41ceecda99 Add strings for System split
Adding strings that are used for System
category split in Settings > Storage

Bug: 309801699
Test: atest StorageItemPreferenceControllerTest
Test: atest StorageCacheHelperTest
Change-Id: I60cee85fe773380b35699b46a2a93ea3188bb13b
2024-03-12 18:31:05 +00:00
Charlotte Lu
88bc924647 Merge "Change Privacy into full page." into main 2024-02-27 10:11:17 +00:00
Yiyi Shen
57e70a7523 Merge "[Audiosharing] Clean up audio sharing from Settings" into main 2024-02-27 03:57:40 +00:00
Joseph Vincent
a6b7dff37b Merge "Change for private space intro screen string changes" into main 2024-02-26 20:24:46 +00:00
Fiona Campbell
20909fa590 Merge "Create EvenDimmerPreferenceController" into main 2024-02-26 14:28:02 +00:00
josephpv
2a431fe8d9 Change for private space intro screen string changes
This includes below changes based on latest UX mocks
- Changes the strings and icon in the intro screen
- Updates the title in Auto advance screens

Recording link : b/326391690#comment4
Screenshots:
go/ss/9xbZP5Lp8j9yh6m.png
go/ss/pvKMNdgu6yt2Xtr.png

Bug: 326391690
Test: Manual, verify the strings are updated as in Mocks
Change-Id: I714919ac1f3d45fa0007395bd17cfb340874ed5a
2024-02-26 14:26:33 +00:00
Yiyi Shen
dd7626f55b [Audiosharing] Clean up audio sharing from Settings
Bug: 324023639
Test: atest
Change-Id: Ie73790442f39af60b125bbd48182a700bb0b290a
2024-02-26 17:24:53 +08:00
Charlotte Lu
8b8a16bc7c Change Privacy into full page.
Test: Visual Test
Fix: 324020620
Change-Id: Ifacbf7eef3b56774c5f891c8cd60ddee2d380632
2024-02-26 04:26:26 +00:00
Rafael Higuera Silva
be3a609c25 Merge "Add new dialogue when user is going to delete sim that use RAC." into main 2024-02-26 04:09:19 +00:00
Rafael Higuera Silva
736df6d2ef Add new dialogue when user is going to delete sim that use RAC.
Test: make
Bug: 316419093
Change-Id: Iaed54afa7cfd20c1dd6adbd4d50f54cab3da095d
2024-02-23 23:11:56 +00:00
Riley Jones
14ec4f08c3 Merge "DragToEdit Dynaimc Title" into main 2024-02-23 19:46:13 +00:00
Julia Reynolds
0ca0e22d6e Merge "Experiment: hide unused channels in settings" into main 2024-02-22 22:47:22 +00:00
Varun Shah
646d052228 Merge "Add new Special App Access screen for Backup Tasks." into main 2024-02-22 21:46:53 +00:00
Olivier Nshimiye
75ada354ed Merge "Add a toggle for enabling/disabling sensitive lockscreen notifications for Private Space" into main 2024-02-22 14:22:33 +00:00
Chris Göllner
617c1275bb Merge "Settings - Move Activity embedding split min width config to resources" into main 2024-02-22 12:30:55 +00:00
Olivier Nshimiye
baecaee2a5 Add a toggle for enabling/disabling sensitive lockscreen notifications for Private Space
This adds a toggle in the Private Space Settings page to control the
lockscreen sensitive notifications for the private profile.
Sensitive notifications for private profile will still be disabled if
sensitive notifications are disabled for the main user.

Demo link:https://drive.google.com/file/d/1--LNXziTRTMvfdsJZAh90SiNiPxWNcI8/view?usp=sharing

Bug: 317067050
Test: atest SettingsUnitTests:HidePrivateSpaceSensitiveNotificationsControllerTest

Change-Id: Ie7f18c1a940e5ffd64112a01c48ac9dee58cb1ab
2024-02-22 11:10:54 +00:00
SongFerng Wang
3bc291a3c5 Merge "To extend the character limit for Automatic data switching" into main 2024-02-22 06:15:37 +00:00
Chelsea Hao
a9178952ae Merge "Add auto on toggle in settings." into main 2024-02-22 02:53:16 +00:00
Angela Wang
df14dcd437 Merge "Update footer string for hearing device related pages" into main 2024-02-22 01:13:44 +00:00
Chris Göllner
83f0adc5c0 Settings - Move Activity embedding split min width config to resources
On some devices the values need to be configured to be different than
the default.

Bug: 326215764
Test: Manual
Change-Id: I56a3a6608a4ac4eaf7d7dede4f6cb4278638f29c
2024-02-21 15:14:30 +00:00
Ben Murdoch
59a3ed3f38 Add settings search synonyms for touchpad.
Also fixes a bug in TrackpadTouchGestureSettings that used the wrong
preference ID for search indexing.

Bug: 300611520
Test: Verified on device
Flag: NA
Change-Id: I62ccf6d0b410be977f59f101edc5c42233d9474a
2024-02-21 11:38:45 +00:00
Angela Wang
ca1917b688 Update footer string for hearing device related pages
Users sometimes will confuse why their device is not shown on hearing device related pages. Describe more that only ASHA and LE Audio hearing aids will be listed in
these pages to let them know the reason.

Bug: 326167961
Test: build pass, only simple string update
Change-Id: I624c7a23e98c04f0a659742f63465918a45bb888
2024-02-21 06:09:05 +00:00
SongFerng Wang
86db475673 To extend the character limit for Automatic data switching
Bug: 326154869
Change-Id: I115de46ce19789c812d455b9e79449a8fedda890
Test: NA
2024-02-21 03:44:33 +00:00
Julia Reynolds
03c08da4b1 Experiment: hide unused channels in settings
behind a 3-dot menu. "unused" in this case means a channel that is not blocked but also hasn't sent a notification in the last 2 weeks

Test: manual
Flag: com.android.server.notification.notification_hide_unused_channels
Bug: 322536537
Change-Id: I99f5a61411c9b3a567fd7517f0bf7ea33bb7637c
2024-02-20 14:24:39 +00:00
chelseahao
13461d2fb8 Add auto on toggle in settings.
Test: atest com.android.settings.bluetooth
Bug: b/316822488 b/316985153
Flag: ACONFIG com.android.settingslib.flags.bluetooth_qs_tile_dialog_auto_on_toggle DISABLED
Change-Id: Iaa8ce3d3f6e2ffa25d8b7a35b5f55f4774ac4a40
2024-02-20 15:42:31 +08:00
Fiona Campbell
836018788d Create EvenDimmerPreferenceController
- Create preference controller
- linked to even dimmer activated setting

Bug: 179428400
Test: EvenDimmerPreferenceControllerTest
Change-Id: I3ac6501c3d45399caeda96fe6a7dd4164439d1bd
2024-02-19 11:46:11 +00:00
pajacechen
1abc13fe29 [Shadow] Update the string and the dismiss button
- Disable the dismiss button for incompatible charging
- Update the button string for battery defender tips
- Update settings banner icon for defender

Test: Manual Test
Bug: 315748218
Change-Id: I0cfe03e7984be02eff4fb6dce68cc22fe7edf8e2
2024-02-19 08:06:44 +00:00
Varun Shah
a00a81cc1c Add new Special App Access screen for Backup Tasks.
This new screen shows apps that hold the new RUN_BACKUP_JOBS permission.

Also add a reference to this screen in an app's info page under the
"Advanced" section for apps that have requested this permission.

Bug: 320563660
Test: BackupTasksAppsTest
Test: BackupTasksAppsPreferenceControllerTest
Test: visually via the Settings page

Change-Id: I7136fc74f3b0d0124889e7cf9e1234f917346432
2024-02-17 21:54:12 +00:00
Riley Jones
43420f16af DragToEdit Dynaimc Title
Bug: 323388734
Test: atest EditShortcutsPreferenceFragmentTest
Flag: aconfig edit_shortcut_dynamic_title true

Change-Id: I74785054e4f846db04d13a54bd6695e4690f5b8b
2024-02-16 23:03:12 +00:00
Joseph Vincent
597d23e5b3 Merge "Update string Lock private space automatically" into main 2024-02-15 09:43:35 +00:00
Becca Hughes
74f8cb6eeb Merge "Update button strings for new design" into main 2024-02-14 20:42:38 +00:00
Becca Hughes
797694855f Update button strings for new design
Updates the positive button strings see
mocks here:

https://screenshot.googleplex.com/6hLciwYTPMsYytt
https://screenshot.googleplex.com/ASAotxvEHnrDodq

Implementation:

https://hsv.googleplex.com/4658122816749568
https://hsv.googleplex.com/5590705238966272

Bug: 322074376
Change-Id: I8488d4b9414448bfbfc9462fe5450681bfbbfbdb
Test: flash device
2024-02-14 18:00:32 +00:00
josephpv
cfbbc5e207 Update string Lock private space automatically
Screenshot : go/ss/A5CaxvsWijoydYV.png

Bug: 325180579
Test: Manual
Change-Id: I59a3518d607532c0a8ae4bac18b4dd0d40666041
2024-02-14 15:44:58 +00:00
josephpv
dd57b93266 Change CHAR limit for localization query
Increase privatespace_search_description limit to 90 chars

Bug: 324559345
Test: Manual
Change-Id: I9b6b7c5a0a3391dea32192a3866fd531d93f5ce5
2024-02-13 20:48:45 +00:00
Becca Hughes
6cca4f32e6 Update "none selected" state to align with mocks:
Mocks:
https://screenshot.googleplex.com/BYsmSRcRL5dhjve

Implementation:
https://hsv.googleplex.com/4797150908121088

Change-Id: I47e8f784fa850da4271170d44b3eb770721c3e8b
Test: on device & unit
Bug: 322074376
2024-02-12 23:29:27 +00:00
Ravneet Dhanjal
50edf6755d Merge "Add camera extension fallback toggle" into main 2024-02-09 19:26:12 +00:00
Eran Messeri
8cff839cd7 Merge "Warn user when removing LSKF in the presence of auth-bound keys" into main 2024-02-09 13:05:18 +00:00
Emilian Peev
1a56189eca Add camera extension fallback toggle
Android camera extensions
(https://source.android.com/docs/core/camera/camerax-vendor-extensions)
will be able to use SW fallback implementations
on devices that do not ship the corresponding
the device specific functionality.
Since the SW fallback will be using a new data
path, it was suggested that users must be able to
control and enable/disable the SW fallback
via the Settings app.

Bug: 297083874
Test: atest packages/apps/Settings/tests/unit/src/com/android/settings/privacy/CameraExtensionsFallbackPreferenceControllerTest.java

Change-Id: I1b97777babe1c9f4ea4f2f6ee3d8251fea11146e
2024-02-09 00:07:05 +00:00
Eran Messeri
a200371d1c Warn user when removing LSKF in the presence of auth-bound keys
When the user goes through the flow of removing the device's lockscreen
knowledge factor (LSKF), warn them in case they have apps with
auth-bound keys on the device. Auth-bound keys that are bound to the
LSKF's secure user ID (that is, auth-bound keys that can be
authenticated by the user entering their LSKF) will be invalidated
when the LSKF is removed.

That means apps will not be able to decrypt the data encrypted with
these keys or use them to sign anything anymore (potentially effectively
losing the user's ability to prove their identity).

In this case, change the warning message that is shown to the user,
to make it clear wallet apps (that typically use such keys) will stop
working as well as other apps.

Bug: 302109605
Test: Manual, enrolled a PIN, face and fingerprint and tried removing PIN.
      A CtsVerifier test will be added later.
Change-Id: I276b744f54763e291abe1f20824da4f8f156679d
2024-02-08 14:56:02 +00:00
Aman Gupta
3ed1950aa5 Merge "[String changes] Updating strings as per the suggestion in b/318837875." into main 2024-02-08 00:37:41 +00:00
Aman Gupta
2860559061 [String changes] Updating strings as per the suggestion in b/318837875.
Change-Id: I13a0fd0c46d918ca5dfba8158955c24879b01b47
Test: Manual
2024-02-07 21:36:03 +00:00
Arnab Sen
e221abaa48 Stylus: Introduce Show Stylus Hover Pointer Setting (2/2)
Currently, the stylus hover icon can only be shown when
config_enableStylusPointerIcon is set to true. This means that the
users do not have a choice of turning the feature on or off.

This CL introduces the capability to do the same. This CL adds the
toggle in the StylusDevicesController to be shown when stylus is
connected. The toggle is mapped to the STYLUS_POINTER_ENABLED secure
setting which InputManagerService listens to turn on and off the stylus
pointer icon.

Test: manual
Steps:
1. Change the value of config_enableStylusPointerIcon as true.
2. Build the images and flash it to a stylus supporting device.
3. After the device is booted, hover over the screen, the stylus
   pointer should appear.
4. Go to Settings > Connected Devices > Stylus and tap on
   "Show pointer while hovering" toggle.
5. Try hovering over the screen, check no pointer icon is shown
6. Repeat Step#4, check that stylus pointer appears.

Run
- make RunSettingsRoboTests \
      ROBOTEST_FILTER=StylusDevicesControllerTest
- atest SettingsProviderTest

Change-Id: Idfff9b4307370cc510a5f94bd57777c30c96e854
2024-02-07 17:46:18 +00:00
YK Hung
ca4565083f Merge "Add AOSP smart battery entries" into main 2024-02-07 15:23:43 +00:00
josephpv
646ec3e3e5 Revert interim strings added for PS Hide behavior
With the Tile fulfillment avialable now this change reverts the interim
strings added for hide behaviour.
Also change the strings based on latest mocks.

Screenshot : go/ss/BCCEknnFyuJnzAq.png

Bug: 309950257
Test: Verified manually
Change-Id: Ia27a9a8b32883e0821531840b3644a79b2d18d17
2024-02-07 13:50:04 +00:00
Wesley Wang
ffcce1e7cf Add AOSP smart battery entries
- Revert "Cleanup smart battery entries (1/3)" patch only instead whole topic, updated part of codes to resolve the conflicts

This reverts commit 742e506d13.

Reason for revert: b/315401539

Bug: 315401539

Change-Id: I75a4e4f75b624c90aae18288c77214c0238e43eb
2024-02-07 07:29:48 +00:00
Becca Hughes
407a6d2723 Merge "Update strings to match updated figma" into main 2024-02-06 23:19:43 +00:00
Becca Hughes
47469160c8 Update strings to match updated figma
These three strings are updated to match
the latest figma mocks:

https://screenshot.googleplex.com/6JvDwmhKh3ANTzR

Other strings like the summary text will
be done in a follow up.

Test: on device
Bug: 322074376
Change-Id: I70b7a5317056abc669d581d11ba2b93dad2adba4
2024-02-06 10:02:43 -08:00
Joseph Vincent
639b93d652 Merge "Update with correct private space settings strings" into main 2024-02-05 19:12:10 +00:00
Richard MacGregor
9ed6467714 Merge "Add developer option for screenshare protections" into main 2024-02-05 18:34:50 +00:00
josephpv
9485350074 Update with correct private space settings strings
go/ss/3hD89o5RDzqyYYe.png
go/ss/68ENFD7LdFGZvBu.png
go/ss/AFJ9kguWRUVBJNY.png
go/ss/5LEpFhBBH2TWeKp.png
go/ss/BnFekSCyjvWq3nj.png
go/ss/3RpVrz9q4LUa6Cb.png
Recording link : b/317312835#comment3

Bug: 317312835
Bug: 317312410
Test: Manually verified strings
Change-Id: I3cf2e45d5056f7659bbf0b78d632d425dc8b890b
2024-02-05 17:17:07 +00:00