Commit Graph

22789 Commits

Author SHA1 Message Date
Jeremy Goldman
bd9a65cca6 Merge "Gear Preference on VPN page includes subtitle if the vpn is an insecure type" into sc-dev 2021-03-24 01:01:07 +00:00
Jeremy Goldman
3bc4e93029 Merge "Warning / Info icon added for the VPN Preference" into sc-dev 2021-03-24 01:00:38 +00:00
Jeremy Goldman
37a7b7df48 Merge "Legacy VPN Configuration Dialog includes error message if VPN is an insecure type." into sc-dev 2021-03-24 01:00:17 +00:00
Rajeev Kumar
88127c8111 Merge "Update Privacy Settings text for a financed device" into sc-dev am: d85317e4e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13879465

Change-Id: I4b11a3446826546fac84adc538d5831baf385947
2021-03-23 21:29:30 +00:00
Rajeev Kumar
d85317e4e5 Merge "Update Privacy Settings text for a financed device" into sc-dev 2021-03-23 20:55:27 +00:00
Almaz Mingaleev
fcf1fcfe9b Show pop-up banner when Location is off and user tries to enable GeoTZ.
As of now GeoTZ state remains unchanged even if user enables
Location toggle.

Bug: 152746236
Test: m -j30 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.datetime.LocationTimeZoneDetectionPreferenceControllerTest"
Test: checked manually that dialog opens Location settings page
Change-Id: I5fd3288e9d5a7aac3bc82da6944b4ccd6bb9e0f5
2021-03-23 19:43:49 +00:00
Robin Lee
634cd0b4e4 Move alarms_and_reminders strings to SettingsLib
This allows form-factor-specific Settings apps to use the strings as
well as phone settings.

Test: make installclean; make Settings; make TvSettings;
Test: make -j RunSettingsRoboTests
Bug: 181284165
Change-Id: Ibc28160999d82ec6b1f6437ae887925df29dfaff
2021-03-23 19:41:40 +00:00
Oli Lan
2ceb0d8231 Merge "Update strings for clipboard access notification setting." into sc-dev am: 8a2e489ac8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13959958

Change-Id: I4b93ab5fd8e31979db0da4b1d8269bf98ba246f5
2021-03-23 18:09:48 +00:00
Salud Lemus
930df91e66 Update Privacy Settings text for a financed device
Bug: 182802692
Test: Used a test device that is registered via ZT
Test: m RunSettingsRoboTests ROBOTEST_FILTER=EnterprisePrivacySettingsTest
Test: m RunSettingsRoboTests ROBOTEST_FILTER=PrivacySettingsEnterprisePreferenceTest
Test: m RunSettingsRoboTests ROBOTEST_FILTER=PrivacySettingsFinancedPreferenceTest

Change-Id: Icc131252430cd147e2a06ba2aa260f6ea26734bb
2021-03-23 16:06:01 +00:00
Oli Lan
468278661f Update strings for clipboard access notification setting.
This changes the strings for the clipboard notification
setting in line with UX recommendations.

Bug: 182349993
Test: Build & install, check setting is displayed correctly
Change-Id: Ife2cf4fa6ee98069170ec02a0c3fb7a0880a90b8
2021-03-23 15:30:08 +00:00
Arc Wang
711008eb2c Add Strings for Storage Settings
Bug: 170918505
Test: build pass
Change-Id: If977e93087602946163726b47c737f2a36b0bb38
2021-03-23 20:57:31 +08:00
Weng Su
8d073e588e Merge "[Provider Model] Remove unused strings." into sc-dev am: f732a95ffd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13960249

Change-Id: I6680990e0c8c049a02f13c2348089a35e7dca5f6
2021-03-23 08:42:04 +00:00
Jeremy Goldman
ab8eeca966 Gear Preference on VPN page includes subtitle if the vpn is an insecure
type

Test: atest SettingsUnitTests
Screenshot: https://screenshot.googleplex.com/BWfUf6hcHNnbLvH
Bug: 176821216
Change-Id: I2bee3ba100bfe636221264492a2ce98b6a664cd5
Merged-In: I2bee3ba100bfe636221264492a2ce98b6a664cd5
(cherry picked from commit 3922249709)
2021-03-23 08:38:12 +00:00
Jeremy Goldman
8deea775df Warning / Info icon added for the VPN Preference
Within the Provider Model, we would like to show a warning icon if the
user is detected to be using an insecure vpn type. This adds an icon for
that warning, and an imageview containing that layout to settings

Icon: https://screenshot.googleplex.com/644ZsGtVDp6hgZq
Bug: 176821216
Test: atest SettingsUnitTests
Change-Id: I59fd7765876fe58fe2c55929f711c04a45abbe09
Merged-In: I59fd7765876fe58fe2c55929f711c04a45abbe09
(cherry picked from commit a7774a10e0)
2021-03-23 08:37:29 +00:00
Jeremy Goldman
222dd91102 Legacy VPN Configuration Dialog includes error message if VPN is an
insecure type.

Screenshot: https://screenshot.googleplex.com/53pAJuhTDLJW4Em
Bug: 176821216
Test: atest SettingsUnitTests

Change-Id: I528d46654a39df04b647d6d0137aaf80e7adb05c
Merged-In: I528d46654a39df04b647d6d0137aaf80e7adb05c
(cherry picked from commit 5d92ad5232)
2021-03-23 08:37:11 +00:00
Weng Su
c05d21e2fa Merge "[Provider Model] Update Internet preference summary" into sc-dev am: 5ac8414834
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13946630

Change-Id: I7c9f89b4c4c9b074b4a7941b6bb4bdde0a51cc6d
2021-03-23 03:51:43 +00:00
Weng Su
22339eb505 [Provider Model] Remove unused strings.
Bug: 183459230
Test: build passed
Change-Id: I4ca000659172e568245c7a431f571be3d83e50e0
2021-03-23 11:40:36 +08:00
Weng Su
5ac8414834 Merge "[Provider Model] Update Internet preference summary" into sc-dev 2021-03-23 03:21:08 +00:00
Weng Su
784eb94a14 [Provider Model] Update Internet preference summary
- Show "Networks available" summary instead of "Not connected" when no
network connected

- Screenshot:
  https://screenshot.googleplex.com/AxhtTqpxXVSCT5o

Bug: 182244261
Test: manual test
atest -c InternetPreferenceControllerTest

Change-Id: If32f656d7d89a8b19c4da4876ccc0d1cf92262a0
2021-03-22 22:01:55 +08:00
SongFerng Wang
b5ae2b77e0 Merge "Provider model CarrierItem's subtitle show no connection" into sc-dev am: 826a146c20
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13922069

Change-Id: I4ec2add867289736d1dd8b6dc2147bb26ff24a9b
2021-03-22 08:15:21 +00:00
SongFerng Wang
826a146c20 Merge "Provider model CarrierItem's subtitle show no connection" into sc-dev 2021-03-22 07:45:20 +00:00
SongFerngWang
fb2a1d9db9 Provider model CarrierItem's subtitle show no connection
CarrierItem's subtitle show no connection when Wi-Fi
off + no service

Bug: 182433548
Test: atest ProviderModelSliceTest
atest ProviderModelSliceHelperTest
atest NetworkProviderWorkerTest
atest InternetConnectivityPanelTest
make RunSettingsRoboTests -j

Change-Id: I04778cf2b184c0a75dc6999ffde011a9ad5e0690
2021-03-22 14:21:55 +08:00
TreeHugger Robot
ce614053db Merge changes from topic "revamp storage settings header" into sc-dev am: d7fff5790a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13715539

Change-Id: Ia90e39872d9992d0fd2f14ca82f49d70efed0a86
2021-03-20 16:49:55 +00:00
Arc Wang
33d0055d25 Revamp Storage Settings header part am: d496a737ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13693473

Change-Id: I8767b1bb9affa8e8e4a9f43cfc1c2fe088e734cc
2021-03-20 16:49:52 +00:00
TreeHugger Robot
d7fff5790a Merge changes from topic "revamp storage settings header" into sc-dev
* changes:
  Add option menu in StorageDashboardFragment
  Revamp Storage Settings header part
2021-03-20 16:06:50 +00:00
Oli Lan
a14a9a1065 Merge "Add a setting to turn clipboard access notifications on/off." into sc-dev am: 228cc886ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13872509

Change-Id: I40d7e474bbdf7ec0c1d4f22ea9395178617e8839
2021-03-20 12:43:41 +00:00
Oli Lan
228cc886ae Merge "Add a setting to turn clipboard access notifications on/off." into sc-dev 2021-03-20 12:07:41 +00:00
TreeHugger Robot
3fe6e67bda Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-03-19 15:32:50 +00:00
Bill Yi
64b1135ccf Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I751f6e9c87a337b5bea1bae51d0e920e4788a7b0
2021-03-19 13:24:39 +00:00
Wesley Wang
72ad7f8517 Merge "Reindexing Settings Battery main page(1/2)" into sc-dev am: 5f225c611b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13922077

Change-Id: Ica5b8b056a33e59d21c12b5741a0d815f1583ad1
2021-03-19 12:43:22 +00:00
TreeHugger Robot
b5bfa69eb6 Merge "Change Magnification Mode Settings UI" into sc-dev am: b4205dc1bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13871567

Change-Id: I58bc2a8458a7e9fd51c54dde952df11e26fd0e04
2021-03-19 12:43:07 +00:00
Wesley Wang
5f225c611b Merge "Reindexing Settings Battery main page(1/2)" into sc-dev 2021-03-19 12:24:50 +00:00
TreeHugger Robot
b4205dc1bd Merge "Change Magnification Mode Settings UI" into sc-dev 2021-03-19 12:07:17 +00:00
ryanlwlin
0272002335 Change Magnification Mode Settings UI
To support new settings UI, we change the UI from scrollview
to listview to simplify UI initialization.

Bug: 182118397
Test: atest MagnificationSettingsFragmentTest
      and manual test.
Change-Id: Ib65dc139ba54f2281e5cb7e2dc55b3574ad2c733
2021-03-19 18:24:26 +08:00
Arc Wang
c22749530b Add option menu in StorageDashboardFragment
Add option menu for each kind of storage

1. Unsupported disk: Format.
2. Missing volume record: Forget.
3. Unmounted storage: Mount.
4. Default internal storage: Migrate.
5. Private volume: Rename / Unmount / Format as portable / Migrate.
6. Publuc volume: Rename / Unmount / Format / Format as internal.

Bug: 174964885
Test: atest VolumeOptionMenuControllerTest
Change-Id: I85fa117ff0a49ec7a53ba36580591c7ce7f5a8dc
Merged-In: I85fa117ff0a49ec7a53ba36580591c7ce7f5a8dc
2021-03-19 18:08:48 +08:00
Arc Wang
d496a737ce Revamp Storage Settings header part
1. Add new object StorageEntry to encapsulate VolumeInfo and
   unsupported DiskInfo and missing VolumeRecord.
2. Replaces StorageSummaryDonutPreference with UsageProgressBarPreference.
3. Add storage select spinner.
4. Add a "Free up storage" preference to replace "Manage storage" button.

Bug: 174964885
Test: atest com.android.settings.deviceinfo.storage
      atest com.android.settings.deviceinfo
      manual
      Insert an USB drive, select the drive in StorageDashboardFragment
      and observe UI.
Change-Id: I83877f76869414de4fb2788b6b18fe507aa5cfcf
Merged-In: I83877f76869414de4fb2788b6b18fe507aa5cfcf
2021-03-19 18:08:38 +08:00
Wesley.CW Wang
2d578bef5e Reindexing Settings Battery main page(1/2)
- Reorder index and remove footer's divider
 Screenshots"
   https://screenshot.googleplex.com/643w3WEWJfe7uV2.png
   https://screenshot.googleplex.com/6DYSf28VCo4nBZ8.png

Bug: 177407113
Test: make RunSettingsRoboTests -j40
Change-Id: I7e5f2c04d75d0fe24cfd719611043e23675c4dfe
2021-03-19 18:04:57 +08:00
Yanting Yang
d0980fa4ad Merge "Change order of Security and Privacy on Homepage" into sc-dev am: 5fd10eed56
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13916856

Change-Id: Ifb56c9583fb0a07df292048811221ce733527435
2021-03-19 09:01:30 +00:00
Yanting Yang
32faee27f4 Change order of Security and Privacy on Homepage
Fixes: 180093517
Test: visual
Change-Id: I853b36ce5d6f2e9e365524df4860fb9e522c9321
2021-03-19 12:14:05 +08:00
Yanting Yang
a985b4af29 Merge "Adjust preference order to correct the position of Accounts" into sc-dev am: 69e911b66b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13916858

Change-Id: Ib3d363a69a44a0bb067f312e06a1a284c4b8ce4a
2021-03-19 03:25:23 +00:00
Yanting Yang
69e911b66b Merge "Adjust preference order to correct the position of Accounts" into sc-dev 2021-03-19 03:02:14 +00:00
TreeHugger Robot
44fe23216e Merge "Add Media Management Apps activity in Special App Access" into sc-dev am: 2d932aa5fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13824387

Change-Id: I9e9c54489623bf10123c567fd5132ed947408907
2021-03-19 01:46:32 +00:00
TreeHugger Robot
2d932aa5fb Merge "Add Media Management Apps activity in Special App Access" into sc-dev 2021-03-19 01:00:40 +00:00
Sally Yuen
82419bb08f Merge "Update RBC UI with latest strings" into sc-dev am: 952f98941f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13888786

Change-Id: I5cc5bd31009185981b4b175bb3fc153550b2a914
2021-03-18 17:23:46 +00:00
Sally Yuen
952f98941f Merge "Update RBC UI with latest strings" into sc-dev 2021-03-18 16:10:39 +00:00
Yanting Yang
187c9a344f Adjust preference order to correct the position of Accounts
Bug: 183070484
Test: visual
Change-Id: I551b326067966ed3c8db74c264596ec09b8bd8db
2021-03-18 23:37:18 +08:00
TreeHugger Robot
2c25257173 Merge "Refinements for DND settings" into sc-dev am: 11ea8316e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13902435

Change-Id: I3cf56466a4a0752cd2dad7ea7726cf550889ff30
2021-03-18 15:09:37 +00:00
TreeHugger Robot
11ea8316e0 Merge "Refinements for DND settings" into sc-dev 2021-03-18 14:35:19 +00:00
Yanting Yang
e7eaa7c701 Merge "Remove Advanced category from Network & internet" into sc-dev am: 48cc107acd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13916845

Change-Id: I59880d760b723f28ecdb4557f6faa5d8f9c6621c
2021-03-18 11:38:55 +00:00
Yanting Yang
48cc107acd Merge "Remove Advanced category from Network & internet" into sc-dev 2021-03-18 10:59:26 +00:00