Commit Graph

14216 Commits

Author SHA1 Message Date
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
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
Antoan Angelov
902be7f62b Merge "Launch intent resolver in same profile when used for sharing" into rvc-dev am: 66f1f9e2ce
Change-Id: Icc924304123eb44744b30cc7abb1c271df0f3a02
2020-05-27 20:13:49 +00:00
Antoan Angelov
66f1f9e2ce Merge "Launch intent resolver in same profile when used for sharing" into rvc-dev 2020-05-27 20:08:29 +00:00
Ruchir Rastogi
48ce900e5a Merge "Inject DeviceIdle atom before boot completes" into rvc-dev am: e9e4428d4d am: 3939c13ce4 am: d1d83106a7 am: 619fe72221
Change-Id: Idb1e71e2e95b25bf1ae6b018dabfe4241b05145a
2020-05-27 18:20:01 +00:00
Ruchir Rastogi
619fe72221 Merge "Inject DeviceIdle atom before boot completes" into rvc-dev am: e9e4428d4d am: 3939c13ce4 am: d1d83106a7
Change-Id: Ifb4719ed904d55c5af88c9854ac0e93b0864c2e4
2020-05-27 18:06:52 +00:00
Ruchir Rastogi
100e8d1b71 Merge "Inject DeviceIdle atom before boot completes" into rvc-dev am: e9e4428d4d
Change-Id: I9c9dfc4b69b6a9ecf4337a5d9eb7413318d7a385
2020-05-27 17:46:54 +00:00
Ruchir Rastogi
e9e4428d4d Merge "Inject DeviceIdle atom before boot completes" into rvc-dev 2020-05-27 17:44:07 +00:00
Ruchir Rastogi
04c3476986 Inject DeviceIdle atom before boot completes
Test: m
Test: manually verified that DeviceIdleModeStateChanged atom gets logged
before boot completes (using ag/11529814 to log)
Bug: 156913221
Change-Id: I3dbf154083f1cbe660625066dc50b6a8ffd60d7c
2020-05-27 17:43:39 +00:00
Benedict Wong
8f29769362 Merge "Add methods for IKEv2/IPsec test mode profiles" into rvc-dev 2020-05-27 17:31:00 +00:00
Narayan Kamath
754186806d Revert ResolverActivity changes associated with browseables.
Reverts changes 69df963, 0c7c5d59, 6cbef19 and others. These changes
don't revert cleanly because of several refactorings layered on top
of the original changes.

The main objective of these change is to get rid of mUseLayoutForBrowseable
and associated codepaths as we treat choosing between browseables the
same as other choices.

Bug: 157460946
Test: manual
Test: atest ResolverActivityTest
Test: atest ChooserActivityTest

Change-Id: Ibe9f2289289f7f5da3986e6892a2ee4ff65765a0
2020-05-27 12:48:15 +01:00
TreeHugger Robot
9979e7107d Merge "Fix talkback focus issue in share sheet" into rvc-dev am: b7f81189bd am: 9d9b4ed64c am: dddca4f9a4 am: b1fb21dd1c
Change-Id: I681e94171666bb04a229f20d7c0eac41085cbdf4
2020-05-26 19:33:14 +00:00
TreeHugger Robot
dddca4f9a4 Merge "Fix talkback focus issue in share sheet" into rvc-dev am: b7f81189bd am: 9d9b4ed64c
Change-Id: I1bf4beeda1f2de29fa299255ff838ca9f140aa1d
2020-05-26 18:45:19 +00:00
TreeHugger Robot
14a791d2dd Merge "Fix talkback focus issue in share sheet" into rvc-dev am: b7f81189bd
Change-Id: I13a6e83b7867c4ef1341e046655f4b1970948a83
2020-05-26 18:33:41 +00:00
TreeHugger Robot
b7f81189bd Merge "Fix talkback focus issue in share sheet" into rvc-dev 2020-05-26 18:21:25 +00:00
Mike Digman
ddfc631968 Merge "Use current label for Sharing Shortcuts in Sharesheet" into rvc-dev am: 9a4ec16d7f am: 41a950e82c am: e996ed90fa am: 2b61c20c2a
Change-Id: I483b0f423a2ea20581de9394a29a15ea882879ab
2020-05-26 16:22:53 +00:00
Mike Digman
e996ed90fa Merge "Use current label for Sharing Shortcuts in Sharesheet" into rvc-dev am: 9a4ec16d7f am: 41a950e82c
Change-Id: I48ebfd8c7cd37d429194e59900003f8db8c71a9e
2020-05-26 16:17:34 +00:00
Mike Digman
8fa8ea8b55 Merge "Use current label for Sharing Shortcuts in Sharesheet" into rvc-dev am: 9a4ec16d7f
Change-Id: I57ed05e511cfc5717888fca64a66a75b4c114c83
2020-05-26 16:01:48 +00:00
Kholoud Mohamed
85a28ec570 Fix talkback focus issue in share sheet
Fixes: 149440209
Test: manual testing
Change-Id: Ia41f9331da8345a4ac9c298574206fe544407fce
2020-05-26 16:36:36 +01:00
TreeHugger Robot
07190cfb92 Merge changes I0b36a281,I42b05d5c,Ic5ce2741
* changes:
  Remove dependency on InstallArgs during Package Verification
  Extract verification of version code into a separate method
  Simplify handleStartCopy by extracting logic into separate methods
2020-05-26 13:13:44 +00:00
Mike Digman
eb257d1a7d Use current label for Sharing Shortcuts in Sharesheet
A recent ShortcutInfo change bakes in support for using any
set long label and defaulting to the short label if unavailable.
Instead of duplicating logic, reuse this new method.

Fixes: 157142833
Test: manual
Change-Id: Ic8104ac57dd91a79b93739514655d7dbb5ad36e2
2020-05-21 16:04:43 -07:00
Dmitri Plotnikov
10f56ebc71 Merge "Move IndentingPrintWriter to android.util" 2020-05-21 21:17:07 +00:00
Mike Digman
91b1a7e9db Merge "Clean up Sharesheet pinning, add app icon, remove DS pin menu" into rvc-dev am: 7980546c03 am: 4d9d1f737b am: 6068a72684 am: 9acc137ea8
Change-Id: Id76499b93de420a52d30f72c92da018fbdbb3ae1
2020-05-21 21:02:25 +00:00
TreeHugger Robot
1e2d91f579 Merge "Use shortcut long labels if available in Sharesheet" into rvc-dev am: 059d812ef9 am: 388393c843 am: bbcfaf8c86 am: d9b4ba1bcf
Change-Id: I64d391c34cfa20f9d6063da9b624d62b4f1b3599
2020-05-21 20:26:36 +00:00
Mike Digman
6068a72684 Merge "Clean up Sharesheet pinning, add app icon, remove DS pin menu" into rvc-dev am: 7980546c03 am: 4d9d1f737b
Change-Id: I16e844280dfd27500a3684c41060ffbe198b8d0e
2020-05-21 20:12:06 +00:00
Mike Digman
9cda8de825 Merge "Clean up Sharesheet pinning, add app icon, remove DS pin menu" into rvc-dev am: 7980546c03
Change-Id: I96ca7b700252042103d2355716d5ad43599e39d0
2020-05-21 20:11:50 +00:00
Mike Digman
7980546c03 Merge "Clean up Sharesheet pinning, add app icon, remove DS pin menu" into rvc-dev 2020-05-21 20:05:58 +00:00
TreeHugger Robot
d9b4ba1bcf Merge "Use shortcut long labels if available in Sharesheet" into rvc-dev am: 059d812ef9 am: 388393c843 am: bbcfaf8c86
Change-Id: I956c00cef2b0377fdd8b4ff931d5501a3c31a70f
2020-05-21 19:55:46 +00:00
TreeHugger Robot
3d457779df Merge "Use shortcut long labels if available in Sharesheet" into rvc-dev am: 059d812ef9 am: 388393c843
Change-Id: Iff779885d4d42f88ce331e7bdd590d42c096cc52
2020-05-21 19:35:03 +00:00
TreeHugger Robot
b635c88d6e Merge "Use shortcut long labels if available in Sharesheet" into rvc-dev am: 059d812ef9
Change-Id: I016d4dacb781c6927a7c153d5cb18249c4889b31
2020-05-21 19:21:20 +00:00
TreeHugger Robot
059d812ef9 Merge "Use shortcut long labels if available in Sharesheet" into rvc-dev 2020-05-21 19:01:42 +00:00
Mike Digman
64c704390d Clean up Sharesheet pinning, add app icon, remove DS pin menu
Remove "App info" item from all long-press menus as it's no
longer needed. Prevent DS targets from showing a long-press
menu. Simplify code surrounding this, in part, for future
migration to a popup menu.

Fixes: 157156399
Test: manual
Change-Id: I3e29e3dd46268cc344dcc93059f2bda1eeef32f1
2020-05-21 11:17:51 -07:00
Dmitri Plotnikov
f800b70dc5 Move IndentingPrintWriter to android.util
The old implementation remains in its place for now.

IndentingPrintWriter is still hidden - it will be made public
separately.

Test: atest FrameworksUtilTests:android.util.IndentingPrintWriterTest
Bug: 142281756

Change-Id: Idd2bfa027733ef384b5a676866a89fb3c35b06cb
2020-05-21 10:36:53 -07:00
Soonil Nagarkar
fb272095ad Refactor GeofenceManager
-Makes geofence manager work synchronously so that testing is not flaky
-Adopts ListenerMultiplexer for geofence listeners so that logic is
shared across location code
-Adds support for location blacklisting and background users
-Substantially reduces the CPU overhead of maintaining listeners
-Adds worksource support to geofencing so power blame is done correctly
-Adds new feature id for geofencing

Test: manual + presubmit
Change-Id: If55bc18f202debf7dd183f0120a24e8f75623ce8
2020-05-20 14:08:03 -07:00
Automerger Merge Worker
3289b5e6e8 Merge "Merge "Fix talkback for switch on work in ResolverActivity" into rvc-dev am: 606980b356 am: 44f514ed2a am: eb2eeab0b1" into rvc-qpr-dev-plus-aosp am: 793f22a16c
Change-Id: Ic85c5ce3091867a10e8ce3d91d0cd98d944a700b
2020-05-20 18:53:57 +00:00
TreeHugger Robot
0bffbd8c9a Merge "Fix talkback for switch on work in ResolverActivity" into rvc-dev am: 606980b356 am: 44f514ed2a am: eb2eeab0b1
Change-Id: I79c352e1472d42df938d18d5ee8f2b6f9bdc978f
2020-05-20 18:32:01 +00:00
TreeHugger Robot
8c7b5b603d Merge "Fix talkback for switch on work in ResolverActivity" into rvc-dev am: 606980b356 am: 44f514ed2a
Change-Id: If8ee0adbd2a6c08d638ab1a55d6aa5ee40032504
2020-05-20 18:19:35 +00:00
Mike Digman
ed44706beb Use shortcut long labels if available in Sharesheet
For disambiguation between targets, it's important to see
the most detailed label provided by apps. This change is aligned
with the logic being used to display conversation shortcuts.

Fixes: 157142833
Test: manual
Change-Id: I203afc794730cac5c92717035af0ea47d8e6496b
2020-05-20 11:08:55 -07:00
TreeHugger Robot
3e8384e445 Merge "Fix talkback for switch on work in ResolverActivity" into rvc-dev am: 606980b356
Change-Id: Id64d374173c61b46190874222a477c55adc87ceb
2020-05-20 18:05:30 +00:00
TreeHugger Robot
606980b356 Merge "Fix talkback for switch on work in ResolverActivity" into rvc-dev 2020-05-20 17:55:54 +00:00
Kholoud Mohamed
77bc0f15e3 Fix talkback for switch on work in ResolverActivity
Set the focus to the work tab when switch on
work profile is clicked.

Fixes: 152014143
Test: Manually tested the bug no longer happens
Change-Id: Iba72f238cdaf564256648327d12a54c6227dd23b
2020-05-20 15:29:07 +01:00
Mohammad Samiul Islam
5c95b7d1a7 Extract verification of version code into a separate method
Overriding install location is required for installation of package.
Verification of version code of package is required for package
verification. Keeping them separate make it easier to split verifcation
phase from install phase in future.

Bug: 136257624
Test: atest StagedInstallTest
Test: atest AtomicInstallTests
Test: atest GtsSecurityHostTests
Change-Id: I42b05d5cab86b4c14e7649b337dc997e0c8ee55f
2020-05-19 17:11:01 +01:00
Mike Digman
fd94e4bcb3 Merge "Add pinned target indicator to Sharesheet, update visuals" into rvc-dev am: aa96eb5733 am: f5f2c3f413 am: 2d05148354 am: 3b8fa157a2
Change-Id: Ic331bd319e62e40be95a0df20f68e037fd0e90c8
2020-05-18 23:38:27 +00:00