Commit Graph

14109 Commits

Author SHA1 Message Date
Antoan Angelov
088c93be82 Merge "Add bottom offset to empty state screens for chooser" into rvc-dev am: 3b31c14eb5 am: f03fafc76a am: cdca75a189 am: 0b10d2b4c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11623666

Change-Id: Idbbc81103548648d77186bb4dc654ab687469a24
2020-06-03 12:17:54 +00:00
Antoan Angelov
0b10d2b4c3 Merge "Add bottom offset to empty state screens for chooser" into rvc-dev am: 3b31c14eb5 am: f03fafc76a am: cdca75a189
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11623666

Change-Id: I9d8c9d5b7612af17d56735670f2fc61a0178b3f6
2020-06-03 12:04:06 +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
0bc7867b71 Merge "Always use Shortcut Icon in conversation if available" into rvc-dev am: cc1937581a am: 4c42f40c1f am: ad14c752c4 am: aa9275bb9d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11662920

Change-Id: I2aaa8cb531c0d44f6d6f167ef3a9f2c14840e75d
2020-06-02 19:21:01 +00:00
Steve Elliott
aa9275bb9d Merge "Always use Shortcut Icon in conversation if available" into rvc-dev am: cc1937581a am: 4c42f40c1f am: ad14c752c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11662920

Change-Id: I44cd9b7cc4298067f6aef83716bfcf797f1b6edf
2020-06-02 18:54:49 +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
TreeHugger Robot
9c01211d8f 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 am: 8549324e42 am: 4472c5f9a0 am: 3480da7103
Original change: undetermined

Change-Id: Idefd84661db33a0466c3db4a826ceff3873ffbc3
2020-06-02 14:07:05 +00:00
TreeHugger Robot
3480da7103 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 am: 8549324e42 am: 4472c5f9a0
Original change: undetermined

Change-Id: Icf4d4d30f3218934f128e7f064a3bffc64f7e8c9
2020-06-02 13:51:05 +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
d55f9221b3 Merge "Only add user id to content uri if launching cross-profile target" into rvc-dev am: 6d5e349bcd am: 0cc6086757 am: c80bb1f31e am: 5cf58a5ef8
Original change: undetermined

Change-Id: Ide4287374801d6e81906a4a06339196d590e6d43
2020-06-02 11:37:48 +00:00
Antoan Angelov
1f72e54624 Merge "Don't query direct share for work profile when its turned off" into rvc-dev am: 1a0d72eaa9 am: 2db1073bf0 am: f8623d4a5f am: d589cdeb17
Original change: undetermined

Change-Id: I7ca12e962c1e28750fbffab9933beb01c575c81c
2020-06-02 11:36:59 +00:00
Antoan Angelov
c80bb1f31e Merge "Only add user id to content uri if launching cross-profile target" into rvc-dev am: 6d5e349bcd am: 0cc6086757
Original change: undetermined

Change-Id: If2ae5a93f45abc390c68bd9244bbf54802f9a820
2020-06-02 11:01:50 +00:00
Antoan Angelov
f8623d4a5f Merge "Don't query direct share for work profile when its turned off" into rvc-dev am: 1a0d72eaa9 am: 2db1073bf0
Original change: undetermined

Change-Id: I5d46c85d90a960aa4d14a0e7d14277f0326fad5e
2020-06-02 11:01:30 +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
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
026ddd5688 Merge "Update the default score for direct share targets." into rvc-dev am: 060eff0716 am: b07bb870c8 am: f1480f878a am: 2fd56b5b51
Change-Id: I68b9894e49c0a5e7cf45b6036b1a3daa349449a6
2020-06-01 20:14:25 +00:00
Song Hu
f1480f878a Merge "Update the default score for direct share targets." into rvc-dev am: 060eff0716 am: b07bb870c8
Change-Id: Ic2a3fa3ea7da42333f27c4dda01aea5321daca04
2020-06-01 19:39:27 +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
Soonil Nagarkar
7f78f206b7 Adopt new ListenerTransport framework
This makes all LM listeners static, saving memory across LM instances in
an application. In addition, listeners for rarely used APIs such as GNSS
APIs are now initialized on-demand to save memory. Finally, the new
transport framework is adopted for location listeners, which means a new
transport object will be used for every location request, eliminating
several edge case bugs around listener removal.

Test: manual + cts
Change-Id: I1f374248baf695323177f347873fed72841f85d0
2020-05-31 23:12:47 -07: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
fd30295b29 Merge "Install system app in greatest priority partition" into rvc-dev am: d32418a72a am: d5bfbd0f27 am: 4053dfca5e am: cedef20a54
Change-Id: I3785b1e11a70127cd30b080e9a26b527f738ddc8
2020-05-29 18:29:29 +00:00
Ryan Mitchell
4053dfca5e Merge "Install system app in greatest priority partition" into rvc-dev am: d32418a72a am: d5bfbd0f27
Change-Id: Ibd5291cc48b25d168fd7bae736c180ff28916b8b
2020-05-29 18:14:54 +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
b521dab71b Merge "Reduce paddings in landscape mode" into rvc-dev am: 7fd5c1ee83 am: b7e3db2b20 am: 58e70938af am: 21fd79dcde
Change-Id: I2dac262bd6ad4e93983692ca0e9e7809eb51021d
2020-05-29 17:39:47 +00:00
Antoan Angelov
21fd79dcde Merge "Reduce paddings in landscape mode" into rvc-dev am: 7fd5c1ee83 am: b7e3db2b20 am: 58e70938af
Change-Id: I0b0e5b13c323a712c46b85478c1566b807ffeb47
2020-05-29 17:21:49 +00:00
Antoan Angelov
2905247cdd Merge "Reduce paddings in landscape mode" into rvc-dev am: 7fd5c1ee83 am: b7e3db2b20
Change-Id: Ida55da7b9296178fada20632c9b50627ca3233cc
2020-05-29 16:58:46 +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
73dfbcb52a Merge "Preload android.test.base to improve startup performance" am: 1bfeeeb8a1 am: a2826b6410 am: ddcce3c8a0 am: 97c8f0332f am: f322da7834
Change-Id: I3b099e393cbd15049b3a4519bc1ec0ceb12d74d6
2020-05-28 17:52:14 +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
Mike Digman
c9875bd775 Merge "Add icons to Sharesheet pin and group selection UI" into rvc-dev am: 29dfff4228 am: a72661037c am: ee0ed5f8fc am: 863c20f3f6
Change-Id: I07d82d02c40f5a5c21a352f22ae1c620f9a7c4b4
2020-05-28 17:18:47 +00: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
6bd407090f Merge "Revert ResolverActivity changes associated with browseables." into rvc-dev am: 101fcc5746 am: ddd31f2612 am: e6b842dbe5 am: 61fb91b3a5
Change-Id: Ifb5561757a0c0016a2e61b281fff5a139ba40f73
2020-05-28 11:22:09 +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
49c515ac0f Merge "[incremental] respect extractNativeLibs in native lib config" into rvc-dev am: f2a6af4b8a am: 8ecea0c1ce am: 1f5799ffdc am: 80ee4058e8
Change-Id: I3fa99b04bc249163f84b1639e29f323cc92eed6f
2020-05-28 01:24:33 +00:00
Songchun Fan
80ee4058e8 Merge "[incremental] respect extractNativeLibs in native lib config" into rvc-dev am: f2a6af4b8a am: 8ecea0c1ce am: 1f5799ffdc
Change-Id: Ib18aeefdc763c318f6c99f704abf016820d45dbd
2020-05-28 01:06:06 +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
Mike Digman
dc29479df4 Add icons to Sharesheet pin and group selection UI
Merging menu dialogs to simplify code. Fixed a long-press
selection bug. Rtl now works as expected.

Fixes: 150405021
Test: manual
Change-Id: I2c9ea58f2641046700ac1a627a7db9ea20e7092a
2020-05-27 15:47:20 -07:00
Songchun Fan
f2a6af4b8a Merge "[incremental] respect extractNativeLibs in native lib config" into rvc-dev 2020-05-27 22:17:23 +00:00
Songchun Fan
14f6c3c735 [incremental] respect extractNativeLibs in native lib config
Makes sure the behavior is consistent with legacy installs:

When the flag is on, the native libs will be extracted to subdirs under
lib/.
When the flag is off, the lib/ subdirs will be created but the native
libs are not extracted.
When the flag is off, check if the native libs are uncompressed and well
aligned.

Test: atest android.extractnativelibs.cts.CtsExtractNativeLibsHostTest
BUG: 157173358
Change-Id: Idb57fd7ca1115f787faf5cde3056c32ff3f60890
2020-05-27 22:16:57 +00:00
Antoan Angelov
377dc83ff4 Merge "Launch intent resolver in same profile when used for sharing" into rvc-dev am: 66f1f9e2ce am: 902be7f62b am: be2f0247b0 am: c1b502c9e1
Change-Id: Ie933f0c17fed5374d09f0a11f979a5b50d113ecb
2020-05-27 20:54:49 +00:00