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
Test: m
Test: manually verified that DeviceIdleModeStateChanged atom gets logged
before boot completes (using ag/11529814 to log)
Bug: 156913221
Change-Id: I3dbf154083f1cbe660625066dc50b6a8ffd60d7c
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
* 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
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
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
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
-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
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
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
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