Commit Graph

80613 Commits

Author SHA1 Message Date
SongFerng Wang
34c8d35cd3 Merge "Change the behavior of notifyAllowedNetworkTypesChanged." am: 3ac3cce15b am: b3f2e9090a
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1641828

Change-Id: I5ba679ca3d2a6f6411dae1ffdc441527508d4763
2021-03-22 03:56:36 +00:00
SongFerng Wang
b3f2e9090a Merge "Change the behavior of notifyAllowedNetworkTypesChanged." am: 3ac3cce15b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1641828

Change-Id: I74750b2abd69c47b753cd3ee6e69e4ec1bbd7339
2021-03-22 03:12:24 +00:00
Chiachang Wang
4e5434d7ad Merge "Remove hidden @Transport usage" into sc-dev am: b2eb0317a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13922079

Change-Id: I153c439b1ca1ef5391e18e2c65d5f66d9174debd
2021-03-22 03:10:50 +00:00
Chiachang Wang
b2eb0317a4 Merge "Remove hidden @Transport usage" into sc-dev 2021-03-22 02:43:59 +00:00
TreeHugger Robot
ed1cadb2d3 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: I8ade432c4309642b4f462c90f404ea84e21e79b9
2021-03-22 02:30:14 +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
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
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
6f987e425d 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: I2472e4742faa82432fc604dad2cdeed4e125bdf0
2021-03-19 17:03:14 +00:00
Rubin Xu
88cd3dae5f Merge "Fix Settings password robo tests." into sc-dev 2021-03-19 16:23:59 +00:00
TreeHugger Robot
c1c48a0652 [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: I764b3382f6cd53ee25bd3e012f09f8d49430737f
2021-03-19 16:05:40 +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
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
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
657a9062c7 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: I522fe4447d4c5c5a62d271471ea907720b9075df
2021-03-19 10:47:32 +00:00
Zoey Chen
90498114d5 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: Ib6752d66e49602f789664d15cdb90de0be7a955c
2021-03-19 10:47:20 +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
3feb563af6 [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: I89856cb2642cbf9b8d2f299c0d8d39a88891ea0c
2021-03-19 09:59:31 +00:00
Chiachang Wang
d7be0629c6 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: I2e6bd96e7e7a2577b8f0fc6049d4a9d5938b0498
2021-03-19 09:59:10 +00:00
TreeHugger Robot
f2058dba16 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: I414903cb09f7878da40ca4a5a24e7607cc46f710
2021-03-19 09:58:18 +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
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
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
f090f2139c 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: I809c4fcbfa279e9bd60d5a14fcfd15aedd50d933
2021-03-19 08:04:50 +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