Commit Graph

80732 Commits

Author SHA1 Message Date
TreeHugger Robot
40cc4f0d4c Merge "Hide edit menu if network is uneditable" into sc-dev am: 8bdbdf4b91
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13916847

Change-Id: I0f5cb8d9de98a43a027bc1c46994285acf309103
2021-03-22 02:29:47 +00:00
TreeHugger Robot
8bdbdf4b91 Merge "Hide edit menu if network is uneditable" into sc-dev 2021-03-22 01:53:59 +00:00
sallyyuen
b75902f0ba Reduce RBC test flakiness
Read the setting directly, which is successfully being set by the
display manager

Bug: 182099323
Test: forrest
Change-Id: Ia68c8206187995fc5a615d6815f04b8ad01f9312
2021-03-21 18:03:35 +00:00
SongFerng Wang
3ac3cce15b Merge "Change the behavior of notifyAllowedNetworkTypesChanged." 2021-03-21 16:45:59 +00:00
TreeHugger Robot
9c912b76c6 [automerger skipped] Merge changes from topic "revamp storage settings header" into sc-dev am: d7fff5790a -s ours
am skip reason: skip tag Change-Id I85fa117ff0a49ec7a53ba36580591c7ce7f5a8dc with SHA-1 ba79fe6676 is already in history

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

Change-Id: Iec1d57d81fc875cfda6b940da4c717ca63ba4311
2021-03-20 16:48:58 +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
Arc Wang
5fa38bbba2 Merge changes from topic "revamp storage settings header - master"
* changes:
  Add option menu in StorageDashboardFragment
  Revamp Storage Settings header part
2021-03-20 15:31:21 +00:00
Oli Lan
dd091f8bae 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: I4f84bdbba6ca340ed140c7033247737c53bd2c76
2021-03-20 12:43:15 +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
Peter Kalauskas
10adda880d Introduce guest user metrics
Bug: 169783558
Test: statsd_testdrive -terse 97
Change-Id: I87ce1dba20daadfba68bfff08d9b875872fd07a1
2021-03-19 19:16:23 -07:00
Rubin Xu
3bc1027ce9 Merge "Fix Settings password robo tests." into sc-dev am: 88cd3dae5f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13930307

Change-Id: Ibd2b04d640dbdcf5a0d92d4bbdd5fdcf8563dc07
2021-03-19 17:03:58 +00:00
Rubin Xu
88cd3dae5f Merge "Fix Settings password robo tests." into sc-dev 2021-03-19 16:23:59 +00:00
TreeHugger Robot
7cf3b8e846 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 3fe6e67bda -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4dca9a5bee9ae29452dd38e320c067c39f9bc9bb
2021-03-19 16:05:30 +00:00
TreeHugger Robot
605178344c Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-03-19 15:37:58 +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
Chiachang Wang
3157509885 Remove hidden @Transport usage
NetworkCapabilities is moving to connectivity mainline module.
The hidden methods and constants accesses are not allowed
anymore for Settings, so remove the usage.

Bug: 172183305
Test: make RunSettingsRoboTests ROBOTEST_FILTER=\
      com.android.settings.network.InternetUpdaterTest
Change-Id: I3adec99748451f32698ac19bfeaeb9db43282e3e
2021-03-19 21:03:25 +08:00
Bill Yi
1bb0aa9c07 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If3d9a1fa2a2e441308c16e2e2bee2f32d7484182
2021-03-19 12:57:04 +00:00
Wesley Wang
c6d68b0b12 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: I5450f605db779b349155d55430c1c55e9a64250c
2021-03-19 12:43:27 +00:00
TreeHugger Robot
172a3e0251 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: If528451bc8b46de7a767e9d222d73dc76379ac90
2021-03-19 12:42:08 +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
Rubin Xu
d9b740df26 Fix Settings password robo tests.
Bug: 151913744
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.password
Change-Id: I7d4f221f4f4c0375f06780f907b769946aebd272
2021-03-19 11:37:25 +00:00
Chiachang Wang
9806f2b3b8 Merge "Modify the value of intent-filter" into sc-dev am: ba3bf73e86
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13640540

Change-Id: I0e90eadbae48e59419ebdc8ba8c7972d851da837
2021-03-19 10:47:38 +00:00
Zoey Chen
12496ec5b5 Merge "[Settings] Revert the test for using mPhoneStateListener since the Robolectric test is broken" into sc-dev am: fd52e36de9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13922073

Change-Id: I9bfee4fc90425d4a7f3fb97d94f0ae93d60a86d3
2021-03-19 10:47:25 +00:00
Chiachang Wang
ba3bf73e86 Merge "Modify the value of intent-filter" into sc-dev 2021-03-19 10:40:49 +00:00
Zoey Chen
fd52e36de9 Merge "[Settings] Revert the test for using mPhoneStateListener since the Robolectric test is broken" into sc-dev 2021-03-19 10:25:09 +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
Chiachang Wang
21c0edc3fa [automerger skipped] Merge "Remove hidden connectivity methods access" am: 3e737c11db am: 0080dfa65d am: 6c7f70908e -s ours am: a93cdeb9e3 -s ours
am skip reason: skip tag Change-Id Iec4dab5d9fa12dedcf69a1cfe2a8be0956bc0d79 with SHA-1 003e27d146 is already in history

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

Change-Id: Ifcb7c2a43eddf5480ce3f0bb10ac8b8ccc407b3b
2021-03-19 09:59:32 +00:00
Chiachang Wang
3ed31bff4d Merge "Replace the way to get the network for no internet dialog" am: f26f579c8d am: 33855bfd7e am: b2da781ff9 am: a1abb8158d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1644547

Change-Id: Iaae1ee394533b1f1ec0892296b7f78b3ba65fcf5
2021-03-19 09:59:02 +00:00
TreeHugger Robot
5d28b9039f Merge "Fix jank in app pinning page" into sc-dev am: ebcb3308ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13922072

Change-Id: I0c82fe96c17f235fd895c505f46ed0b360c1ac2c
2021-03-19 09:57:36 +00:00
Chiachang Wang
a93cdeb9e3 [automerger skipped] Merge "Remove hidden connectivity methods access" am: 3e737c11db am: 0080dfa65d am: 6c7f70908e -s ours
am skip reason: skip tag Change-Id Iec4dab5d9fa12dedcf69a1cfe2a8be0956bc0d79 with SHA-1 003e27d146 is already in history

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

Change-Id: Ic929f6b4eeaadff3d540184588050b57b88fccfa
2021-03-19 09:44:46 +00:00
Chiachang Wang
a1abb8158d Merge "Replace the way to get the network for no internet dialog" am: f26f579c8d am: 33855bfd7e am: b2da781ff9
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1644547

Change-Id: I1a89caad4178c56e3bc45e7aa1ed5bb3ad79ce78
2021-03-19 09:43:49 +00:00
TreeHugger Robot
ebcb3308ee Merge "Fix jank in app pinning page" into sc-dev 2021-03-19 09:27:46 +00:00
Chiachang Wang
6c7f70908e Merge "Remove hidden connectivity methods access" am: 3e737c11db am: 0080dfa65d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1644546

Change-Id: I5add5b1a97885b42c324a4e9498abc5196d72557
2021-03-19 09:03:03 +00:00
Chiachang Wang
b2da781ff9 Merge "Replace the way to get the network for no internet dialog" am: f26f579c8d am: 33855bfd7e
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1644547

Change-Id: I44ab529b8251c1f4630186c74ba2d16b5030e104
2021-03-19 09:02:20 +00:00
Yanting Yang
359ccaf0d1 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: I936c6fc6364a2074e1c7ddad71a225e722b79ea5
2021-03-19 09:01:36 +00:00
Zoey Chen
927a1cac10 [Settings] Revert the test for using mPhoneStateListener since the Robolectric test is broken
Bug: 183066948
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=AirplaneModeEnablerTest
Change-Id: Ic5c67a9a2996f40fcb07d0840f5c677494e1dc0a
2021-03-19 17:00:00 +08:00
Yanting Yang
5fd10eed56 Merge "Change order of Security and Privacy on Homepage" into sc-dev 2021-03-19 08:37:41 +00:00
Chiachang Wang
0080dfa65d Merge "Remove hidden connectivity methods access" am: 3e737c11db
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1644546

Change-Id: I3d2e0a9d19ceb8c9857f1bccb81a4dcea99f4831
2021-03-19 08:30:45 +00:00
Chiachang Wang
33855bfd7e Merge "Replace the way to get the network for no internet dialog" am: f26f579c8d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1644547

Change-Id: Ic6d6eff65a4047754726ad72a3f66f0ab6ae3710
2021-03-19 08:27:56 +00:00
Tsung-Mao Fang
0d27676bba Fix jank in app pinning page
In the original design, we will hide the
"lock device when unpinning" while master toogle is disabled.

To prevent the jank issue, we only disabled this setting now.

Test: Rebuilt rom and check the ui
Fix: 182958597
Change-Id: I96e3488f7326c310d3e1e7f22e63a4c77db8dafd
2021-03-19 16:18:29 +08:00
Chiachang Wang
3e737c11db Merge "Remove hidden connectivity methods access" 2021-03-19 08:13:06 +00:00
Jeremy Goldman
315f812460 Merge "Add goldmanj to the Settings' vpn2 directory Owners file" am: 19c5d0a749 am: 218ca3cbe9 am: 8e8d13fd83 am: 37a7786c2b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1634463

Change-Id: I12e571e44bdce1a745df63926b07815b97001eae
2021-03-19 08:04:24 +00:00
Chiachang Wang
f26f579c8d Merge "Replace the way to get the network for no internet dialog" 2021-03-19 07:54:24 +00:00
Jeremy Goldman
37a7786c2b Merge "Add goldmanj to the Settings' vpn2 directory Owners file" am: 19c5d0a749 am: 218ca3cbe9 am: 8e8d13fd83
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1634463

Change-Id: I2ddb110127fd12877e2eb1fa807a8ddffc76c839
2021-03-19 07:47:38 +00:00
Chiachang Wang
757391006b Merge "Remove hidden connectivity methods access" into sc-dev am: f517a120d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13916851

Change-Id: I497f689ccccdac35602f357388741696be9f5bd3
2021-03-19 07:42:21 +00:00