Commit Graph

13849 Commits

Author SHA1 Message Date
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
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
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
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
c5af32b2d8 Merge "Add RankingSelected to UiEventLogger." into rvc-dev am: c66aeed213
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11692386

Change-Id: I6b4322e38ba674a06dbe86da72316c71f75978a2
2020-06-03 17:58:37 +00:00
Will Brockman
c66aeed213 Merge "Add RankingSelected to UiEventLogger." into rvc-dev 2020-06-03 17:55:47 +00:00
arangelov
738034ba6c Set calling user as intent extra to indicate intent resolver edge case
Instead of relying on the user hint in the intent, we now explicitly
set the calling user as an intent extra.

Fixes: 149741820
Test: atest ChooserActivityTest
Test: atest ResolverActivityTest
Test: manual
Change-Id: Iaa37fc1330abbb419035d899fad166afc53aaea8
2020-06-03 18:46:28 +01:00
arangelov
7c510c2227 Also call Intent#fixUris for the intent resolver case
Fixes: 158082179
Test: manual
Test: atest ChooserActivityTest
Test: atest ResolverActivityTest
Change-Id: I74c97f5d2f3bbbcd35df20151a455877562f34ad
2020-06-03 18:24:40 +01:00
Antoan Angelov
ccfaf52f97 Merge "Only allow scroll in one direction at a time" into rvc-dev am: 5f7043db84
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11691616

Change-Id: I10ac3e0329d024c96720493d03f1f7eca380eb60
2020-06-03 14:44:43 +00:00
arangelov
d85a74a473 Only allow scroll in one direction at a time
Fixes: 156605289
Test: manual
Test: atest ChooserActivityTest
Test: atest ResolverActivityTest
Change-Id: Ibf301f7aa4440e4483355829d0e24fc8e53350e7
2020-06-03 13:19:36 +01:00
Antoan Angelov
8341cc605f Merge "Add bottom offset to empty state screens for chooser" into rvc-dev am: 3b31c14eb5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11623666

Change-Id: I31dd481e358227c863b1b3abb7c3595bfb374a9b
2020-06-03 11:35:03 +00:00
Antoan Angelov
3b31c14eb5 Merge "Add bottom offset to empty state screens for chooser" into rvc-dev 2020-06-03 11:32:24 +00:00
Steve Elliott
841ddf9dd2 Merge "Always use Shortcut Icon in conversation if available" into rvc-dev am: cc1937581a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11662920

Change-Id: I4a8979618900abb1e13547d67e6fe2539203b3e8
2020-06-02 18:53:14 +00:00
Steve Elliott
cc1937581a Merge "Always use Shortcut Icon in conversation if available" into rvc-dev 2020-06-02 18:46:38 +00:00
arangelov
28bb4fe9d4 Add bottom offset to empty state screens for chooser
Test: manual
Test: atest ResolverActivityTest
Test: atest ChooserActivityTest
Fixes: 153654313
Change-Id: I36f55425a2c4daff52d7732d5c71445eb2c03527
2020-06-02 17:58:28 +01:00
Will Brockman
56973c2b47 Add RankingSelected to UiEventLogger.
Allow logging of the RankingSelected variant of UiEventReported.

Change-Id: Ibe1b7bfe4798cdaf07cf87ec8efefb0006909872
Bug: 155061525
Test: atest SystemUiTests
2020-06-02 10:16:22 -04:00
TreeHugger Robot
625ed8e4a2 Merge "Fix app stack issue: send the selected target info into AppPredictionService and UsageStatsManager, when user share from app stack on sharesheet." into rvc-dev am: 22e135e17c
Original change: undetermined

Change-Id: I2a1d52c4295e1b239bc174ee5f06bcbaa02d3610
2020-06-02 13:42:52 +00:00
TreeHugger Robot
22e135e17c Merge "Fix app stack issue: send the selected target info into AppPredictionService and UsageStatsManager, when user share from app stack on sharesheet." into rvc-dev 2020-06-02 13:35:51 +00:00
Antoan Angelov
a27b48776e Merge "Only add user id to content uri if launching cross-profile target" into rvc-dev am: 6d5e349bcd
Original change: undetermined

Change-Id: Ic17cdd26febc197fc6deb3c465fb01e578ac63bb
2020-06-02 10:56:52 +00:00
Antoan Angelov
6d5e349bcd Merge "Only add user id to content uri if launching cross-profile target" into rvc-dev 2020-06-02 10:52:04 +00:00
Antoan Angelov
267e554d5e Merge "Don't query direct share for work profile when its turned off" into rvc-dev am: 1a0d72eaa9
Original change: undetermined

Change-Id: Ida0084a4b2dc9eb400f082f526b0df5a70249b4d
2020-06-02 10:49:51 +00:00
Antoan Angelov
1a0d72eaa9 Merge "Don't query direct share for work profile when its turned off" into rvc-dev 2020-06-02 10:33:55 +00:00
Song Hu
03265c0f68 Merge "Update the default score for direct share targets." into rvc-dev am: 060eff0716
Change-Id: Iccf12b32f4e1fcaea803832491677cf775ce3871
2020-06-01 19:08:56 +00:00
Song Hu
060eff0716 Merge "Update the default score for direct share targets." into rvc-dev 2020-06-01 18:51:49 +00:00
Song Hu
b6039994d2 Fix app stack issue: send the selected target info into AppPredictionService and
UsageStatsManager, when user share from app stack on sharesheet.

Fix: 157917956
Test: atest CtsSharesheetTestCases:android.sharesheet.cts.CtsSharesheetDeviceTest
Change-Id: I268af5d996dcca275014fba1cace2c54930b9b0c
2020-06-01 11:51:17 -07:00
arangelov
9e811f9064 Don't query direct share for work profile when its turned off
Test: manual
Test: atest ChooserActivity
Test: atest ResolverActivity
Fixes: 157902213
Change-Id: I1e48d5a10ee2099c945254fce905086349ebfc41
2020-06-01 17:37:28 +01:00
Song Hu
93cefaac1c Update the default score for direct share targets.
Bug: 151112858
Test: atest CtsSharesheetTestCases:android.sharesheet.cts.CtsSharesheetDeviceTest
Change-Id: I700bebf19bbaf208efaccf97ab77472d43c1b34a
2020-06-01 09:07:19 -07:00
arangelov
9a8a6744ef Only add user id to content uri if launching cross-profile target
Test: manual
Test: atest ResolverActivityTest
Test: atest ChooserActivityTest
Bug: 156552093
Change-Id: Icbdf0ea33f35785322eb6bfb23e88dfdacf7fd34
2020-06-01 14:17:32 +01:00
Steve Elliott
6373829000 Always use Shortcut Icon in conversation if available
Bug: 153751740
Test: manual
Change-Id: Ib1002b53d700d2857f69cd476de79a4e34f90559
2020-05-29 15:56:00 -04:00
Ryan Mitchell
32a8e378e4 Merge "Install system app in greatest priority partition" into rvc-dev am: d32418a72a
Change-Id: I4fa9569fc48dafc38538e46893597a4ec248a254
2020-05-29 18:11:47 +00:00
Ryan Mitchell
d32418a72a Merge "Install system app in greatest priority partition" into rvc-dev 2020-05-29 18:05:31 +00:00
Antoan Angelov
4781d61f69 Merge "Reduce paddings in landscape mode" into rvc-dev am: 7fd5c1ee83
Change-Id: I9b7a2b2ccdaf387b47da1096d4f28838a72b0202
2020-05-29 16:41:38 +00:00
arangelov
981e41417a Reduce paddings in landscape mode
On orientation change, the paddings are not
automatically updated. We re-set them manually,
because requestLayout() or invalidate() did not solve this.

Also properly updates the empty state icon visibility
(as in some cases it was still showing in landscape on config
change).

Test: manual
Test: atest ResolverActivityTest
Test: atest ChooserActivityTest
Fixes: 149817494
Change-Id: I2d6ff1078ee834fa50aa47ede7641f6359c267de
2020-05-29 13:40:19 +00:00
Ryan Mitchell
d4e7f93df5 Install system app in greatest priority partition
On Pixel 2 devices, /product is a symlink to /system/product. The
product partition has a higher partition precedence than the system
partition so the app should be installed as a system app on the product
partition.

This change also unifies methods for checking whether a file is within
a partition so we will paths will always be canonicalized before the
check.

Bug: 152522330
Test: update system app in system/product/privapp, uninstall updates,
      verify that the app was scanned as privileged
Change-Id: I646a5f293b977a78daa2102b73f1d3122f774a2a
2020-05-28 16:06:30 -07:00
TreeHugger Robot
dcd5bcaf10 Merge "Preload android.test.base to improve startup performance" into rvc-dev 2020-05-28 19:16:39 +00:00
Paul Duffin
5ec5409a64 Preload android.test.base to improve startup performance
Bug: 73711752
Test: make droid && flashall
Merged-In: I28ac1544c20bc3e8abb4341aa331c212f16301f0
Change-Id: I28ac1544c20bc3e8abb4341aa331c212f16301f0
(cherry picked from commit 0c57079427)
2020-05-28 18:32:37 +01:00
Paul Duffin
ddcce3c8a0 Merge "Preload android.test.base to improve startup performance" am: 1bfeeeb8a1 am: a2826b6410
Change-Id: Ica3ee9224881d019dc2717c3dccfbbafb1e64707
2020-05-28 17:18:30 +00:00
Mike Digman
a72661037c Merge "Add icons to Sharesheet pin and group selection UI" into rvc-dev am: 29dfff4228
Change-Id: I37c83ceeb42ea01ebca373efc8c983a68cf005b7
2020-05-28 16:27:54 +00:00
Mike Digman
29dfff4228 Merge "Add icons to Sharesheet pin and group selection UI" into rvc-dev 2020-05-28 16:06:14 +00:00
Narayan Kamath
ddd31f2612 Merge "Revert ResolverActivity changes associated with browseables." into rvc-dev am: 101fcc5746
Change-Id: I4cf65010b2a17c47fc55c5db6095afa0483a1334
2020-05-28 10:38:24 +00:00
Narayan Kamath
101fcc5746 Merge "Revert ResolverActivity changes associated with browseables." into rvc-dev 2020-05-28 10:35:09 +00:00
Songchun Fan
b8e087607b Merge "[incremental] respect extractNativeLibs in native lib config" into rvc-dev am: f2a6af4b8a
Change-Id: Ibc96844cf6737663c48c9133b49bc9c972ed632f
2020-05-28 00:59:35 +00:00