The workflow already handles the case where the service dies and the framework re-establishes
the binder connection, but that didn't work when it died because the package was being updated.
This CL fixes this scenario by gracefully pausing the existing sessions before the package is
updated, then resuming them afterwards.
Test: manual verification
Test: atest CtsContentCaptureServiceTestCases # sanity check minus flakiness
Bug: 126266412
Fixes: 129072171
Change-Id: Ibc6b723c7bc08b4f920436f365d6006bc8fac7b6
There was an optimized code path that is hit if the op
has not been accessed that does not write the uid state
information which did not add the closing tag which
resulted in producing a malformed XML.
Test: atest android.app.appops.cts.AppOpsTest#testNonHistoricalStatePersistence
bug:128872367
Change-Id: Iaddcce09b41f3e124e1838b65731d8dac9ca64e3
Need to make sure all content uris have the userid prepended in them,
otherwise when switching profiles the chooser will be denied access.
This is needed for content preview in the chooser itself.
Bug: 128597855
Test: atest ChooserActivityTest
Change-Id: Id835c7b443c1c5a83a8bf61d0545d86e32e92bfc
Adds a facility to listen for per-window exclusion zones and
assembles them into a per-display exclusion zone ready for
consumption by interested parties.
Bug: 126360272
Test: atest DisplayContentTests
Change-Id: Ic186f86ca551af98a5f77beb254d257c281a4160
Escrow tokens can only be activated by user confirming their LSKF,
while ConfirmCredential allows both LSKF and biometrics by default.
By requiring LSKF, it simplifies the DPC's flow of requesting the user
to activate a pending escrow token.
This change introduces an internal API to query the existence of
pending escrow tokens.
Bug: 127377026
Bug: 76084679
Bug: 79547502
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
Change-Id: Ie1ae58d2639394a9e6e1bf13d8bde44dfea240e8
In an effort to allow loading integrity-checked artifacts from
the dalvik-cache, attempt to create and cache the system server's
classloader early, while still being in the system_server_startup
selinux domain.
The advantage of this approach is that allowances for loading
from the cache are restricted to startup.
Bug: 128688902
Test: m
Test: Device boots, picks up /system artifacts
Test: Device boots, picks up integrity-checked /data artifacts
Change-Id: If4a75fa106db09f1bd666d6d8df7ac3ac3e35a8c
Adds support for launcher-like icons via a ported form of
Iconloaderlib. Only fetches resolved activity's app icons with a special
cutout based on permission.
Bug: 126568207
Test: manual, mostly port of known to work code
Change-Id: Iba2c6f9aa5e63c457d9fd47921817c6529776b7a
Per API council feedback, we are making changes to include only the
namespace in the system API defined in DeviceConfig.java. Strings which
define property names should be defined in code local to the feature
instead.
Bug: 126411407
Test: atest FrameworksCoreTests:DeviceConfigTest
Change-Id: I73157c127a246719afb37eca65cabf2e3d24b38a
Moved the content preview into the listview to be scrolled
with the rest of the content. Finally separated out each
content preview into its own layout file.
Bug: 120419296
Test: atest ChooserActivityTest, observe content preview area being scrolled
Change-Id: I2720ca5264a4db34abae178e653e4e91bc54500c
Somehow missed it in the original CL. :(
CL with CP into aosp already has this fix:
aosp/ee4d7be21948307a0fedc6ab75a21d41660aa0c5.
Test: m
Bug: 126541701
Change-Id: Ib5a0f0c7e07699e99f618fc70f4b3cba3abd235d
The new sharesheet design calls for the removal of
direct share/app pinning and unpinning
Bug: 128521718
Test: atest ChooserActivityTest
Change-Id: I5e89c775d3ce3df31a16310689fc36222ad2a107
Do not run direct share logic with non ACTION_SEND* action
codes, as ChooserActivity can be used for many other types.
Update tests to check for correct target counts.
Bug: 127806974
Test: atest ChooserActivityTest
Change-Id: I2b37fc8312ca3602475dee1c989d945c0fdce7e1
This patch fixes an initialization order bug in the USAP pool policy
management code. Previously, bad values were used when initializing the
USAP pool when it was enabled on device boot. This patch ensures that
the policy system properties have been checked before the pool is
initialized.
Test: Boot with USAP pool enabled
Change-Id: I29d91abd511bc35c7a70a3a56668c7ee2290864b
When the user scrolls, expand or collapse the direct share targets
when more than 4 targets exist. Move the caller row below the
direct share row and limit to 4 items.
Bug: 126565347
Test: atest ChooserActivityTest
Change-Id: Ibae2dc0522d9393f2022d699ee641a4f6d553974
This CL renames 4 methods for PopupWindow based on API council
suggestions. Also remove unused import in order to `repo upload`
Bug: b/126354063
Test: All ListPopupWindow, MenuPopup and PopupWindow passed
Change-Id: I5db93b1c18a7a3dc9033cb9c5bbe89107ac22024
Currently libnativeloader appends vendor lib path if apk is from vendor
partition. Similar to this we should add product lib path if apk if from product partition.
Bug: 124705551
Test: m -j && tested from crosshatch with product apps (such as Wallpaper)
Change-Id: Ic85b16e8e4484a35c659c16e067f1e7c7285d05e
Merged-In: Iaa8d0ea61b1b9ab8a1da676a492f75c6a5d71d5d