Commit Graph

22789 Commits

Author SHA1 Message Date
Jeremy Goldman
280e53f139 Merge "Update strings in main VpnPreference." into sc-dev am: 417d5bdc7c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13975120

Change-Id: I6ea22825b8e79f1ccec29f56d5992e7062dd2f62
2021-03-25 04:08:24 +00:00
Ahaan Ugale
a768fb8065 Use a Quantity String for the autofill password count.
Bug: 169455298
Test: manual - check display with sample app and different numbers of
 passwords
Test: make RunSettingsRoboTests
Test: atest SettingsUnitTests:com.android.settings.applications.autofill.PasswordsPreferenceControllerTest
Change-Id: I12f2a415499c210df429088fe11c64e7431babb3
2021-03-24 20:37:54 -07:00
Jeremy Goldman
417d5bdc7c Merge "Update strings in main VpnPreference." into sc-dev 2021-03-25 03:36:26 +00:00
Jeremy Goldman
de9d641349 Update strings in main VpnPreference.
If there is an insecure VPN, don't display the name of the vpn in the
summary. Instead, display "Not secure" if there is only 1 total vpn
available, and display the number of insecure VPNs + " not secure."

Screenshot: https://screenshot.googleplex.com/9Bxn7frDm7aVHtG
Test: manual test (because the junit test for the controller has not yet
been cherrypicked into sc-dev)
Bug: 176821216
Change-Id: Ie454d9605effd5208457e8c91b08cc382d4992af
2021-03-25 03:23:36 +00:00
Fan Zhang
770f8efe02 Merge "Button for opening app from Safety settings page" into sc-dev am: d2e71827cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13984250

Change-Id: I54843f489932058cea2e7ee3d23067d37e581cdc
2021-03-25 03:04:19 +00:00
Yu-Han Yang
109d9bb21d Update links to Scanning Settings
Bug: 180533061
Test: on device
Change-Id: I103dbb999b408614c065763ec6c84952af18ddb3
2021-03-24 19:53:14 -07:00
Fan Zhang
d2e71827cf Merge "Button for opening app from Safety settings page" into sc-dev 2021-03-25 02:38:12 +00:00
Minche Li
3ddf67bdd8 Merge "Corrects the string for magnification dialog" into sc-dev am: ff6c9e231f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13984246

Change-Id: I6855d2139a4b464354369a86167714ea15ffd3ab
2021-03-25 02:36:44 +00:00
Yu-Han Yang
a286bad826 Untab Location Settings and tab Location Services
Bug: 180533061
Test: on device
Change-Id: I1f096ffe1028dbf46816bbac5d514e3cb48d9e2c
2021-03-24 19:17:35 -07:00
Minche Li
ff6c9e231f Merge "Corrects the string for magnification dialog" into sc-dev 2021-03-25 01:52:24 +00:00
Robin Lee
afcab7fe85 Merge "Move alarms_and_reminders strings to SettingsLib" into sc-dev am: d7b51a7b05
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13974286

Change-Id: Ic3c1da7db4e8754599bc038d03a38d1d74208d3d
2021-03-25 01:13:53 +00:00
Curtis Belmonte
6aaee7f89f Add new strings for face auth/enrollment
Test: Build and install

Bug: 182806496
Bug: 183649070
Change-Id: I17efa5fee0babcece9c5fb2eb83e8cab4a575f2a
2021-03-24 17:48:01 -07:00
Robin Lee
d7b51a7b05 Merge "Move alarms_and_reminders strings to SettingsLib" into sc-dev 2021-03-25 00:44:37 +00:00
Fan Zhang
a288358343 Button for opening app from Safety settings page
Bug: 179063896
Test: Manual

Change-Id: I4cf627d630de277ebea3fe551d6799e5589e1af3
2021-03-24 23:46:49 +00:00
Fan Zhang
79ce82b680 Merge "Add strings for Safety & Emergency section Bug: 179063896 Test: make Settings" into sc-dev am: c5242cbea9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13975105

Change-Id: I16a8ce919c51f294367fdbbfb52b8a081add7ce6
2021-03-24 20:54:49 +00:00
Fan Zhang
c5242cbea9 Merge "Add strings for Safety & Emergency section Bug: 179063896 Test: make Settings" into sc-dev 2021-03-24 20:36:41 +00:00
Shireesha Bongarala
af15313b34 Add strings for Safety & Emergency section
Bug: 179063896
Test: make Settings

Change-Id: Ife43a597fa7262978e705fef96c783f109ff3f16
2021-03-24 20:29:27 +00:00
Soonil Nagarkar
2491d63996 Remove dynamic location settings footer
Replace with static location settings footer.

Bug: 182210346
Test: manual
Change-Id: If3ab492418e5f3461f7b0123fc771ecdd56db6c9
2021-03-24 12:43:03 -07:00
Yanting Yang
fd82d8277b Merge "Add new summaries for homepage preferences" into sc-dev am: 1b82a33048
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13981634

Change-Id: I5d25e366c2ac3bb9d06d11fe99874ea11519cf3f
2021-03-24 15:24:22 +00:00
Jason Chang
c82076169f Merge "Fix refresh in Gestures, not reflecting the changes after toggling on/off one-handed mode" into sc-dev am: aafe9ac0a0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13849832

Change-Id: I0c1b404c4f26ce235ccb584ab4ae3aba0b072cee
2021-03-24 15:24:10 +00:00
Ahaan Ugale
373d2272ce Merge "Merge Autofill settings into Account settings." into sc-dev am: 7f3534925f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13958194

Change-Id: I1a06e10a8fa25ec1a9a8c6c6134f66a51772183e
2021-03-24 15:23:35 +00:00
Yanting Yang
1b82a33048 Merge "Add new summaries for homepage preferences" into sc-dev 2021-03-24 15:21:39 +00:00
Jason Chang
aafe9ac0a0 Merge "Fix refresh in Gestures, not reflecting the changes after toggling on/off one-handed mode" into sc-dev 2021-03-24 15:15:52 +00:00
mincheli
78d9b85041 Corrects the string for magnification dialog
Corrects one word

Bug: 183368007
Test: none
Change-Id: Ic1babf57ca32617509c5b52463281a00b12c6d75
2021-03-24 22:51:04 +08:00
Ahaan Ugale
7f3534925f Merge "Merge Autofill settings into Account settings." into sc-dev 2021-03-24 14:48:58 +00:00
Edgar Wang
667162f986 Merge "Update Preference style" into sc-dev am: 7cd16ae07d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13892865

Change-Id: I4e106ee324a126d4e47dfd9884193c88903c9f97
2021-03-24 14:27:15 +00:00
Edgar Wang
7cd16ae07d Merge "Update Preference style" into sc-dev 2021-03-24 14:14:37 +00:00
Jason Chang
858bda81f1 Fix refresh in Gestures, not reflecting the changes after
toggling on/off one-handed mode

1) Remove disabling on swipe down notification.
2) Update to align asset with One-Handed mode temporarily.
3) Change some states when toggle on/off and align with
One-Handed mode.
4) Set temporary asset style to "centerInside" to avoid image
corrupted problem when device rotate.
5) Add new string on Swipe down notification toggle switch.

Bug: 177679988
Bug: 181970213

Test: manual verified on Settings > System > Gesture page
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
      "com.android.settings.gestures.OneHandedSettingsTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
      "com.android.settings.gestures
      .OneHandedAppTapsExitPreferenceControllerTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
      "com.android.settings.gestures
      .OneHandedEnablePreferenceControllerTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
      "com.android.settings.gestures
      .OneHandedTimeoutPreferenceControllerTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
      "com.android.settings.gestures.OneHandedSettingsUtilsTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
      "com.android.settings.gestures.SwipeBottomToNotificationPreferenceControllerTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
      "com.android.settings.gestures.SwipeBottomToNotificationSettingsTest"

Change-Id: Ifd2346a7694323d21eb424891987c8317847e7c5
2021-03-24 21:40:08 +08:00
Yanting Yang
4745f871a7 Add new summaries for homepage preferences
Bug: 183586663
Test: rebuilt
Change-Id: Iaff186924cce5a9e5bac4fb648ea1931ec13468a
2021-03-24 21:17:32 +08:00
Jason Chiu
3e54bd45f0 Merge "Settings homepage redesign" into sc-dev am: 923cd0de6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13946305

Change-Id: Ie3a2db6399e52d7c4e8542c2f219c2f206adcef8
2021-03-24 13:10:49 +00:00
Jason Chiu
923cd0de6c Merge "Settings homepage redesign" into sc-dev 2021-03-24 13:05:34 +00:00
Yanting Yang
0a3c066a89 Merge "Rename the screen title of all apps" into sc-dev am: 11ad3be029
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13981626

Change-Id: I494a54a6f7f4e4af5c596f84692bb867d625c5f4
2021-03-24 12:30:51 +00:00
Yanting Yang
11ad3be029 Merge "Rename the screen title of all apps" into sc-dev 2021-03-24 11:42:59 +00:00
Jason Chiu
c37dd71260 Settings homepage redesign
- Support new suggestion design
- Search bar relayout
- Move avatar icon to the top right corner

Test: robotest
Bug: 178068045

Change-Id: I07f1577488d6d1827ee07d55db6759f02d655d5f
2021-03-24 18:53:27 +08:00
Yanting Yang
5cfdd0750e Rename the screen title of all apps
Also update the title of App info entry on Apps page when there is no
recently opened apps.

Bug: 178774987
Test: robotests & visual
Change-Id: I1cd7ffc1a34c9fa65c93d9507bc45dfedc78f549
2021-03-24 17:52:07 +08:00
Yi-Ling Chuang
f740fb189d Merge "Update category names in Display page" into sc-dev am: ee01f3dd5b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13975108

Change-Id: Id4b7697a7bca1d0a2dced4b863945ad62444d140
2021-03-24 09:47:46 +00:00
Weng Su
c604759053 Merge "[Provider Model] Update fix connectivity icon" into sc-dev am: 95744749e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13975117

Change-Id: I2fc6a147f8d582b96abae866d2f8a363956f18fb
2021-03-24 09:47:30 +00:00
Yi-Ling Chuang
ee01f3dd5b Merge "Update category names in Display page" into sc-dev 2021-03-24 09:26:22 +00:00
Weng Su
95744749e5 Merge "[Provider Model] Update fix connectivity icon" into sc-dev 2021-03-24 09:22:06 +00:00
Weng Su
6800ef3832 [Provider Model] Update fix connectivity icon
- Screenshot:
  https://screenshot.googleplex.com/8ENoGQxANiAH9uj

Bug: 183576628
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=NetworkProviderSettingsTest

Change-Id: I4da1ca8c474e4c2d88c4bc79aceeac6c69f213ad
2021-03-24 14:58:07 +08:00
Ahaan Ugale
9b183778f2 Merge Autofill settings into Account settings.
Autofill settings are removed from Language and Input.

They are now in a new top-level Passwords and Accounts page.

Some polish work is left to match the new design.

Bug: 169455298
Test: manual - check settings page and some search keywords
Test: manual - add work profile and check the above again
Test: make RunSettingsRoboTests
Change-Id: I3981ce73fef63f06a40e61e894481d24284614ba
2021-03-23 23:48:09 -07:00
Jeremy Goldman
11bdc74dbb Merge "Connect VPN warning help icon with the network & internet page." into sc-dev am: 025301da1f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13975106

Change-Id: Id8771eae0a68c8ad6236cdca9b82d90fcb4eba76
2021-03-24 05:45:28 +00:00
Jeremy Goldman
025301da1f Merge "Connect VPN warning help icon with the network & internet page." into sc-dev 2021-03-24 05:18:46 +00:00
Yi-Ling Chuang
954bffe965 Update category names in Display page
Update Visibility to Appearance and General to Other display controls.

Fixes: 183554415
Test: rebuild and launch Display settings.
Change-Id: I622e78b43230201faebc2c77e9cccb8a425f1e5b
2021-03-24 10:49:27 +08:00
Arc Wang
40b8484582 Merge "Add Strings for Storage Settings" into sc-dev am: e57972c2d5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13970089

Change-Id: Ic3e09219eb4dddfc00da49c8df718925750a72da
2021-03-24 02:35:44 +00:00
Arc Wang
e57972c2d5 Merge "Add Strings for Storage Settings" into sc-dev 2021-03-24 01:44:54 +00:00
Jeremy Goldman
34e8f315e3 Merge "Gear Preference on VPN page includes subtitle if the vpn is an insecure type" into sc-dev am: bd9a65cca6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13960260

Change-Id: I7cb414842a1e51aedcbd6fb2750eaf7beb334239
2021-03-24 01:34:12 +00:00
Jeremy Goldman
023d1bc080 Merge "Warning / Info icon added for the VPN Preference" into sc-dev am: 3bc4e93029
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13960259

Change-Id: Iadbd13e3625061c31973ed9c903e2d2dcb849126
2021-03-24 01:33:58 +00:00
Jeremy Goldman
9e502b6a60 Merge "Legacy VPN Configuration Dialog includes error message if VPN is an insecure type." into sc-dev am: 37a7b7df48
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13960261

Change-Id: I1e3e4ee2755bfaaf50e2e4b23a78bb6bc847fb15
2021-03-24 01:33:12 +00:00
Jeremy Goldman
76de845f3d Connect VPN warning help icon with the network & internet page.
New VpnInfoPreference created to control the presence or absence
of the warning icon based on the vpn type.

The VpnPreferenceController type casts the preference based on
whether the provider model is enabled. It also detects legacy vpns
by using the LegacyVpnProfileStore, and comparing VPN profile
usernames with the active VPN config's user.

Screenshot: https://screenshot.googleplex.com/AfGrH8wRusTvbf4
Test: atest -c SettingsUnitTests
Bug: Bug: 176821216
Change-Id: I1aa93be5b90b404d9d9cb9bf47ea76fdc9aad401
Merged-In: I1aa93be5b90b404d9d9cb9bf47ea76fdc9aad401
(cherry picked from commit 7a68eb3b5e)
2021-03-24 01:07:28 +00:00