Alex Johnston
ba6ed1e827
Merge "Settings: Disable USB preferences if USB signaling is off" into sc-dev am: 74d2ec5c2d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13901306
Change-Id: I7dee32ff0899087df7654c393421626daca38725
2021-03-24 10:28:51 +00:00
Alex Johnston
74d2ec5c2d
Merge "Settings: Disable USB preferences if USB signaling is off" into sc-dev
2021-03-24 10:13:47 +00:00
Wesley.CW Wang
bb50410e58
Remove Battery Settings page battery saver tips am: 3da3bf7a21
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13946306
Change-Id: Ib139a456ce581d06918d08057ad4f98a8e1d0ff2
2021-03-24 09:09:43 +00:00
Wesley.CW Wang
3da3bf7a21
Remove Battery Settings page battery saver tips
...
- Not present Battery saver tips when it's enabled
- Not redirect Low battery tips to saver tips when saver is enabled
Screenshots:
https://screenshot.googleplex.com/4ehKSRs8gM64wfm.png
https://screenshot.googleplex.com/92pd3q9jnTEXd8o.png
https://screenshot.googleplex.com/BzLYwTjdi3kH4RF.png
https://screenshot.googleplex.com/4w9ubmHaajNxB9b.png
Bug: 183079415
Test: make RunSettingsRoboTests -j40
Change-Id: Ib9783a95df88753342ff217b1a402f2dbb99079d
2021-03-24 08:42:21 +00:00
Zhen Zhang
d64dff2c98
Merge "Update summary based on hibernated apps number" into sc-dev am: 59aa4f9cb1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13955152
Change-Id: I2eaf37a821808a3797d0cf620ad9eeb852c01651
2021-03-24 06:48:01 +00:00
Zhen Zhang
59aa4f9cb1
Merge "Update summary based on hibernated apps number" into sc-dev
2021-03-24 06:42:56 +00:00
Bonian Chen
90bb37b6aa
Merge "[Settings] Support getSystemService(Class<T>)" into sc-dev am: 8debbfa8a4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13973145
Change-Id: Iccfaf2ad15c5915d998ec291fcddd815bae6047e
2021-03-24 04:44:09 +00:00
Bonian Chen
8debbfa8a4
Merge "[Settings] Support getSystemService(Class<T>)" into sc-dev
2021-03-24 04:13:35 +00:00
tim peng
f5c366f794
Merge "Get low battery level through metadata" into sc-dev am: 80f803c337
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13960258
Change-Id: I32f856ccd190fe6fae5f7b0e857239f1471cc469
2021-03-24 04:02:00 +00:00
tim peng
80f803c337
Merge "Get low battery level through metadata" into sc-dev
2021-03-24 03:27:30 +00:00
Tim Peng
7e6762de8a
Get low battery level through metadata
...
Bug: 183469297
Test: make -j50 RunSettingsRoboTests ROBOTEST_FILTER=AdvancedBluetoothDetailsHeaderControllerTest
Change-Id: Iae8971a5c1f183fe141d4246e23d8feb6d68d0ff
2021-03-24 09:32:26 +08:00
Rajeev Kumar
a833cfa34e
Merge "Update Managed Device Info text for a financed device" into sc-dev am: cafc769a51
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13957892
Change-Id: I9ff9f83a3c8994ac031447dba474a47b01137a8e
2021-03-24 01:24:19 +00:00
Rajeev Kumar
ef0f32b796
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: I4c4c00f7709c86669824cc18667c39c825f93726
2021-03-24 01:24:16 +00:00
Dmitri Plotnikov
f2c66754b9
Merge "Change getStatsStartRealtime to getStatsStartTimestamp" into sc-dev am: 5cc7c7c1de
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13955156
Change-Id: I16b44fc5aea9bd66d28a96ec05f9d4e88d37f103
2021-03-24 00:59:44 +00:00
Rajeev Kumar
cafc769a51
Merge "Update Managed Device Info text for a financed device" into sc-dev
2021-03-23 20:55:27 +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
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
Jeff Sharkey
89a1c7bfc0
Request new Bluetooth runtime permissions. am: 9e07eab08f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13956086
Change-Id: I8517c50feb1d53bc018d8b1a748c4c72469fb4b3
2021-03-23 13:10:31 +00:00
Jeff Sharkey
9e07eab08f
Request new Bluetooth runtime permissions.
...
An upcoming platform change is introducing a new "Nearby devices"
runtime permission which contains the new BLUETOOTH_CONNECT and
BLUETOOTH_SCAN permissions.
We have logic in place to use <split-permission> to translate the
older BLUETOOTH and BLUETOOTH_ADMIN permissions into these new
runtime permissions, but modern apps will need to pivot to
requesting them directly as part of targeting Android S.
This change requests both the old and new permissions to avoid
breakage while the new permission enforcement is being phased in.
Bug: 181813006
Test: atest CtsPermission2TestCases
Test: atest CtsPermission3TestCases
Test: atest CtsStatsdAtomHostTestCases
Change-Id: I0a6ff040520deaa7c7a6fecd83e8608a9bf28c4a
2021-03-23 12:35:36 +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
201445f80a
Remove Battery Settings page default tips am: 3a52e335be
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13922078
Change-Id: I78509dc0c432c3b0f122560aa1718feb89535d3b
2021-03-23 09:05:19 +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
18acf73b5f
Merge "Unit tests for the VpnInfoPreference."
2021-03-23 02:38:24 +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
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
Sally Yuen
b35c405705
Merge "Reduce RBC test flakiness" into sc-dev am: 1908c5357c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13919447
Change-Id: I6db7640c76e6a9f86674e685b229e9f926115b42
2021-03-22 19:24:25 +00:00
Sally Yuen
1908c5357c
Merge "Reduce RBC test flakiness" into sc-dev
2021-03-22 16:27:49 +00: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
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
1e461619ab
Unit tests for the VpnInfoPreference.
...
Test: atest -c VpnPreferenceController
Bug: 176821216
Change-Id: Ia9754023ac392b64fe1755aabcb399d9dd9ace6e
2021-03-22 16:26:32 +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
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
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
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