Commit Graph

64645 Commits

Author SHA1 Message Date
TreeHugger Robot
fa1e102af7 Merge "Do not prebind sticky slices." into rvc-dev 2020-05-14 11:37:45 +00:00
Jakub Pawlowski
88815d1456 Prevent overlay drawing on top of Bluetooth pairing dialog
Bug: 155648639
Change-Id: I99643ee9084f3a9bc1ad9a459ac27c587d832c91
2020-05-14 09:18:52 +00:00
Jason Chiu
1b45182584 Merge "Add metrics log for special cases" into rvc-dev am: 60071b9287
Change-Id: I5b453140874e10120c7123fb2ad46d4373c12736
2020-05-14 07:29:22 +00:00
Jason Chiu
a69f270ac0 Merge "Add metrics log for special cases" into rvc-dev am: 60071b9287
Change-Id: I95e4190ee4492a892e11d65d413db2443c975c8d
2020-05-14 07:29:02 +00:00
Tim Peng
493e1a62c8 In Media Switch output panel, Switch access shouldn't select the first device when selecting the device list
-The group view should not be clickable
-Disable view clickable flag

Bug: 151126466
Test: make -j50 RunSettingsRoboTests
Change-Id: Ia617f436a615168d422d208959db5513b38e6564
2020-05-14 15:19:39 +08:00
Jason Chiu
60071b9287 Merge "Add metrics log for special cases" into rvc-dev 2020-05-14 07:12:47 +00:00
android-build-team Robot
35362d6469 Snap for 6493843 from cc9f53dd64 to mainline-release
Change-Id: I5acb64b81d593d9e5bfa44389014e711b5ef267e
2020-05-14 07:12:05 +00:00
Tim Peng
a402e4f3ce Display previous active media information
-Pending intent is not updated

Bug: 156561083
Test: make -j50 RunSettingsRoboTests
Change-Id: If4fdb85d7097bc48f0512b3d11f950af1d57dcd7
2020-05-14 13:32:51 +08:00
Yi-Ling Chuang
ac59ea8e23 Do not prebind sticky slices.
We have a precheck mechanism to filter out slices that are not eligible
to be displayed on the homepage. Since sticky cards are designed to
be always available, which implies they will never be null, so skip
prechecking on them.

This allows us to prevent from the precheck timeout which usually leads
to the disappearance of cards.

Fixes: 152365480
Test: robotests
Change-Id: Ic9e3df8b55609e9b5d1d3fd3a8d95e4086d3d7a4
2020-05-14 11:38:47 +08:00
TreeHugger Robot
cc9f53dd64 Merge "Add null check for intent in AppPermissionPreferenceController" into rvc-dev am: bb7a65a19b
Change-Id: I439dea3a0631bcc7ef4bc4da493e605ee323abbf
2020-05-14 03:32:37 +00:00
TreeHugger Robot
27a4a17aac Merge "Add null check for intent in AppPermissionPreferenceController" into rvc-dev am: bb7a65a19b
Change-Id: Id3005fde29c015152fbc345bd1b8d7fe3d2efd20
2020-05-14 03:32:22 +00:00
TreeHugger Robot
bb7a65a19b Merge "Add null check for intent in AppPermissionPreferenceController" into rvc-dev 2020-05-14 03:16:51 +00:00
tim peng
3fd4290ac8 Merge "When only one device is selected in dynamic group, the device should be disabled" into rvc-dev am: 8d2c8f1f33
Change-Id: I2ff87b61e8ab2f6445d7faf444a98c5600909be2
2020-05-14 01:47:47 +00:00
tim peng
df8efc0b5c Merge "Refine layout for output switcher panel" into rvc-dev am: 4439bcf620
Change-Id: I6a94b7e7e79d2cd32fb9e74e3752a550428769c6
2020-05-14 01:47:36 +00:00
tim peng
76542c7513 Merge "When only one device is selected in dynamic group, the device should be disabled" into rvc-dev am: 8d2c8f1f33
Change-Id: I90f4c889d939675fa0d66e4003c34248ca170c8b
2020-05-14 01:47:09 +00:00
tim peng
cbabf1874f Merge "Refine layout for output switcher panel" into rvc-dev am: 4439bcf620
Change-Id: I3c8d116a47fde5260d1311cb7db4ce0858afbe5c
2020-05-14 01:46:47 +00:00
tim peng
8d2c8f1f33 Merge "When only one device is selected in dynamic group, the device should be disabled" into rvc-dev 2020-05-14 01:35:44 +00:00
tim peng
4439bcf620 Merge "Refine layout for output switcher panel" into rvc-dev 2020-05-14 01:35:26 +00:00
menghanli
efabdcc7d6 Avoid launching activity-based feature to force stop exist actiivty and
recreate it.

Root cause: FLAG_ACTIVITY_CLEAR_TASK would cause the exist activity are finished and new one items to be started. It causes Live Transcribe main activity goes onStart call of new activity is followed by onStop call of old activity, which cause the mic stopping.

Solution: Remmove the FLAG_ACTIVITY_CLEAR_TASK.

Bug: 156455425
Test: Manual test
Change-Id: I86778577ff37d7f14b28e5eca3087fa9cf5cb2c1
2020-05-14 09:29:04 +08:00
android-build-team Robot
0527a19134 Snap for 6492189 from 6c214b14d7 to mainline-release
Change-Id: Iea47525e3b11e62727d6f9d521768380f660665c
2020-05-13 22:47:35 +00:00
Yanting Yang
a2d5ba3ebe Fix text view padding issue in EmptyTextSettings
Set the left and right padding of text view to 24dp.

Impact pages:
Apps & notifications > Special app access > Premium SMS access
Apps & notifications > Special app access > VR helper services

Fixes: 147901392
Test: visual
Change-Id: I01aa7935462e4d16e56be71a8f1f0cbe9b8275f9
2020-05-14 04:33:57 +08:00
TreeHugger Robot
6c214b14d7 Merge "Remove divider after last items" into rvc-dev am: abeb1a09fa
Change-Id: Ic899795b804e5f7773d926aa296b390bfeb0c590
2020-05-13 20:24:55 +00:00
TreeHugger Robot
0fdf2b6ec3 Merge "Remove divider after last items" into rvc-dev am: abeb1a09fa
Change-Id: Ia007a992d8fc8f9dee0adbde645e1ea698014b19
2020-05-13 20:24:38 +00:00
TreeHugger Robot
abeb1a09fa Merge "Remove divider after last items" into rvc-dev 2020-05-13 20:01:52 +00:00
Nate Myren
8c7c22d4b9 Add null check for intent in AppPermissionPreferenceController
Sometimes, the App Info page can be reached without an intent in tests.
Add a null check to catch this

Bug: 154650244
Test: atest AppPermissionPreferenceControllerTest#handlePreferenceTreeClick_shouldStartManagePermissionsActivity

Change-Id: I514acda6b78d9e76b230aa945067bd7d6d9feff9
2020-05-13 13:00:53 -07:00
Julia Reynolds
9a6e7329be Remove divider after last items
Fixes: 155890866
Test: manual
Change-Id: Ie0e3f7ad8c1868bda7623718dd60926c300fa353
2020-05-13 14:03:40 -04:00
Bonian Chen
9a39343b6c [Settings] Avoid from redraw UI when first time onResume am: 17ad56b3fc
Change-Id: I320397098a349fc64bfd318add8baf55afde019c
2020-05-13 13:53:29 +00:00
Bonian Chen
610a55556a [Settings] Avoid from redraw UI when first time onResume am: 17ad56b3fc
Change-Id: I975397eb10ad3b4b0435dcfb71288425a15717e8
2020-05-13 13:53:21 +00:00
Bonian Chen
17ad56b3fc [Settings] Avoid from redraw UI when first time onResume
Registration of subscription change lead to redraw.
However, entire UI is newly created where redraw is not required
when fragment first time created.

Therefore, remove first callback from SubscriptionManager to reduce some
time.

Bug: 141833767
Test: manual
Change-Id: I54a58dd8271bb2cd8cd531cc02ff7d64b3e4328c
2020-05-13 18:47:09 +08:00
TreeHugger Robot
1cace42fa6 Merge "Update icon tint color when the user toggles Dark theme" into rvc-dev am: 8224a5ad3d
Change-Id: I4026116f951443626cea1e4a444bf89de49f56d7
2020-05-13 09:59:44 +00:00
TreeHugger Robot
09c4926e8a Merge "Update icon tint color when the user toggles Dark theme" into rvc-dev am: 8224a5ad3d
Change-Id: I50fc0c1cd70ad15388baa0f110955a2d9bee9573
2020-05-13 09:59:23 +00:00
TreeHugger Robot
8224a5ad3d Merge "Update icon tint color when the user toggles Dark theme" into rvc-dev 2020-05-13 09:37:37 +00:00
PETER LIANG
0abfe5743c Merge "Add the settings content observer for shortcut preference." into rvc-dev am: 31e6002ee8
Change-Id: I14ed7773be0ecfff4fedeb55fa0f2b69a38cffab
2020-05-13 09:02:46 +00:00
PETER LIANG
380e0dc235 Merge "Add the settings content observer for shortcut preference." into rvc-dev am: 31e6002ee8
Change-Id: I60a347a96d6192bfae9c0dbad8361c162def7b5e
2020-05-13 09:02:38 +00:00
PETER LIANG
31e6002ee8 Merge "Add the settings content observer for shortcut preference." into rvc-dev 2020-05-13 09:00:09 +00:00
TreeHugger Robot
e1edf91c71 Merge "Show the app pinning description after user enables it" into rvc-dev am: 0cc66ea23c
Change-Id: Iee1dfc45d2646ad5be91352f152378315e4fcec9
2020-05-13 08:56:29 +00:00
TreeHugger Robot
1bf90b2243 Merge "Show the app pinning description after user enables it" into rvc-dev am: 0cc66ea23c
Change-Id: I2b877b72480498f79deb8cc97262eb0236c72747
2020-05-13 08:54:56 +00:00
TreeHugger Robot
0cc66ea23c Merge "Show the app pinning description after user enables it" into rvc-dev 2020-05-13 08:41:18 +00:00
Tim Peng
9a70887d75 Refine layout for output switcher panel
Bug: 156045699
Test: manual test
Change-Id: Ic889c0e755086e7d48c9a493f4ee5a8e394fdbe5
2020-05-13 15:20:54 +08:00
android-build-team Robot
b702cb7a80 Snap for 6489494 from 7387ba02cc to mainline-release
Change-Id: I75493e1524f75bf8268aa5a29ae1bb84c5f34c99
2020-05-13 07:07:05 +00:00
Tsung-Mao Fang
232cfc4e76 Show the app pinning description after user enables it
By design, we still need to show app pinning description
after user enables feature.

Test: Rebuilt rom, and see description.
Fix: 151332926
Change-Id: Ic9a2d7baec865358471ac0210648642ebd9fd65a
2020-05-13 14:43:23 +08:00
Peter_Liang
b3d5df4989 Add the settings content observer for shortcut preference.
Root cause:
Didn't update the UI when settings value chagned.

Next:
Add the settings content observer.

Bug: 155837154
Test: manual test & Robo test & atest
Change-Id: I7be952a3a8824d00d3903d4a69beb8f992d638a1
2020-05-13 14:43:20 +08:00
TreeHugger Robot
1b131510b7 Merge "Allows to launch only authenticator owned activities" into rvc-dev am: dfb3f561ea
Change-Id: I0b74053bd27231a4a526e7edf12b3033d8d4b3f8
2020-05-13 05:29:35 +00:00
TreeHugger Robot
991229fe6b Merge "Allows to launch only authenticator owned activities" into rvc-dev am: dfb3f561ea
Change-Id: I53a707f8ca9a2c8f0b416254ae205c38d25e07e4
2020-05-13 05:29:20 +00:00
TreeHugger Robot
dfb3f561ea Merge "Allows to launch only authenticator owned activities" into rvc-dev 2020-05-13 05:26:25 +00:00
TreeHugger Robot
f123452437 Merge "Revert "Unable to select twilight scheduling after enabling location"" into rvc-dev am: 6d2ad68e1a
Change-Id: I07fc3eece3f06cb008f6f0eb91a3f46f304d48be
2020-05-13 05:20:48 +00:00
TreeHugger Robot
ada7e82b72 Merge "Revert "Unable to select twilight scheduling after enabling location"" into rvc-dev am: 6d2ad68e1a
Change-Id: I4462a5c69184c5623527c095b98bf7845989bcdb
2020-05-13 05:20:43 +00:00
TreeHugger Robot
a3193a7e8c Merge "Revert "Add the settings content observer for shortcut preference."" into rvc-dev am: 9ae5b47aee
Change-Id: I63a4daf0214cee4fe51a0796296629d89561aae3
2020-05-13 05:20:41 +00:00
TreeHugger Robot
b726331702 Merge "Revert "Add the settings content observer for shortcut preference."" into rvc-dev am: 9ae5b47aee
Change-Id: I3804e1de067a494a22623ad2f56dbffc985d5986
2020-05-13 05:20:28 +00:00
TreeHugger Robot
6d2ad68e1a Merge "Revert "Unable to select twilight scheduling after enabling location"" into rvc-dev 2020-05-13 05:16:51 +00:00