Commit Graph

136891 Commits

Author SHA1 Message Date
Treehugger Robot
2d90f0642d [automerger skipped] Merge "settings(nfc): Remove NFC beam settings" into main am: e8df63f148 am: 3510cd0a6e -s ours am: 19f1b7514e -s ours
am skip reason: Merged-In I40974a26d170cf3eeec18e6a07a21f6c420eca9e with SHA-1 ad565c49dc is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2808364

Change-Id: I14ab75beed13cc8c09a3f0668ec19e8f19689ab1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-30 22:09:18 +00:00
Treehugger Robot
c1d49e0828 [automerger skipped] Merge "settings(nfc): Remove NFC beam settings" into main am: e8df63f148 am: ff03ce88ff am: 767ff4725e -s ours
am skip reason: Merged-In I40974a26d170cf3eeec18e6a07a21f6c420eca9e with SHA-1 21c3bca13f is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2808364

Change-Id: If3bbc8189551daa443a35a07c6e3521bbc92184b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-30 22:06:17 +00:00
Treehugger Robot
19f1b7514e [automerger skipped] Merge "settings(nfc): Remove NFC beam settings" into main am: e8df63f148 am: 3510cd0a6e -s ours
am skip reason: Merged-In I40974a26d170cf3eeec18e6a07a21f6c420eca9e with SHA-1 ad565c49dc is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2808364

Change-Id: I8cc0f159c9f47eb96fef3c32d2dc5d66a036c90d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-30 21:31:35 +00:00
Treehugger Robot
767ff4725e Merge "settings(nfc): Remove NFC beam settings" into main am: e8df63f148 am: ff03ce88ff
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2808364

Change-Id: I981cda69be0ada11eedf478ee4ede362c3858a8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-30 21:28:55 +00:00
Treehugger Robot
3510cd0a6e Merge "settings(nfc): Remove NFC beam settings" into main am: e8df63f148
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2808364

Change-Id: I259e0d59f346e5e99e34453405fa5c4cc622c92a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-30 21:04:17 +00:00
Treehugger Robot
ff03ce88ff Merge "settings(nfc): Remove NFC beam settings" into main am: e8df63f148
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2808364

Change-Id: Ic8c0f7ceec443aca5172cd38ede765781640dc0e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-30 21:03:30 +00:00
Behnam Heydarshahi
dd56cea63b Merge "Remove ring_volume from VolumePanel" into main 2023-10-30 20:43:47 +00:00
Treehugger Robot
e8df63f148 Merge "settings(nfc): Remove NFC beam settings" into main 2023-10-30 20:26:18 +00:00
Roshan Pius
ad565c49dc settings(nfc): Remove NFC beam settings
This API was already deprecated and not supported for a few years. The
API was completely removed in Android U (see b/236980291).

Bug: 307352220
Test: Verified NFC settings works correctly
Merged-In: I40974a26d170cf3eeec18e6a07a21f6c420eca9e
Change-Id: I40974a26d170cf3eeec18e6a07a21f6c420eca9e
2023-10-30 19:42:47 +00:00
Behnam Heydarshahi
b443557d3d Remove ring_volume from VolumePanel
And from CustomSliceRegistry.

Bug: b/305280122
Test: make ROBOTEST_FILTER=VolumePanelTest RunSettingsRoboTests -j40
Change-Id: Iff444011399f09a5350de8aeacb724467364b61a
2023-10-30 17:58:49 +00:00
Joshua Mccloskey
92219f0d37 Merge "Settings ChooseLockscreen* dismiss in background." into main 2023-10-30 17:43:27 +00:00
Treehugger Robot
336e95cf64 Merge "settings(nfc): Remove NFC beam settings" into main 2023-10-30 17:11:17 +00:00
Tyler Freeman
db99e6027c Merge "Revert "feat(MultiFingerMultiTap): Add tutorial for two finger triple tap"" into main 2023-10-30 16:45:46 +00:00
Daniel Norman
dc9ad88a26 Revert "feat(MultiFingerMultiTap): Add tutorial for two finger triple tap"
This reverts commit 2870455091.

Reason for revert: b/308368520

Change-Id: I512fa574e47585f0005ccc6c3790c0c20a3a4c55
2023-10-30 16:29:19 +00:00
Chaohui Wang
bbc1ffb930 Merge "Migrate Enhanced notifications to SwitchPreferenceCompat" into main 2023-10-30 14:18:44 +00:00
Treehugger Robot
0201afb9d5 Merge "Add a flow to keep special apps in the battery unrestricted mode" into main 2023-10-30 11:27:19 +00:00
Yiyi Shen
17870ad864 Merge "[Audiosharing] Add calls and alarms device picker when sharing." into main 2023-10-30 11:01:17 +00:00
Mark Kim
9942248d98 Support fetching PackageInfo for archived apps
Test: PackageInfoPresenterTest

Bug: 304256071
Change-Id: Ia8f160c160acf41aa4f25f9d02efa4d470a56a63
2023-10-30 10:50:55 +00:00
Yiyi Shen
60c33f570c [Audiosharing] Add calls and alarms device picker when sharing.
Flagged with enable_le_audio_sharing

Bug: 305620450
Test: Manual
Change-Id: I211bbd83e29a1ea865c3e368f0fcacf3a98255e9
2023-10-30 16:05:01 +08:00
SongFerng Wang
8557ab051c Merge "Modify the condition of MENU_FIX_CONNECTIVITY" into main 2023-10-30 07:54:34 +00:00
ykhung
6d94558451 Add a flow to keep special apps in the battery unrestricted mode
Fix: 306506148
Test: atest & presubmit
Change-Id: I1636f4fe38394686b40c9f52d37bd9ae6f2c46ba
2023-10-30 15:33:15 +08:00
Angela Wang
6e12c484b2 Merge "Flag for new hearing device pairing page" into main 2023-10-30 06:19:58 +00:00
Jean Chen
5678c7eb12 Merge "feat(MultiFingerMultiTap): Add tutorial for two finger triple tap" into main 2023-10-30 05:21:34 +00:00
YK Hung
1b2bc3e59b Merge "Rename for: force app stay in the battery optimize mode" into main 2023-10-30 04:29:37 +00:00
Treehugger Robot
864ea107b6 Merge "Update the description for Smooth Display in Settings" into main 2023-10-30 03:49:14 +00:00
ykhung
d3684f7d1d Rename for: force app stay in the battery optimize mode
Bug: 306506148
Test: atest & presubmit
Change-Id: I69a0c6b290c21ae1fca676ffe8295543b2323a7a
2023-10-30 11:33:39 +08:00
Chaohui Wang
019be1b687 Migrate ShortcutPreference to SwitchCompat
Settings use SwitchCompat instead of Switch in the future, for new
Material 3 UI.

Bug: 306658427
Test: manual - on Accessibility pages
Change-Id: Idf87eb6fcf1a57bd98a6fd0eca3c8c325127ce17
2023-10-28 20:04:31 +08:00
Chaohui Wang
64def2e3ce Migrate Enhanced notifications to SwitchPreferenceCompat
Settings use SwitchPreferenceCompat instead of SwitchPreference in the
future, for new Material 3 UI.

Also clean up unused fields in its controller.

Bug: 306658427
Test: manual - on Notifications page
Change-Id: I0c4dd3f088e68852a1f63ed46447c306f7c0f65a
2023-10-28 18:19:17 +08:00
Roshan Pius
21c3bca13f settings(nfc): Remove NFC beam settings
This API was already deprecated and not supported for a few years. The
API was completely removed in Android U (see b/236980291).

Bug: 307352220
Test: Verified NFC settings works correctly
Change-Id: I40974a26d170cf3eeec18e6a07a21f6c420eca9e
2023-10-27 13:26:07 -07:00
josephpv
570314569f Increase no_device_lock_summary character limit=90
This increases character limit for no_device_lock_summary string to
support localization query 12202093

Bug: 289016927
Test: Manual
Change-Id: I4b449941f69ab6ecc95a9b50260a213c0c9e2178
2023-10-27 20:02:49 +00:00
josephpv
84944ba6f0 Add auto advancing screens for private space setup
This includes changes for
1. To add auto avancing screens to PS setup
2. Screen to set a different Private profile lock or use existing lock
3. Success screen on setup completion
4. Shows Error screen if profile creation failed for some reason
5. Send intent towards launcher, show a Toast message to access PS from bottom of All apps and exit.

Bug: 299069146
Test: Manual setup
Change-Id: If4e5dd5a42abb11259bc40506189c7c750324139
2023-10-27 12:32:12 +00:00
Angela Wang
fce6196de1 Flag for new hearing device pairing page
Bug: 307473972
Test: build pass
Change-Id: I9ecc16ca55bd12dfc6326a1e44d19cab4ada5196
2023-10-27 09:07:13 +00:00
Jean Chen
2870455091 feat(MultiFingerMultiTap): Add tutorial for two finger triple tap
This tutorial is showing when user enabled two finger triple tap shortcut

Bug: 297805269
Test: manual
Test: atest AccessibilityGesturenavigationTutorialTest
Change-Id: Ie56cffe809e801c497d9d55d92a4b55084d496ce
2023-10-27 16:58:48 +08:00
Roy Chou
149a36a4df Merge "chore(text reading settings): increase preview block left/right padding when landscape mode for easier scrolling" into main 2023-10-27 08:57:32 +00:00
Graciela Putri
5c06348c93 Merge "Enable all aspect ratio options in UserAspectRatioManagerTest" into main 2023-10-27 08:46:23 +00:00
Ken Lin
9b7a6d235c Update the description for Smooth Display in Settings
remove '60' string

Bug: 271177719
Test: Settings > Display > Smooth Display (and read description)
Change-Id: I82a9c9ca37eb6b2c25695e327119f5224e92da6f
2023-10-27 05:26:22 +00:00
Jean Chen
198ae8901b Merge "feat(MultiFingerMultiTap): Add two-finger triple-tap shortcut on magnification dialog" into main 2023-10-27 03:43:51 +00:00
Chaohui Wang
f20a6d0ea6 Merge "Migrate SyncStateSwitchPreference to SwitchPreferenceCompat" into main 2023-10-26 22:51:23 +00:00
Chaohui Wang
0eca010447 Merge "Migrate RestrictedSwitchPreference to compat" into main 2023-10-26 22:49:44 +00:00
Daniel Norman
d78a4e54b8 Merge "Customize the text reading preview layouts" into main 2023-10-26 22:23:16 +00:00
Wa Gao
8d5605bf8b Merge "Set blank defaults for content protection subpage texts." into main 2023-10-26 21:08:39 +00:00
Wa Gao
5d5e6859d7 Merge "Add the new content protection preference option and subpage in Settings -> Security & privacy -> More security & privacy settings." into main 2023-10-26 21:08:39 +00:00
Chris Antol
affe7f0aa6 Update Settings OWNERS file
Bug: 307628548
Test: N/A
Change-Id: I5c417064cc0a66c191d8eee295b5b8f164e35787
2023-10-26 19:54:52 +00:00
Wa Gao
c80dfbccb6 Add the new content protection preference option and subpage in Settings -> Security & privacy -> More security & privacy settings.
Bug: 302189945
Test: robotests
m -j256 Settings
atest SettingsRoboTests:ContentProtectionPreferenceControllerTest
atest SettingsRoboTests:ContentProtectionPreferenceFragmentTest

Change-Id: I620d73f8674c1340f9b11cd910620f1d5afb0ec1
2023-10-26 19:34:58 +00:00
Mark Kim
679b2626d8 Include archived apps into the counter
Test: InstalledAppCounterTest

Bug: 304255511
Change-Id: If667acae249d248ce013a9dd370af41698266a45
2023-10-26 18:18:26 +00:00
Wa Gao
6228b903e1 Set blank defaults for content protection subpage texts.
Bug: 302189945
Change-Id: I46c5fc06cea4e07c188586028a495e677f1304f7
2023-10-26 17:52:04 +00:00
Roy Chou
b3fb8e0154 chore(text reading settings): increase preview block left/right padding when landscape mode for easier scrolling
When the device is in landscape mode, In the text reading preference page, users have difficulty scrolling the RecyclerView because the preview block is almost full-screen. To scroll the preference list, users typically try to pan the preview block, but the block consumes the scroll gesture, preventing the list from scrolling. Users can successfully scroll the list content by panning outside the preview block. As a quick workaround, we increase the left/right padding of the preview block for landscape mode to make it easier for users to pan outside the block and scroll the preference list.

Bug: 301683714
Flag: NA
Test: manually - attach screenshot in bug
Change-Id: I1dba6e4d83ee1cd2f30163de05dfd7b42f829e42
2023-10-26 13:28:50 +00:00
Julia Reynolds
db679c9100 Merge "Remove duel switch from NAS switch" into main 2023-10-26 13:03:16 +00:00
Graciela Wissen Putri
3ced0bd60d Enable all aspect ratio options in UserAspectRatioManagerTest
testGetUserMinAspectRatioEntry fails for foldables and tablets due to
some aspect ratio options being disabled. Mock Resources to return all
default aspect ratio options and strings to make test device agnostic.

Clean up unused variables and remove getLauncherApps in
UserAspectRatioManager.

Add more tests in UserAspectRatioManagerTest.

Fix: 304685321
Test: atest SettingsUnitTests:UserAspectRatioManagerTest
Change-Id: I6f4bbd60863be0c66139955507157619a5fc6662
2023-10-26 12:55:12 +00:00
Chaohui Wang
17d3c1d8d7 Migrate CellDataPreference to switchPreferenceCompatStyle
UI keep unchanged in this cl.

Bug: 306658427
Test: manual - on "Data usage" page
Change-Id: Ic8a7263fa220e9ce5ffb9f8a0d181f5c9ede9db7
2023-10-26 11:59:33 +00:00