Zhen Zhang
1f99d6a4b5
Update summary based on hibernated apps number
...
Update the summary of "unused apps" based on how many apps are
hibernated or auto revoked.
Test: HibernatedAppsPreferenceControllerTest
Bug: 181172051
Change-Id: I274eb3c0ada3d063937368232f31e52c20287552
2021-03-23 11:10:43 -07:00
Dmitri Plotnikov
5cc7c7c1de
Merge "Change getStatsStartRealtime to getStatsStartTimestamp" into sc-dev
2021-03-23 17:29:35 +00:00
Bonian Chen
d5ccde31a8
[Settings] Support getSystemService(Class<T>)
...
Add getSystemService(Class<T>) to align the capability with framework
part.
This is a back port from aosp/1639943, aosp/1645152 and aosp/1648047
Bug: 179640862
Test: local
Change-Id: I035db55a71f94000ca35f8d71f03c19208423c73
2021-03-24 00:59:46 +08:00
Salud Lemus
a9a24372fd
Update Managed Device Info text for a financed device
...
Bug: 183448705
Test: Used a test device that is registered via ZT
Test: m RunSettingsRoboTests ROBOTEST_FILTER=EnterprisePrivacyPreferenceControllerTest
Change-Id: Iea2567e7943b122c6c6d2772380f8ddd57066a3f
2021-03-23 16:39:56 +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
Janis Danisevskis
48e5f318db
Merge "Keystore 2.0: Remove references to Keystore 1.0" am: 7aa99fe966
am: c90b511239
am: a308ea1915
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1624590
Change-Id: I49cad17eab31b7531cb710915cbc57accd894598
2021-03-23 14:10:20 +00:00
Bonian Chen
6a4d7b65d0
Merge "[Settings] Support getSystemService(Class<T>)" am: 513da92357
am: 5734490d23
am: 8cd695efea
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1639943
Change-Id: I905f9d1646a9d9ea70e42c4b5368ff983611bee3
2021-03-23 13:52:46 +00:00
Alex Johnston
46c72f3cac
Settings: Disable USB preferences if USB signaling is off
...
* When developer options is turned
off and on again, 'Default USB
configuration' and 'Disable USB
audio routing' should not be enabled
if USB data signaling is disabled.
Manual testing:
* Disable USB data signaling
* Verify preferences are disabled
* Turn developer options off and on
* Verify preferences remain disabled
Bug: 180711035
Test: manual testing
make RunSettingsRoboTests -j ROBOTEST_FILTER=UsbAudioRoutingPreferenceControllerTest
make RunSettingsRoboTests -j ROBOTEST_FILTER=DefaultUsbConfigurationPreferenceControllerTest
Change-Id: Id08228da812b7534e2217b0c3f30a7ac989f7553
2021-03-23 11:43:28 +00:00
Wesley.CW Wang
3a52e335be
Remove Battery Settings page default tips
...
- Remove SummaryTips from default tips
- Clean up test file import
Screenshot: https://screenshot.googleplex.com/6rYrnMvoTbeCS7m.png
Bug: 183079415
Test: make RunSettingsRoboTests -j40
Change-Id: I1001d75235a6d8d5947b974939884103eb0834da
2021-03-23 08:44:42 +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
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
Bonian Chen
238ad87750
Merge "[Settings] Fix divide by zero in data usage UI" into sc-dev
2021-03-23 04:50:54 +00:00
Janis Danisevskis
a308ea1915
Merge "Keystore 2.0: Remove references to Keystore 1.0" am: 7aa99fe966
am: c90b511239
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1624590
Change-Id: I590f53d3a4c1b6ad9c4bdb27f04103ccfba7e7af
2021-03-23 04:09:47 +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
Janis Danisevskis
7aa99fe966
Merge "Keystore 2.0: Remove references to Keystore 1.0"
2021-03-23 03:14:28 +00:00
Michael Wachenschwanz
b221381fa8
Add MobileRadio/Gnss MeasuredBatteryConsumpter methods to FakeUid
...
Bug: 174818228
Test: builds
Change-Id: I783adb7a6e9f8bc01d656113bb1d637eb18dae6f
2021-03-22 18:35:35 -07: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
Dmitri Plotnikov
3b5c5f0d7c
Change getStatsStartRealtime to getStatsStartTimestamp
...
Bug: 183434301
Test: make RunSettingsRoboTests
Test: make RunSettingsGoogleRoboTests
Change-Id: Ic86a04a91d910c863706a0f799c757dcd7c5262d
2021-03-22 15:51:21 -07:00
Janis Danisevskis
75a91836e7
Keystore 2.0: Remove references to Keystore 1.0
...
Test: N/A
Bug: 171305684
Change-Id: I8b50c024e919d5b98348b792e0769c510ff1a33d
2021-03-22 13:35:53 -07:00
Peter Kalauskas
01f77d8e00
Merge "Introduce guest user metrics" into sc-dev
2021-03-22 20:17:20 +00:00
SongFerng Wang
8722e00b4a
Merge "KEY_CARRIER_NR_AVAILABILITIES_INT_ARRAY change type as IntArray" am: 5292baf810
am: d1278a3d3d
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1645427
Change-Id: I2618da0e75674e7c3c878f5aee50278ac0c0e76a
2021-03-22 19:34:15 +00:00
SongFerng Wang
5292baf810
Merge "KEY_CARRIER_NR_AVAILABILITIES_INT_ARRAY change type as IntArray"
2021-03-22 19:06:48 +00:00
Bonian Chen
0880675414
[Settings] Fix divide by zero in data usage UI
...
Data usage UI got divide by zero exception when zero data usage.
Bug: 182822862
Test: local
Change-Id: Ibe57034e7d441e94c0529cb76f1a16665aaacff6
2021-03-22 17:10:00 +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
e98a5a9932
Merge "Only show storage category stats preferences for private volumes" into sc-dev
2021-03-22 11:06:47 +00:00
Weng Su
020af77825
Hide edit menu if network is uneditable
...
- Screenshot:
https://screenshot.googleplex.com/3BhZRBrmQXjeaGL
Bug: 161896161
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=WifiNetworkDetailsFragment2Test
Merged-In: I47ea2cf19e178eff48f23e56903d0daa4ef8fa28
Change-Id: I47ea2cf19e178eff48f23e56903d0daa4ef8fa28
(cherry picked from commit b7dbd3a911
)
2021-03-22 09:43:57 +00:00
Bonian Chen
f9f2fe3f84
Merge "[Settings] Convert to getSystemService(Class<T>)" am: 13fb77c652
am: 70f887af52
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1645152
Change-Id: I89fa2de521bb07911f0c7ee0122ba3b2cb062fab
2021-03-22 09:36:16 +00:00
Bonian Chen
8cd695efea
Merge "[Settings] Support getSystemService(Class<T>)" am: 513da92357
am: 5734490d23
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1639943
Change-Id: I2630ee28b766890d36bbc4c360eeb19d07ef73d7
2021-03-22 09:36:14 +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
Bonian Chen
13fb77c652
Merge "[Settings] Convert to getSystemService(Class<T>)"
2021-03-22 08:18:59 +00:00
Bonian Chen
513da92357
Merge "[Settings] Support getSystemService(Class<T>)"
2021-03-22 08:18:59 +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
e88740eae2
KEY_CARRIER_NR_AVAILABILITIES_INT_ARRAY change type as IntArray
...
Bug: 179814490
Test: build pass
Change-Id: I9d2abe1abe3082267ed64b71602d8ada21c95c6c
Merged-In: I9d2abe1abe3082267ed64b71602d8ada21c95c6c
2021-03-22 07:17:22 +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
Bonian Chen
db6c47756d
[Settings] Convert to getSystemService(Class<T>)
...
Change to getSystemService(Class<T>) to align the capability with framework
part.
Bug: 179640862
Test: local
Change-Id: I1b4812044fc4876bec6645570049a60f9470dbbd
2021-03-22 06:20:19 +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
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
Chiachang Wang
b2eb0317a4
Merge "Remove hidden @Transport usage" into sc-dev
2021-03-22 02:43:59 +00:00
TreeHugger Robot
8bdbdf4b91
Merge "Hide edit menu if network is uneditable" into sc-dev
2021-03-22 01:53:59 +00:00
SongFerng Wang
3ac3cce15b
Merge "Change the behavior of notifyAllowedNetworkTypesChanged."
2021-03-21 16:45: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
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
b4205dc1bd
Merge "Change Magnification Mode Settings UI" into sc-dev
2021-03-19 12:07:17 +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