Commit Graph

22789 Commits

Author SHA1 Message Date
Yanting Yang
d6174afbb6 Merge "Remove grouping from homepage" into sc-dev am: fadf32ffcb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13911068

Change-Id: Ied21e522a293756afe93927c9d0afbf5bc1a7d60
2021-03-18 09:35:06 +00:00
Yanting Yang
0e05b2e8ac Remove Advanced category from Network & internet
Based on the latest UX design to remove the Advanced category.

Fixes: 182742887
Bug: 182237530
Test: robotests & visual
Change-Id: Idc184960c3ac74610545c036d5a22959ac6730c1
2021-03-18 17:15:23 +08:00
Yanting Yang
fadf32ffcb Merge "Remove grouping from homepage" into sc-dev 2021-03-18 08:57:37 +00:00
TreeHugger Robot
6699634163 Merge "Smart Router settings UI changes" into sc-dev am: cb64ea60c2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13877245

Change-Id: I69b24eeccbd78ea00efd42f210a6e09febdc4604
2021-03-18 07:18:08 +00:00
TreeHugger Robot
cb64ea60c2 Merge "Smart Router settings UI changes" into sc-dev 2021-03-18 06:43:16 +00:00
Yanting Yang
395f26a66e Remove grouping from homepage
Based on the latest UX design to remove the grouping from homepage.

Fixes: 183070484
Test: visual
Change-Id: I5834366f37e9198e8830ee67980eabc016d56909
2021-03-18 14:22:28 +08:00
Jason Hsu
49a69dfce7 Merge changes from topic "accessibility_floating_menu_ui" into sc-dev am: b1f6c4658c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13899515

Change-Id: I9328a6aa97881dfe97d842d170f58a62d0b3b991
2021-03-18 05:15:43 +00:00
jasonwshsu
138b6756ed Update the vector drawable for accessibility button preview preference am: 799ead4d41
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13899514

Change-Id: Ic6c6af8234a328d8be771d205f98e8cdf3b1635b
2021-03-18 05:15:42 +00:00
jasonwshsu
49e54b3877 Update the dialog content for accessibility floating menu am: 31db2fafc2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13899512

Change-Id: I8904a936faf5746f9d0caf25aa6cee77cc5716ba
2021-03-18 05:15:38 +00:00
jasonwshsu
69e951c8fd Add the preference controller to control accessibility button fade preference am: 648811b2b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13899511

Change-Id: Id34945f8cf213b77af04b74df3ff8b1f0067295d
2021-03-18 05:15:37 +00:00
jasonwshsu
985931a566 Add the preference controller to control accessibility button preview preference am: eb2411db9d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13899510

Change-Id: Id2f8114e0c82d71109573d0d3b70ac62fa251b74
2021-03-18 05:15:35 +00:00
jasonwshsu
39ecf6e2b1 Add the preference controller to control accessibility button opacity preference am: c72fe39597
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13899509

Change-Id: Ic3d56f036d3529b224fc553b7e2726a8ac83c3cc
2021-03-18 05:15:33 +00:00
jasonwshsu
277098d628 Add the preference controller to control accessibility button size preference am: 0377025554
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13899508

Change-Id: Ib0bf71b130989c15282f7373bb1bf94543d44073
2021-03-18 05:15:32 +00:00
jasonwshsu
f078f77e70 Add the preference controller to control accessibility button location preference am: 2dc32f63f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13899507

Change-Id: I57c36af05a2cf2592ce28128fe1e26b84ba5f78c
2021-03-18 05:15:30 +00:00
jasonwshsu
41a8a174ea Setup basic layout and resources for the accessibility button settings page am: 03dbb40d2b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13899506

Change-Id: I92f17c3ce600d3bd1fc44c46d6108d1d667535da
2021-03-18 05:15:25 +00:00
Jason Hsu
b1f6c4658c Merge changes from topic "accessibility_floating_menu_ui" into sc-dev
* changes:
  Remove half circle option in size selector
  Update the vector drawable for accessibility button preview preference
  Remove the accessibility gesture tutorial dialog in system navigation
  Update the dialog content for accessibility floating menu
  Add the preference controller to control accessibility button fade preference
  Add the preference controller to control accessibility button preview preference
  Add the preference controller to control accessibility button opacity preference
  Add the preference controller to control accessibility button size preference
  Add the preference controller to control accessibility button location preference
  Setup basic layout and resources for the accessibility button settings page
2021-03-18 04:54:54 +00:00
TreeHugger Robot
463fa4b828 Merge "Hide "recent access" and "see all" when location off" into sc-dev am: 0cfa67f8a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13896392

Change-Id: Ie86df82c2e4043635e99d92c3b4e48aa3ffb5b90
2021-03-17 21:13:47 +00:00
Yanli Wan
0d461b4408 Merge "Update Device Admin Info admin message for a financed device" into sc-dev am: 3eecb32108
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13892070

Change-Id: I04cd044eb52658777e4fd32ca16ccb47a0db13a8
2021-03-17 21:10:27 +00:00
TreeHugger Robot
0cfa67f8a8 Merge "Hide "recent access" and "see all" when location off" into sc-dev 2021-03-17 18:50:01 +00:00
Julia Reynolds
887273b2c6 Refinements for DND settings
- Adding headers
- Remove collapsed 'advanced
- correcting label for main toggle
- fix underline

Test: manual
Fixes: 179210702
Fixes: 173910494
Change-Id: Iec67639a12c7e93dcf19d415108e7d2c1fcb93d4
2021-03-17 14:17:44 -04:00
Oli Lan
a984be6fdb Add a setting to turn clipboard access notifications on/off.
This adds a new switch setting under Privacy to control whether
toast notifications are shown when an app accesses clipboard
(see b/179667029 for the clipboard access notification feature).

Bug: 179667029
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings.privacy.ShowClipAccessNotificationPreferenceControllerTest"

Change-Id: Ibac7f31538ab3e4d2ec476cb8c05cbbd0c7e6d41
2021-03-17 17:54:30 +00:00
Yanli Wan
3eecb32108 Merge "Update Device Admin Info admin message for a financed device" into sc-dev 2021-03-17 17:35:36 +00:00
sallyyuen
d5029fc823 Update RBC UI with latest strings
Get rid of the slider (no longer need labels)

Test: Manual
Bug: 182922255
Change-Id: Ib3d0c8ad823af55848f2526f3377ff11b4196f54
2021-03-17 10:06:19 -07:00
Yu-Han Yang
9e0f9b1dda Hide "recent access" and "see all" when location off
This CL also does the following:
- Change "past 24 hour access" to "recent access"
- Add timestamp to recent access app
- Remove the summary of "Location Services" button

Bug: 180533061
Test: on device
Change-Id: I0405cb6f363243db9f2c9ccf8ab8788b633d1564
2021-03-17 09:36:56 -07:00
jasonwshsu
9a5925c471 Remove half circle option in size selector
Half circle accessibility floating menu mode changed to be triggered from gesture.

cherry picked from commit c2057ae257

Bug: 173940869
Test: atest FloatingMenuSizePreferenceControllerTest
Change-Id: I123baaf3684d5cbb0a33fc2383da72aa022876c0
Merged-In: I123baaf3684d5cbb0a33fc2383da72aa022876c0
2021-03-17 23:05:37 +08:00
jasonwshsu
799ead4d41 Update the vector drawable for accessibility button preview preference
cherry picked from commit 96121b3f0d

Bug: 173940869
Test: manual test
Change-Id: Id24d1550e7c640a7fdbd752e3571296a7e6567d6
Merged-In: Id24d1550e7c640a7fdbd752e3571296a7e6567d6
2021-03-17 23:04:30 +08:00
jasonwshsu
31db2fafc2 Update the dialog content for accessibility floating menu
Accessibility gesture is replaced by accessibility floating menu, related content in edit shortcut dialog and tutorial dialog are updated in this changelist.

cherry picked from commit 5fe2cdcf87

Bug: 173990914
Test: manual test
Change-Id: Ie529fa8a1f8ee87ca1ec5611b35675cdfd762165
Merged-In: Ie529fa8a1f8ee87ca1ec5611b35675cdfd762165
2021-03-17 23:02:53 +08:00
jasonwshsu
648811b2b4 Add the preference controller to control accessibility button fade preference
* Opacity preference will be disabled when fade is disabled

cherry picked from commit f9fdedaafe

Bug: 173940869
Test: atest AccessibilityButtonFadePreferenceControllerTest AccessibilityButtonOactiyPreferenceControllerTest
Change-Id: I1efd9760aa0287899cddd10ddd9a88a81ccc39ba
Merged-In: I1efd9760aa0287899cddd10ddd9a88a81ccc39ba
2021-03-17 23:01:36 +08:00
jasonwshsu
eb2411db9d Add the preference controller to control accessibility button preview preference
* Create FloatingMenuLayerDrawable class to handle the preview layer drawable

cherry picked from commit 603014760f

Bug: 173940869
Test: atest AccessibilityButtonPreviewPreferenceControllerTest FloatingMenuLayerDrawableTest
Change-Id: Ia3d030547b377e87c505b2310f559f7f3876ecd5
Merged-In: Ia3d030547b377e87c505b2310f559f7f3876ecd5
2021-03-17 23:00:39 +08:00
jasonwshsu
c72fe39597 Add the preference controller to control accessibility button opacity preference
cherry picked from commit c497c7aabe

Bug: 173940869
Test: atest FloatingMenuOpacityPreferenceControllerTest
Change-Id: I1fbe3157c93fef4611c3b9b13569c9b339e2898a
Merged-In: I1fbe3157c93fef4611c3b9b13569c9b339e2898a
2021-03-17 22:59:03 +08:00
jasonwshsu
0377025554 Add the preference controller to control accessibility button size preference
cherry picked from commit 04955b96ae

Bug: 173940869
Test: atest FloatingMenuSizePreferenceControllerTest
Change-Id: Ic206a940abde90641442df37a634c8cb3a345597
Merged-In: Ic206a940abde90641442df37a634c8cb3a345597
2021-03-17 22:57:50 +08:00
jasonwshsu
2dc32f63f8 Add the preference controller to control accessibility button location preference
cherry picked from commit 123464429d

Bug: 173940869
Test: atest AccessibilityButtonLocationPreferenceControllerTest
Change-Id: I49a23b2eb4e07e79afcefc5a148c23b06396ec1c
Merged-In: I49a23b2eb4e07e79afcefc5a148c23b06396ec1c
2021-03-17 22:57:05 +08:00
jasonwshsu
03dbb40d2b Setup basic layout and resources for the accessibility button settings page
cherry picked from commit 93ef33655c

Bug: 173940869
Test: atest AccessibilityButtonFragmentTest
Change-Id: I3f1d8b161d1baadeead36f49f18f00a91fd40b4c
Merged-In: I3f1d8b161d1baadeead36f49f18f00a91fd40b4c
2021-03-17 22:55:47 +08:00
Edgar Wang
a4982b658b Update Preference style
- remove reserved icon space

Bug: 182374464
Test: visual
Change-Id: I382ed04b0b873b5ee64d3982306df496244e76f3
2021-03-17 13:36:33 +00:00
TreeHugger Robot
76b437502b Merge "Update string for Intent Picker" into sc-dev am: fdb6af2d20
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13892866

Change-Id: I8d8510291d42a9986fa8786666faea19de54ca6e
2021-03-17 06:41:50 +00:00
TreeHugger Robot
d522b2325c Merge "[Provider Model] Update airplane mode icon" into sc-dev am: c35e0bfa58
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13885664

Change-Id: I045fa25395643c654c17a5d6eab90cc05bfcaa87
2021-03-17 06:41:44 +00:00
Ivan Chiang
d01c81e483 Add Media Management Apps activity in Special App Access
Add a settings page to control the permission MANAGE_MEDIA in Special
App Access. Apps can launch it by ACTION_REQUEST_MANAGE_MEDIA.

Test: m -j RunSettingsRoboTests ROBOTEST_FILTER=MediaManagementAppsDetailsTest
Test: m -j RunSettingsRoboTests
Test: manual
Bug: 181112025
Change-Id: Id7587cf179b8c5adbfd6477ca9c2d4a20a9852bb
2021-03-17 14:36:20 +08:00
TreeHugger Robot
fdb6af2d20 Merge "Update string for Intent Picker" into sc-dev 2021-03-17 06:35:14 +00:00
TreeHugger Robot
c35e0bfa58 Merge "[Provider Model] Update airplane mode icon" into sc-dev 2021-03-17 06:16:20 +00:00
Sunny Shao
5b541f082b Update string for Intent Picker
- Replace the "Supported links open in this app" with the
  "Allow web links to open in this app".

bug: 177923646
Test: compilation
Change-Id: I90c8a2f133bd35cf6e59ebe10dec40e06cb34cdf
2021-03-17 11:07:54 +08:00
Salud Lemus
ae41810b23 Update Device Admin Info admin message for a financed device
Bug: 182804474
Test: Used a test device that is registered via ZT

Change-Id: I7e2d3342ac0e71485a80823a8d565c95a00fee7a
2021-03-16 21:21:49 +00:00
Rajeev Kumar
19eb802e10 Merge "Update Device Admin Info Settings text for a financed device" into sc-dev am: d2ca004392
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13879788

Change-Id: I033950c94e9f0e1e2e11c3b6e773c6aa2b2a23c9
2021-03-16 17:18:00 +00:00
Rajeev Kumar
d2ca004392 Merge "Update Device Admin Info Settings text for a financed device" into sc-dev 2021-03-16 16:50:35 +00:00
Weng Su
a15019ce88 [Provider Model] Update airplane mode icon
- Screenshot:
  https://screenshot.googleplex.com/ULE5bL6sxXKzdN6

Bug: 182438540
Test: manual test
Change-Id: I2ef2cfa40d6fbc6bc164d57ca981bc216dacede4
2021-03-16 22:57:41 +08:00
Weng Su
68b0057f66 Smart Router settings UI changes
- Remove "AP band" preference

- Add "Maximize Compatibility" switch preference
  - Use bridged mode API for new devices (after P21)

- Screenshot:
  https://screenshot.googleplex.com/84X9Av8gVj3idjB

Bug: 168052744
Test: manual test
atest WifiTetherMaximizeCompatibilityPreferenceControllerTest
make RunSettingsRoboTests ROBOTEST_FILTER=WifiTetherSettingsTest

Change-Id: Ib74156c0fa6eccdd13239854047b1fb4e49a293c
2021-03-16 21:50:55 +08:00
TreeHugger Robot
060e2dd561 Merge "Update settings for app hibernation" into sc-dev am: a922c902f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13762606

Change-Id: I9d0d85603568f705a75efd4e83cd9656c08f8975
2021-03-16 06:27:37 +00:00
TreeHugger Robot
a922c902f6 Merge "Update settings for app hibernation" into sc-dev 2021-03-16 05:53:23 +00:00
Zhen Zhang
48bd52e091 Update settings for app hibernation
Created an preference in Apps & Notifcations page as the entry point for
apps that are hibernated. Also added a switch preference in AppInfo page
for users to exempt an app from hibernation.

Bug: 181172051
Test: HibernatedAppsPreferenceControllerTest;
HibernationSwitchPreferenceControllerTest;
AppInfoDashboardFragmentTest

Change-Id: I72a90ab391cd521150fc155a6d9c67c846b7360d
2021-03-15 21:34:46 -07:00
George Chang
0b3976fe58 Merge "Update subtext for require unlock for NFC" into sc-dev am: 2d3fbae37a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13871570

Change-Id: I2dd38a3349d3be76a6a97bdffc7327286cbef30f
2021-03-16 03:29:44 +00:00
George Chang
2d3fbae37a Merge "Update subtext for require unlock for NFC" into sc-dev 2021-03-16 02:43:33 +00:00