Weng Su
927481b88f
Merge "[Provider Model] Bring back the "turn on Wi-Fi automatically" option" into sc-dev am: b30db25d8c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13946493
Change-Id: I2dcd5b6ee3d05af196c1bd46ca00ce29e3e54d13
2021-03-23 03:52:28 +00:00
Weng Su
7d014ffba6
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: I00bb8802a22b50833dd244a9517a01f7f659ab9a
2021-03-23 03:51:51 +00:00
Weng Su
b30db25d8c
Merge "[Provider Model] Bring back the "turn on Wi-Fi automatically" option" into sc-dev
2021-03-23 03:24:18 +00:00
Weng Su
5ac8414834
Merge "[Provider Model] Update Internet preference summary" into sc-dev
2021-03-23 03:21:08 +00:00
Jeremy Goldman
af7371cdcb
Merge "Legacy VPN Configuration Dialog includes error message if VPN is an insecure type."
2021-03-23 02:38:05 +00:00
Bill Lin
2bd88c6513
Merge "2/ Set Swipe bottom for notification OFF by default" into sc-dev am: 9f046e55b6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13856783
Change-Id: I48372fe8a551f218a6636e381b47c823dcb5b5ee
2021-03-23 01:52:06 +00:00
Bill Lin
9f046e55b6
Merge "2/ Set Swipe bottom for notification OFF by default" into sc-dev
2021-03-23 01:22:38 +00:00
Peter Kalauskas
1f160cf666
Merge "Introduce guest user metrics" into sc-dev am: 01f77d8e00
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13935767
Change-Id: Ic9949bb8a11addd5742b856c65ef883f65b71e55
2021-03-22 20:54:11 +00:00
Peter Kalauskas
01f77d8e00
Merge "Introduce guest user metrics" into sc-dev
2021-03-22 20:17:20 +00:00
Weng Su
bec3144c11
[Provider Model] Bring back the "turn on Wi-Fi automatically" option
...
- Screenshot:
https://screenshot.googleplex.com/92uXX6KQCqWxvub
Bug: 182620666
Test: manual test
make RunSettingsRoboTests
ROBOTEST_FILTER=WifiWakeupPreferenceControllerTest
Change-Id: Ic0ce47a6d9a374fce9752d67a9c2d083486b9083
2021-03-22 22:28:55 +08: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
Arc Wang
86940142ad
Merge "Only show storage category stats preferences for private volumes" into sc-dev am: e98a5a9932
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13922070
Change-Id: I260581ae4f06bb976f8a9b2b90a25a3c34687998
2021-03-22 11:41:32 +00:00
Arc Wang
e98a5a9932
Merge "Only show storage category stats preferences for private volumes" into sc-dev
2021-03-22 11:06:47 +00:00
Jeremy Goldman
5d92ad5232
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
2021-03-22 18:14:26 +08:00
Jeremy Goldman
3216c16fe4
Merge "Connect VPN warning help icon with the network & internet page."
2021-03-22 10:13:44 +00:00
Alex Johnston
beff3ecba9
Merge "Allow enabled IMEs to be disabled in Settings" into sc-dev am: caf50d1203
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13676765
Change-Id: I2ccba2a65579c22293f626bba670e1d573ce936b
2021-03-22 09:54:54 +00:00
Alex Johnston
caf50d1203
Merge "Allow enabled IMEs to be disabled in Settings" into sc-dev
2021-03-22 09:26:27 +00:00
Arc Wang
40396d532f
Only show storage category stats preferences for private volumes
...
Hide it because there is no framework API to get storage
category stats of public volumes.
Bug: 174964885
Test: manual
Observe storage settings UI of a USB flash drive.
Change-Id: I7272cd18c186793f86548a87b5cb88bb957ff8d5
2021-03-22 16:28:59 +08:00
Jeremy Goldman
7a68eb3b5e
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.
note: because of the junit test migration, I will add test
files in a separate CL
Screenshot: https://screenshot.googleplex.com/AfGrH8wRusTvbf4
Test: atest -c SettingsUnitTests
Bug: Bug: 176821216
Change-Id: I1aa93be5b90b404d9d9cb9bf47ea76fdc9aad401
2021-03-22 16:26:24 +08:00
SongFerng Wang
552639ac25
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: I26dca0c67486767ad996fe29869e06848f5d8bbe
2021-03-22 08:14:49 +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
Tiffany Nguyen
f5ce0c371f
Add new battery settings feature provider. am: 34fb874647
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13915239
Change-Id: Ica2285c297ddc740793bd3a0f0bca08b4f8ecd50
2021-03-22 05:45:46 +00:00
Tiffany Nguyen
34fb874647
Add new battery settings feature provider.
...
Test: No-op class
Bug: 181827863
Change-Id: Iafd4c6128ba63d3c794c076edaaa7638e3de3a42
2021-03-22 05:22:38 +00:00
Chiachang Wang
9c918200e3
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: I3592c4b292dbaf8930438d0f2f2c1d92514035d3
2021-03-22 03:10:16 +00:00
Chiachang Wang
b2eb0317a4
Merge "Remove hidden @Transport usage" into sc-dev
2021-03-22 02:43:59 +00:00
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
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
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
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
TreeHugger Robot
b4205dc1bd
Merge "Change Magnification Mode Settings UI" into sc-dev
2021-03-19 12:07:17 +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
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
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
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
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
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
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
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