Commit Graph

64645 Commits

Author SHA1 Message Date
TreeHugger Robot
5625958a20 Merge "Remove hard-coding cellbroadcastreceiver package name." into rvc-dev 2020-05-07 19:50:33 +00:00
Nate Myren
d55449aec0 Add Auto Revoke log to the App Info page
Test: manual
Bug: 154650244
Change-Id: Ibc944ce72d176204cc20c6d0460bf5efe6f7a878
2020-05-07 10:02:35 -07:00
Bonian Chen
6b2291f1cc Merge "[Settings] Code reformat" into rvc-dev am: 73d3367901
Change-Id: I06338f0d24f11c64f630da955cf67ce49ac6b64d
2020-05-07 16:35:30 +00:00
Bonian Chen
4e527f3332 Merge "[Settings] Code reformat" into rvc-dev am: 73d3367901
Change-Id: If65b6a90baf340243928c0566c9aee26652ca63d
2020-05-07 16:35:30 +00:00
Bonian Chen
73d3367901 Merge "[Settings] Code reformat" into rvc-dev 2020-05-07 16:34:16 +00:00
PETER LIANG
089d989b5c Merge "Refines the animated image to fit the screen display." into rvc-dev am: dd1e66c199
Change-Id: I38ab7292c9cb1c1ddb7679e447297880fc6669d9
2020-05-07 16:28:53 +00:00
PETER LIANG
819246c3b7 Merge "Refines the animated image to fit the screen display." into rvc-dev am: dd1e66c199
Change-Id: Ib4c8daaa81c140e852e2dab78e2b87a044a3caf4
2020-05-07 16:28:50 +00:00
PETER LIANG
dd1e66c199 Merge "Refines the animated image to fit the screen display." into rvc-dev 2020-05-07 16:11:22 +00:00
Fabian Kozynski
3b6faace6e Merge "Fix default for CONTROLS_ENABLED" into rvc-dev am: 64097cbb11
Change-Id: Ib7d324912cacd61e16787c54f6a34f04303582ef
2020-05-07 13:38:03 +00:00
Fabian Kozynski
bb87fb6954 Merge "Fix default for CONTROLS_ENABLED" into rvc-dev am: 64097cbb11
Change-Id: Id6f671320798ce5c63eb38afcd8a1d06f34e68d1
2020-05-07 13:38:02 +00:00
Fabian Kozynski
64097cbb11 Merge "Fix default for CONTROLS_ENABLED" into rvc-dev 2020-05-07 13:24:04 +00:00
Tsung-Mao Fang
e8ffbb21a1 Talkback speaks "work" for work profile app
Set a content description for each app entity.
If app is a work profile, then talkback says "work" app name.

Test: Rebuilt rom and talkback speaks correct description.
Bug: 127602715
Change-Id: I1952b77a18a884a887d912fb7edc44a12be70ad4
2020-05-07 19:39:41 +08:00
PETER LIANG
f9d34c89ab Merge "Revises the strings to meet the the activity-based accessibility feature." into rvc-dev am: 19319b85e9
Change-Id: I939b45d89395d6bcb8323a95a8d9c72836ea9c6e
2020-05-07 11:12:41 +00:00
PETER LIANG
c294b38a30 Merge "Revises the strings to meet the the activity-based accessibility feature." into rvc-dev am: 19319b85e9
Change-Id: I64a59f952ca883860f59ac491dbadb51c697a608
2020-05-07 11:12:37 +00:00
PETER LIANG
74be8c7396 Merge "Correct the string relate to volume shortcut keys." into rvc-dev am: 6804573968
Change-Id: I0ee94a29e189e8b4d496efa4ee07f75c2561e46e
2020-05-07 11:12:34 +00:00
PETER LIANG
4c10589d13 Merge "Correct the string relate to volume shortcut keys." into rvc-dev am: 6804573968
Change-Id: I4f3f3cf8341f2181c7c240706b151a379d30d538
2020-05-07 11:12:29 +00:00
Bonian Chen
bfdf45e565 [Settings] Code reformat
Code reformat.

Bug: 155962136
Test: build pass
Change-Id: Icb56f72af925f2b47cd8867156ca12fc9a6e6347
2020-05-07 19:00:58 +08:00
PETER LIANG
19319b85e9 Merge "Revises the strings to meet the the activity-based accessibility feature." into rvc-dev 2020-05-07 10:57:14 +00:00
PETER LIANG
6804573968 Merge "Correct the string relate to volume shortcut keys." into rvc-dev 2020-05-07 10:56:24 +00:00
Edgar Wang
01d79db1fc Merge "Revert "Improve multi user settings screen"" into rvc-dev am: e13919cf4b
Change-Id: I6cbf30d9f124b2a5ff10c650b44341bacb5da882
2020-05-07 09:45:40 +00:00
Edgar Wang
bbf642d994 Merge "Revert "Improve multi user settings screen"" into rvc-dev am: e13919cf4b
Change-Id: I057a3f120e9664fd4764599e14b6d136da56da85
2020-05-07 09:45:37 +00:00
Edgar Wang
e13919cf4b Merge "Revert "Improve multi user settings screen"" into rvc-dev 2020-05-07 09:28:23 +00:00
Edgar Wang
fff8c56de2 Revert "Improve multi user settings screen"
This reverts commit d19dc306dd.

Reason for revert: this CL made Settings the test cases called shadowUserManager.hasUserRestriction()
https://sponge.corp.google.com/target?show=FAILED&sortBy=STATUS&id=07150153-ccb7-4215-a9f8-eed31e44c66f&target=RunSettingsRoboTests1-test-output

Bug: 142798722

Change-Id: I3937a07ee35a472cadd6db8cd0177e08e63516a4
2020-05-07 09:24:47 +00:00
Peter_Liang
a2f5497d69 Correct the string relate to volume shortcut keys.
Bug: 155948561
Test: manual test
Change-Id: I1e7a78fd1feeb87ee5f82157906137c4e169edeb
2020-05-07 17:15:15 +08:00
Yanting Yang
9a29ea71a2 Merge "Hide the app details preference for mainline module apps" into rvc-dev am: cf33b4bc5e
Change-Id: Ided443eab584ea8c1e3f6e439045aa79ecc76bb3
2020-05-07 08:45:00 +00:00
Yanting Yang
4b6408bf04 Merge "Hide the app details preference for mainline module apps" into rvc-dev am: cf33b4bc5e
Change-Id: I421103706198203fb7e25aff4a380c0b0ede8df7
2020-05-07 08:44:51 +00:00
Yanting Yang
cf33b4bc5e Merge "Hide the app details preference for mainline module apps" into rvc-dev 2020-05-07 08:41:39 +00:00
Bonian Chen
c98ca2d00f Merge "[Settings] Update EID in background" into rvc-dev am: cae9a9c2fb
Change-Id: I1debe0fd3c9512e2eba01e5025ef78b7e5dbaba8
2020-05-07 08:32:58 +00:00
Bonian Chen
e99b4cd4d2 Merge "[Settings] Update EID in background" into rvc-dev am: cae9a9c2fb
Change-Id: I57d9f61803f827ff6dda7b9719a58cdb8df65981
2020-05-07 08:32:57 +00:00
Bonian Chen
cae9a9c2fb Merge "[Settings] Update EID in background" into rvc-dev 2020-05-07 08:20:58 +00:00
Peter_Liang
833fae0387 Revises the strings to meet the the activity-based accessibility feature.
Bug: 155249850
Test: manual test
Change-Id: I4c493fb6a0123be87b17d392853d3ae9f3351879
2020-05-07 08:17:51 +00:00
Peter_Liang
a87a7009b0 Refines the animated image to fit the screen display.
Root cause:
The width and height of animated image are wrap_content. It causes the gif or drawable which are non-transparent background to have a little weird display under dark mode.

Next:
1. Revise the width from wrap_content to match_parent, and add the fit center scale type.
2. Correct the function usage

Bug: 155946967
Test: manual test
Change-Id: I7470efb945a2b3bedb695e1b6f34475c6f190f9d
2020-05-07 08:06:20 +00:00
Kevin Maurin
f0ba8a7f80 Merge "Display "Android Auto" in Connected Devices summary text." into rvc-dev am: 56cefaf3d6
Change-Id: I4240e6356b3665004ce168af10296d3a41410afe
2020-05-07 07:25:48 +00:00
Kevin Maurin
3399305e3c Merge "Display "Android Auto" in Connected Devices summary text." into rvc-dev am: 56cefaf3d6
Change-Id: Ide4aac5f2c860a1767142d324776472e024f5d37
2020-05-07 07:25:47 +00:00
TreeHugger Robot
b9065a0d8c Merge "[Wi-Fi] Enhance Wifi Settings unit test cases." into rvc-dev am: a76a871653
Change-Id: I6d2c23e7ed8f9b9c12d2b11933b26e0dcf7bde2f
2020-05-07 07:25:32 +00:00
TreeHugger Robot
a46c391290 Merge "[Wi-Fi] Enhance Wifi Settings unit test cases." into rvc-dev am: a76a871653
Change-Id: I72bcb5f87ef542de83de5c7366ec82be10ff1480
2020-05-07 07:25:31 +00:00
Kevin Maurin
56cefaf3d6 Merge "Display "Android Auto" in Connected Devices summary text." into rvc-dev 2020-05-07 07:20:57 +00:00
TreeHugger Robot
a76a871653 Merge "[Wi-Fi] Enhance Wifi Settings unit test cases." into rvc-dev 2020-05-07 07:11:32 +00:00
android-build-team Robot
9ed568f8f5 Snap for 6470414 from 30a4d31d6b to mainline-release
Change-Id: I759e3fd931e2482d06d09b9d2d8b47d457d68a24
2020-05-07 07:09:00 +00:00
Tim Peng
7fcfac49cf Settings > Sound crashes if no BT
-Replace androidx.lifecycle.LifecycleObserver with com.android.settingslib.core.lifecycle.LifecycleObserver
-Observer is added in DashboardFragment

Bug: 155195625
Test: make -j50 RunSettingsRoboTests
Change-Id: I99c587e4227e81ba521782f92b159051a1cba2d2
2020-05-07 07:06:36 +00:00
Bonian Chen
d1c8d2a771 [Settings] Update EID in background
Access EID in background thread to avoid blocking UI.

Bug: 153407357
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=SimStatusDialogControllerTest
Change-Id: Id30851bbd0b0fe080ed703586f9718be8b97abdd
2020-05-07 14:16:59 +08:00
Bonian Chen
a78fbae982 Merge "[Settings] Mobile network not updated based on SIM change" into rvc-dev am: 3a132d7c9a
Change-Id: I12d12e8eb169c59992173e7afad84d89b2771db5
2020-05-07 05:07:27 +00:00
Bonian Chen
cc6375e61d Merge "[Settings] Mobile network not updated based on SIM change" into rvc-dev am: 3a132d7c9a
Change-Id: Ifc2f3a614b42cb04bfeb3bd4123db0fca6fc0a3a
2020-05-07 05:07:09 +00:00
Bonian Chen
3a132d7c9a Merge "[Settings] Mobile network not updated based on SIM change" into rvc-dev 2020-05-07 04:48:02 +00:00
Kevin Maurin
cabe76debc Display "Android Auto" in Connected Devices summary text.
Android Auto will be exposing a Settings tile under Connected Devices -> Connection Preferences.
If the Setting tile is available, then the summary text will reflect that.

Tested with additional unit tests and manually validated the scenarios by
flashing crosshatch-eng and disabling/enabling the relevant features.

Fix: 153896447
Test: Added unit coverage for new scenarios
Test: make RunSettingsRoboTests
Test: manually verified by flashing crosshatch-eng and disabling/enabling relevant components
Change-Id: I5a129c41b98ba435bc159a72c9a7c2dfd646ecd3
2020-05-06 21:42:43 -07:00
govenliu
1e0d40f2bd [Wi-Fi] Enhance Wifi Settings unit test cases.
Add new unit test cases in
1. WifiP2pSettingsTest.java
2. WifiConfigController2Test.java
3. WifiP2PPreferenceControllerTest.java
4. WifiP2pPeerTest.java

the coverage rate of
1. com.android.settings.wifi will raise from 44% to 45%
2. com.android.settings.wifi.P2p will raise from 69% to 85%

Bug: 151696220
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiP2pSettingsTest
      make RunSettingsRoboTests ROBOTEST_FILTER=WifiConfigController2Test
      make RunSettingsRoboTests ROBOTEST_FILTER=WifiP2pPeerTest
      make RunSettingsRoboTests ROBOTEST_FILTER=WifiP2PPreferenceControllerTest
Change-Id: I365494e1654376b23b08f18b1a799ffc59323a4c
2020-05-07 12:13:02 +08:00
tim peng
7e5970daf1 Merge "Update "Play media to" to "Play <APP> on"" into rvc-dev am: b8e18b4fb1
Change-Id: Id51f3fe5b3584f5c2a99ef0bbf74a5f5b1d42c6c
2020-05-07 02:45:55 +00:00
tim peng
30a4d31d6b Merge "Update "Play media to" to "Play <APP> on"" into rvc-dev am: b8e18b4fb1
Change-Id: I2342d14ea9c9afc5437aa2a601dbddf1ae2ebfed
2020-05-07 02:44:50 +00:00
tim peng
b8e18b4fb1 Merge "Update "Play media to" to "Play <APP> on"" into rvc-dev 2020-05-07 02:33:19 +00:00
TreeHugger Robot
bb136fe79d Merge "Fix the layout direction problem in RTL locale" into rvc-dev am: a49498f048
Change-Id: Idde6ae422d00222682d4f15ba59554a3b54b4853
2020-05-07 02:11:27 +00:00