Commit Graph

31108 Commits

Author SHA1 Message Date
PETER LIANG
818eda8a79 Merge "Fix that the inconsistent accessibility content pages under Setup Wizard." into rvc-dev am: 7a31f2da60
Change-Id: I0e81255f25a331c152fe23cdf3689f49cc7c632e
2020-05-12 19:21:57 +00:00
tim peng
630b918be0 Merge "Update "Play media to" in Sound Settings" into rvc-dev am: 72948ab538
Change-Id: Ibc609b88fb73c8a5edc3b36b357d96132f53b265
2020-05-12 19:21:52 +00:00
Jason Hsu
03b2025b1d Merge "Change to use ComponentName instead of String in log." into rvc-dev am: 7af9c771bd
Change-Id: Ic718cfd830486b1c95251aa2d0cfed1258caa120
2020-05-12 19:21:30 +00:00
Mehdi Alizadeh
8d370b78d8 Merge "Hides gesture nav settings page from search, when not available" into rvc-dev am: bddb0eb3dd
Change-Id: I9cd88e615dad229948e6eaad56d3f6018faffa6d
2020-05-12 19:21:17 +00:00
Kweku Adams
414fe0f9bc Merge "Hide RESTRICTED bucket from list when off." into rvc-dev am: 71c78ed42b
Change-Id: I90fc1ddbdcdc2b47b480fa2dda0bd2d3db382363
2020-05-12 19:01:11 +00:00
TreeHugger Robot
a02f199843 Merge "Add low battery level for case" into rvc-dev am: 83cc03d0b1
Change-Id: I05eb85b4649605fe2892e833819d9ad488719691
2020-05-12 18:59:56 +00:00
Tsung-Mao Fang
1b87002e09 Merge "Talkback speaks "work" for work profile app" into rvc-dev am: 32e693d657
Change-Id: Id155986ac5faf7e579f6abaa9200e461c8b828ef
2020-05-12 18:55:07 +00:00
TreeHugger Robot
e7e0479c36 Merge "Improve multi user settings screen" into rvc-dev am: e26de87100
Change-Id: I10cde790a0c7e1a0d4a2e6712400b656afc35017
2020-05-11 12:47:53 +00:00
tim peng
325e4bc058 Merge "Settings > Sound crashes if no BT" into rvc-dev am: 0b60b3cc9f
Change-Id: Ic16c64c0a7ebe4a8969cec96da9f5e84e5d4581e
2020-05-11 12:47:40 +00:00
PETER LIANG
7a31f2da60 Merge "Fix that the inconsistent accessibility content pages under Setup Wizard." into rvc-dev 2020-05-11 07:28:18 +00:00
Peter_Liang
0cba2fe133 Fix that the inconsistent accessibility content pages under Setup Wizard.
Root cause:
Exist the inconsistent conditions.

Next:
1. Move all the condition related to description to the back fragment to determine whether to show the footer preference or not.
2. Add extras relate to animated image.

Bug: 156180932
Test: manual test
Change-Id: I56d4ead6c5121637a2da2e074ef9bff2a8146732
2020-05-11 11:22:36 +08:00
tim peng
72948ab538 Merge "Update "Play media to" in Sound Settings" into rvc-dev 2020-05-11 02:45:27 +00:00
Jason Hsu
7af9c771bd Merge "Change to use ComponentName instead of String in log." into rvc-dev 2020-05-09 15:55:07 +00:00
jasonwshsu
d2572c3295 Change to use ComponentName instead of String in log.
* align framework log to use the same format in ag/11250012

Bug: 151285965
Test: manual test
Change-Id: Ia76e3d88c116ffa37fb022aed2866acc0f315bd9
2020-05-09 22:18:18 +08:00
Mehdi Alizadeh
bddb0eb3dd Merge "Hides gesture nav settings page from search, when not available" into rvc-dev 2020-05-08 17:29:56 +00:00
Kweku Adams
71c78ed42b Merge "Hide RESTRICTED bucket from list when off." into rvc-dev 2020-05-08 15:01:03 +00:00
TreeHugger Robot
83cc03d0b1 Merge "Add low battery level for case" into rvc-dev 2020-05-08 08:39:39 +00:00
hughchen
6060bc66e5 Add low battery level for case
- Add low battery level for case, because case and headset have
  different low battery level.
- Update test case

Bug: 154569936
Test: make -j42 RunSettingsRoboTests
Change-Id: Icf045b62992dde8d789e66343764849e43df1933
2020-05-08 15:15:15 +08:00
Tsung-Mao Fang
32e693d657 Merge "Talkback speaks "work" for work profile app" into rvc-dev 2020-05-08 05:36:50 +00:00
Tim Peng
f392eae213 Update "Play media to" in Sound Settings
-Change string to "Play <APP Label> on"
-Hide it when there is no local playback
-Disable search index
-Add test cases

Bug: 155720628
Test: make -j50 RunSettingsRoboTests
Change-Id: Id104d5b49c069a761e4cf82385bf1225d494c95e
2020-05-08 12:15:11 +08:00
Mehdi Alizadeh
6421bec35a Hides gesture nav settings page from search, when not available
Bug: 149846147
Test: Manual test
Change-Id: If95e521caf0fe8ea8489747a75a7d1600ea7d1a0
2020-05-07 21:11:17 -07:00
TreeHugger Robot
e26de87100 Merge "Improve multi user settings screen" into rvc-dev 2020-05-08 02:32:36 +00:00
tim peng
0b60b3cc9f Merge "Settings > Sound crashes if no BT" into rvc-dev 2020-05-08 01:55:28 +00:00
Andras Kloczl
4d7d4effa5 Improve multi user settings screen
- Added switch and user delete functionality to details screen.
- Added robo tests.

Screenshots: http://shortn/_S6fbIMhAYO
Bug: 142798722
Test: Run robo tests with this command:
  make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.users.*SettingsTest"
Change-Id: Ied67290e8fed87feb0a60a3f2c40eb91cc57988e
2020-05-07 22:01:33 +01:00
Amit Mahajan
2d9fb25e63 Remove hard-coding cellbroadcastreceiver package name.
Test: manual
Bug: 154436403
Change-Id: Id634a88060c63d57316cb8cdb923966a8409db78
Merged-in: Id634a88060c63d57316cb8cdb923966a8409db78
2020-05-07 20:19:56 +00:00
TreeHugger Robot
5625958a20 Merge "Remove hard-coding cellbroadcastreceiver package name." into rvc-dev 2020-05-07 19:50:33 +00:00
Bonian Chen
fcfb72f8fc Merge "[Settings] Code reformat" into rvc-dev am: 73d3367901
Change-Id: I49229b925f740834e9279a83d37dde952066cba3
2020-05-07 16:35:09 +00:00
Bonian Chen
73d3367901 Merge "[Settings] Code reformat" into rvc-dev 2020-05-07 16:34:16 +00:00
PETER LIANG
e324e709b7 Merge "Refines the animated image to fit the screen display." into rvc-dev am: dd1e66c199
Change-Id: I5df2f7d3612db3b03e3637c34b8a6f0a5490b3b1
2020-05-07 16:28:18 +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
0533f91da7 Merge "Fix default for CONTROLS_ENABLED" into rvc-dev am: 64097cbb11
Change-Id: I4b18c2f17907a565578e1c1f92f7cf5247a662d7
2020-05-07 13:37:47 +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
Bonian Chen
bfdf45e565 [Settings] Code reformat
Code reformat.

Bug: 155962136
Test: build pass
Change-Id: Icb56f72af925f2b47cd8867156ca12fc9a6e6347
2020-05-07 19:00:58 +08:00
Edgar Wang
99bb5e0185 Merge "Revert "Improve multi user settings screen"" into rvc-dev am: e13919cf4b
Change-Id: I7e067881864b96e067d2b763dc41d6b3680750df
2020-05-07 09:45:16 +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
Yanting Yang
2b19585228 Merge "Hide the app details preference for mainline module apps" into rvc-dev am: cf33b4bc5e
Change-Id: I286857cb2b2f65581e23d5abc4eb970004db324e
2020-05-07 08:44:54 +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
156ea15bb2 Merge "[Settings] Update EID in background" into rvc-dev am: cae9a9c2fb
Change-Id: I3f7c90b0784f435f11c66a43d60044fbf29527d4
2020-05-07 08:32:42 +00:00
Bonian Chen
cae9a9c2fb Merge "[Settings] Update EID in background" into rvc-dev 2020-05-07 08:20:58 +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
637a3ba98f Merge "Display "Android Auto" in Connected Devices summary text." into rvc-dev am: 56cefaf3d6
Change-Id: Idd58f6a25ec91775be52e64766df90fba87cde30
2020-05-07 07:25:34 +00:00
TreeHugger Robot
ee755aa059 Merge "[Wi-Fi] Enhance Wifi Settings unit test cases." into rvc-dev am: a76a871653
Change-Id: Ie641bd25dffe9efeaaf25aa73edf30d80a3972e9
2020-05-07 07:25:23 +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
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
034f54b351 Merge "[Settings] Mobile network not updated based on SIM change" into rvc-dev am: 3a132d7c9a
Change-Id: I3aff01da1dc0e29b0da818784ee44f3b7a58c7bc
2020-05-07 05:06:56 +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