Commit Graph

14326 Commits

Author SHA1 Message Date
Mike Digman
db5a5c8e1b Merge "Make Sharesheet group and pin menu match material, redlines" into rvc-dev am: 5aa8394608 am: 705e18ad01 am: b965c06dc9 am: f076a8d745
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11739866

Change-Id: I991562738bccc2375a3e5648299e0aefa9d78a6e
2020-06-05 20:02:52 +00:00
Miranda Kephart
769ccfd7b5 Merge "Only show error if screenshot process dies within timeout period" into rvc-dev am: 3a51a85aaf am: 11e31f8621 am: ec217d20d0 am: 729073e183
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11739868

Change-Id: I515b6382afc49993f3c200b348402dce9395f25f
2020-06-05 19:56:47 +00:00
Mike Digman
f076a8d745 Merge "Make Sharesheet group and pin menu match material, redlines" into rvc-dev am: 5aa8394608 am: 705e18ad01 am: b965c06dc9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11739866

Change-Id: I36ead9a3deac1ecd951c49da9ac28dbdb0ece507
2020-06-05 19:48:45 +00:00
Miranda Kephart
729073e183 Merge "Only show error if screenshot process dies within timeout period" into rvc-dev am: 3a51a85aaf am: 11e31f8621 am: ec217d20d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11739868

Change-Id: I8c2199f4312d1f07dcc1997deb927a2ad992a23d
2020-06-05 19:46:29 +00:00
Mike Digman
5aa8394608 Merge "Make Sharesheet group and pin menu match material, redlines" into rvc-dev 2020-06-05 19:19:41 +00:00
Miranda Kephart
3a51a85aaf Merge "Only show error if screenshot process dies within timeout period" into rvc-dev 2020-06-05 18:55:08 +00:00
TreeHugger Robot
1968736265 Merge "Cleanup outdated TODOs" into rvc-dev am: 6d410d8165 am: a19bea8b0a am: 967113ba8e am: f5d92a43b3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11755478

Change-Id: Ie97fcdaa30f58469673d8f315dfebea80f86d0e6
2020-06-05 18:32:20 +00:00
Automerger Merge Worker
65bc35b9da Merge "Merge "Shouldn't turn on other accessibility features in SuW." into rvc-dev am: c9f8b52b26 am: d2ac978388 am: e1a1d01b4e" into rvc-qpr-dev-plus-aosp am: a556847bde
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11716081

Change-Id: I4de543483de79358ecaa4b8a0da9f43ba800eed9
2020-06-05 18:14:57 +00:00
TreeHugger Robot
73f9914b28 Merge "Add test for tapping Work share tab when work profile is off" into rvc-dev am: 8f27cd8e55 am: 8159948707 am: 96bd68b04b am: 7f7325a070
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11734120

Change-Id: I6d02f2f94e0366d7b157ef84d453d9f5420b1938
2020-06-05 18:14:26 +00:00
Antoan Angelov
fc61877728 Merge "Setup button bar padding before empty state handling" into rvc-dev am: 16fce9c63b am: 8b60025767 am: 1e6c00c862 am: 286bfd4e1f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11734105

Change-Id: Ice58dd460f1d67058d26e0baa228ba2fc7844b73
2020-06-05 18:12:05 +00:00
Felipe Leme
49e0ea7d72 Merge "Added command / binder method to temporarily disable VoiceInteraction." into rvc-dev am: df98b27008 am: 898e01c95b am: 6f6a25d347 am: ca8d227f31
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11625271

Change-Id: Icb667ac6d86c22b8b850d4433d02e90601bc811d
2020-06-05 18:06:37 +00:00
Mike Digman
ad2e9a0a57 Make Sharesheet group and pin menu match material, redlines
Requires wholesale creation of dialog layout. Using a fixed
width approach.

Test: manual
Bug: 152978014
Fixes: 158023059
Change-Id: Ifcff21b2f999839c3eba601a2ee96a08677e1267
2020-06-05 10:18:43 -07:00
TreeHugger Robot
f5d92a43b3 Merge "Cleanup outdated TODOs" into rvc-dev am: 6d410d8165 am: a19bea8b0a am: 967113ba8e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11755478

Change-Id: I264f6a85627d9d0902d51db030a3869bf42289e6
2020-06-05 16:44:52 +00:00
TreeHugger Robot
6d410d8165 Merge "Cleanup outdated TODOs" into rvc-dev 2020-06-05 15:53:50 +00:00
arangelov
a2a821336f Cleanup outdated TODOs
Fixes: 158292009
Test: compiled
Change-Id: I7889c7ee818c154194bbe66eabbe04aa7ddb65a4
2020-06-05 15:27:43 +01:00
PETER LIANG
e1a1d01b4e Merge "Shouldn't turn on other accessibility features in SuW." into rvc-dev am: c9f8b52b26 am: d2ac978388
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11716081

Change-Id: I54f53c27e8fc8ab2591e548c5fe2d24b7ef365bf
2020-06-05 12:48:13 +00:00
TreeHugger Robot
96bd68b04b Merge "Add test for tapping Work share tab when work profile is off" into rvc-dev am: 8f27cd8e55 am: 8159948707
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11734120

Change-Id: If5665760401ae74f7521e34fffadbe4a24874c92
2020-06-05 12:48:04 +00:00
PETER LIANG
c9f8b52b26 Merge "Shouldn't turn on other accessibility features in SuW." into rvc-dev 2020-06-05 12:36:06 +00:00
TreeHugger Robot
8f27cd8e55 Merge "Add test for tapping Work share tab when work profile is off" into rvc-dev 2020-06-05 12:23:43 +00:00
Antoan Angelov
1e6c00c862 Merge "Setup button bar padding before empty state handling" into rvc-dev am: 16fce9c63b am: 8b60025767
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11734105

Change-Id: Ieff61e3c0714545254001464384d75752b632365
2020-06-05 10:49:44 +00:00
Antoan Angelov
16fce9c63b Merge "Setup button bar padding before empty state handling" into rvc-dev 2020-06-05 10:04:52 +00:00
Felipe Leme
ca8d227f31 Merge "Added command / binder method to temporarily disable VoiceInteraction." into rvc-dev am: df98b27008 am: 898e01c95b am: 6f6a25d347
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11625271

Change-Id: I0687440e60258475f4ffacc9e1c1901df96ee78d
2020-06-05 08:02:24 +00:00
Felipe Leme
49c3937465 Merge "Added command / binder method to temporarily disable VoiceInteraction." into rvc-dev am: df98b27008
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11625271

Change-Id: I662c80981340e0552883e69bbca3d46cd8f15f5b
2020-06-05 07:27:23 +00:00
Felipe Leme
df98b27008 Merge "Added command / binder method to temporarily disable VoiceInteraction." into rvc-dev 2020-06-05 07:11:40 +00:00
felipeal
755578ac28 Added command / binder method to temporarily disable VoiceInteraction.
It will be used by Automotive when the display is off.

Test: adb shell cmd voiceinteraction disable true && \
      adb shell cmd voiceinteraction show
Test: atest CtsVoiceInteractionTestCases CtsAssistTestCases
Bug: 154011437

Change-Id: Ia87b0544b242c356c4f9180e250e2df54279803f
2020-06-04 23:05:14 +00:00
TreeHugger Robot
d766e7b024 Merge "Show 2nd row if we have 1 row in active profile and empty state in other" into rvc-dev am: d1fee56540 am: bac94e3998 am: 4810cdb9b6 am: d721e31750
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11733623

Change-Id: I7b85e60ff7104a694f5576dd9f9c2bc3b8719c97
2020-06-04 22:45:33 +00:00
TreeHugger Robot
d721e31750 Merge "Show 2nd row if we have 1 row in active profile and empty state in other" into rvc-dev am: d1fee56540 am: bac94e3998 am: 4810cdb9b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11733623

Change-Id: If20f2f4df3b1d4daf06addc579e289cb121289ea
2020-06-04 22:29:49 +00:00
TreeHugger Robot
29deaea2ce Merge "Show 2nd row if we have 1 row in active profile and empty state in other" into rvc-dev am: d1fee56540
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11733623

Change-Id: Ic4ab9abc78cc8740088efb292932d5d8d17d74b0
2020-06-04 22:00:53 +00:00
TreeHugger Robot
d1fee56540 Merge "Show 2nd row if we have 1 row in active profile and empty state in other" into rvc-dev 2020-06-04 21:37:39 +00:00
Miranda Kephart
700a093b0c Only show error if screenshot process dies within timeout period
Currently, we show a "Couldn't take screenshot" error any time the
screenshot process disconnects. However, if the screenshot process
remains up, this can result in strange superfluous notifications,
where hours later the screenshot process gets frozen/killed due to
memory pressure, and we show the notification despite the user not
trying to take a screenshot at that point.

This change adds a check so that we only show the error notification
if the screenshot process is disconnected within the timeout period
(10 seconds).

Bug: 156064134
Fix: 156064134
Test: manual -- killed the process with 'adb shell ps | grep screenshot'
and then 'adb shell kill <pid>' to verify that the error notification
appeared, then made sure it did not appear post-change.

Change-Id: I2419634ad888300abc8b50aadab5888ce653e363
2020-06-04 16:48:49 -04:00
arangelov
f32a43868b Add test for tapping Work share tab when work profile is off
Also fix some work tab-related tests.

Fixes: 158166545
Fixes: 148156663
Test: atest ChooserActivityTest
Test: atest ResolverActivityTest
Change-Id: I5850bbc7d72d563f6e58dd19fafc56c0703ce669
2020-06-04 19:09:35 +01:00
TreeHugger Robot
55eacece93 Merge "Refocus conversation expand button in TalkBack" into rvc-dev am: 2c99d90744 am: a9c633d213 am: bdb66e5d39 am: d3e694d9aa
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11678253

Change-Id: I19a24df45266e27a8ddabe027e9102536162febf
2020-06-04 17:34:01 +00:00
arangelov
5d9ca17ddc Setup button bar padding before empty state handling
Otherwise we don't add the padding if we show the empty state
on the current profile. This caused a slight height jump when
swiping to the other profile.

Fixes: 158174328
Test: manual
Test: atest ChooserActivityTest
Test: atest ResolverActivityTest
Change-Id: I08c3f30716a8fb9a15e30088be6d274dc0869cac
2020-06-04 18:18:59 +01:00
TreeHugger Robot
bdb66e5d39 Merge "Refocus conversation expand button in TalkBack" into rvc-dev am: 2c99d90744 am: a9c633d213
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11678253

Change-Id: Ib5abaa517d7587861adef56bdd4b4bb02f73d904
2020-06-04 17:10:12 +00:00
TreeHugger Robot
76b6956c01 Merge "Refocus conversation expand button in TalkBack" into rvc-dev am: 2c99d90744
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11678253

Change-Id: Id5785ab8b9bb54d6d9346bd6141b965777420746
2020-06-04 16:58:41 +00:00
TreeHugger Robot
2c99d90744 Merge "Refocus conversation expand button in TalkBack" into rvc-dev 2020-06-04 16:33:45 +00:00
arangelov
416a1b347c Show 2nd row if we have 1 row in active profile and empty state in other
Fixes: 157982025
Test: manual
Test: atest ChooserActivityTest
Test: atest ResolverActivityTest
Change-Id: Ifa525bad5d89d2ea6192044c6e2bb63310c57693
2020-06-04 14:36:00 +01:00
Peter_Liang
1eedde0d0f Shouldn't turn on other accessibility features in SuW.
Root Cause:
During the SuW, user could turn on other accessibility features except for Magnification, Select to Speak, and Talkback through edit shortcut menu list.

Solution:
Hide the edit shortcuts button if in the SuW period to avoid to turn on others.

Bug: 158046037
Test: manual test
Change-Id: I06e5fde2320c0736ecaf9feb912349c5965cb491
2020-06-04 18:10:28 +08:00
Zak Cohen
7e1ceb2f60 resolve merge conflicts of 2e8946bbc0 to master
Change-Id: I0f4b0420299781ac1ddd962749018ea418ef22eb
2020-06-04 04:23:10 +00:00
Zak Cohen
9db7e97167 Merge "Screenshot - pass bitmap as bundled hardware buffer from Launcher" into rvc-dev am: 4fdd3c8e34
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11711139

Change-Id: Ib1d115ff3ddd466ff35d75adf01ee1f334804e54
2020-06-04 03:23:11 +00:00
Jeff DeCew
4055c0861f Refocus conversation expand button in TalkBack
Test: manual
Fix: 156872754
Change-Id: I43e83c307adff4ce591a2650899b9356adf30e01
2020-06-03 19:47:15 -04:00
Zak Cohen
4cfb590a28 Screenshot - pass bitmap as bundled hardware buffer from Launcher
When passing a screenshot from Launcher to Sysui it should be passed
as a hardware buffer inside a bundle to avoid copying the underlying pixels.

Change also adds userid and component when a screenshot is passed.

Bug: 157380566
Bug: 156757117
Test: local
Change-Id: I531f1d1a41d179a257fe7202b68a6d1a78cc0f79
2020-06-03 16:09:57 -07:00
TreeHugger Robot
8d32be7e28 Merge "Set calling user as intent extra to indicate intent resolver edge case" into rvc-dev am: c235831ae5 am: e12aa6fadb am: a9b41a8e94 am: 1867ddfa83
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11689273

Change-Id: I8e2a3f8cdbb4790225b758eb65becdc8844084ae
2020-06-03 20:30:56 +00:00
Automerger Merge Worker
875adc7b85 Merge "Merge "Also call Intent#fixUris for the intent resolver case" into rvc-dev am: 31a2e1ba46 am: a825b17dfe" into rvc-d1-dev-plus-aosp am: 3cfe1e9bf4 am: 803648e9a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11689597

Change-Id: I3ba76f1ccb568ddf1e55160a60d3e70666d5cd07
2020-06-03 19:51:49 +00:00
TreeHugger Robot
e12aa6fadb Merge "Set calling user as intent extra to indicate intent resolver edge case" into rvc-dev am: c235831ae5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11689273

Change-Id: If46fad4d1d60e7c2465e671c188cc2e22385b808
2020-06-03 19:46:31 +00:00
TreeHugger Robot
c235831ae5 Merge "Set calling user as intent extra to indicate intent resolver edge case" into rvc-dev 2020-06-03 19:33:26 +00:00
TreeHugger Robot
a825b17dfe Merge "Also call Intent#fixUris for the intent resolver case" into rvc-dev am: 31a2e1ba46
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11689597

Change-Id: I733564e57c23b14e88ae2339e2d513ac5da77501
2020-06-03 19:18:22 +00:00
TreeHugger Robot
31a2e1ba46 Merge "Also call Intent#fixUris for the intent resolver case" into rvc-dev 2020-06-03 19:16:31 +00:00
Will Brockman
bbd80b70e1 Merge "Add RankingSelected to UiEventLogger." into rvc-dev am: c66aeed213 am: b97ec7aa49 am: cb1a01e27b am: ef806235fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11692386

Change-Id: I32bf4b036c55814e62430a7ff1eca9c27e4fe4cc
2020-06-03 18:21:22 +00:00
Will Brockman
ef806235fa Merge "Add RankingSelected to UiEventLogger." into rvc-dev am: c66aeed213 am: b97ec7aa49 am: cb1a01e27b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11692386

Change-Id: I210574ba4301af4b0abeb547e9bb91945a24d75a
2020-06-03 18:13:58 +00:00