Commit Graph

22649 Commits

Author SHA1 Message Date
Sunny Shao
81fa20a4f1 Implement new "Open by default" page
- Use the new MainSwitch and TopIntro widgets.
- Create VerifiedLinksPreference and LeftSideCheckBoxPreference.
- Create ProgressDialogFragment and SupportedLinksDialogFragment.
- Retrieve the links info from DomainVerificationManager.
- Allow user to change the supported links into selected links.
- Refactor the ClearDefaultsPreference.
- Move AppLaunchSettings into intentpicker directory.

Bug: 177923646
Bug: 182530528
Test: manual test
Change-Id: I935a2fdd0f62cdb8b8d3210fb2f800f682249cb7
2021-03-25 16:01:28 +08:00
Almaz Mingaleev
1ba515b224 Merge "Show pop-up banner when Location is off and user tries to enable GeoTZ." into sc-dev am: 206f12fd0a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13930308

Change-Id: Ie4fa75d85250bb0e4e482a7b9149099d374e973d
2021-03-25 07:28:12 +00:00
Almaz Mingaleev
206f12fd0a Merge "Show pop-up banner when Location is off and user tries to enable GeoTZ." into sc-dev 2021-03-25 07:09:43 +00:00
Ahaan Ugale
7c109b0ab1 Merge "Use a Quantity String for the autofill password count." into sc-dev am: 404e45d03a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13992105

Change-Id: I02bb18c3f715856f349addf3311daa333601086b
2021-03-25 07:06:51 +00:00
Arc Wang
fadbe5b070 Launch StorageDashboardFragment instead of StorageSettings
Since users can use StorageDashboardFragment to choose storages,
it's not necessary to choose storages in StorageSettings.

Bug: 174964885
Test: make RunSettingsRoboTests ROBOTEST_FILTER=LowStorageSliceTest
      manual
      Launch Storage Settings.
Change-Id: Ida61052c4294899099914d62da24ca2937a894a0
2021-03-25 14:43:39 +08:00
Ahaan Ugale
404e45d03a Merge "Use a Quantity String for the autofill password count." into sc-dev 2021-03-25 06:30:37 +00:00
Ahaan Ugale
507d987aa3 Fix missing accounts category for single profile case.
Bug: 169455298
Test: manual - with no accounts, with an account, with work profile.
 Clicking all preferences work as expected.
Test: make RunSettingsRoboTests
Change-Id: Ie206c52b259d2b6610aa2c6ea52cb276d49266a3
2021-03-24 22:57:29 -07:00
Curtis Belmonte
475c9a8828 Merge "Add new strings for face auth/enrollment" into sc-dev am: 59cf802ee4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13987721

Change-Id: I3f46d6f36250708397d4eac01929ee84d97ac94d
2021-03-25 04:46:35 +00:00
Curtis Belmonte
59cf802ee4 Merge "Add new strings for face auth/enrollment" into sc-dev 2021-03-25 04:31:11 +00:00
Jeremy Goldman
a3ca0b89c0 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: I6b50168ca0fdf370a97bdb8881224a8d115b6c19
2021-03-25 04:07:49 +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
96ede67ef9 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: I39a3cca7bce2fd8a6de3df0a68bb8c34d8cddd3c
2021-03-25 03:04:31 +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
944e0921be 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: I391b5b59e767ebcc42475ef9a7998cef2ab2bbe3
2021-03-25 02:35:33 +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
9e5b9d3658 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: I848c75edebbafb175a6e48cabef38ebfef6ea6e1
2021-03-25 01:13:56 +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
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
d095f6265f 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: I982dd0ca996dd1ee562abd24b62b7ef88bff4c4e
2021-03-24 15:44:52 +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
d75463cb1e 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: I0c2c63ff60ccb4652801cbfd14ac4e17a579f701
2021-03-24 15:20:16 +00:00
Ahaan Ugale
c5761363d5 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: I885977691d21e665af4d7b239778245eea507548
2021-03-24 15:19:59 +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
83498d4b82 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: I56cc42638e44805f10ee493456f4ad2162ab88f7
2021-03-24 14:20:56 +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
94d4e539d0 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: Ib7238f1ca180ff3f7d2a2bb2af62cb94ae4a0281
2021-03-24 13:10:46 +00:00
Jason Chiu
923cd0de6c Merge "Settings homepage redesign" into sc-dev 2021-03-24 13:05:34 +00:00
Yanting Yang
c9548fa263 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: I65ca45a523f6c6d4461d23925b33bbbfd1e296de
2021-03-24 12:30:31 +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
dc3abf3e53 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: Icc76ff3eb9cf8ad2f9a54658312e6dbaa3d79519
2021-03-24 09:45:14 +00:00
Weng Su
e583c1aaa9 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: Ia440668240b8061239ce10d93e48b688bcde8561
2021-03-24 09:44:57 +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
025301da1f Merge "Connect VPN warning help icon with the network & internet page." into sc-dev 2021-03-24 05:18:46 +00:00