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
Previously, the agent will have to query the TrustManager to see if a
recently added escrow token has been activated. If the agent asked too
soon about the token state, then the result could be inactive. That
will be hard to distinguish from when the token is actually inactive
because activation failed.
This change pipes the call from LockSettings to the TrustAgentService
through the TrustManager when the token is activated. So, the trust
agent doesn't have to query, it just gets notified.
Bug: 124312230
Test: Observe the onTokenStateReceived() callback received on the trust
agent.
Change-Id: I0ac674219fd7925ba36f50bb695c9998c18226f7
mChooserListAdapter will be null if there are no apps that can perfrom
the action (Share, Open With).
Bug:127305716
Test: Flashed and got the appropriate behavior: https://screenshot.googleplex.com/VcJFGHadspN
Change-Id: I5ca647cd974a02041522409fc070c27df2bdc9c4
Also removed emeritus accounts ek@ and silberst@ from various places.
A cleanup using 'include' would probably be in order...
Test: N/A
Change-Id: I575e60dd5e600e42d9571ce8e8d7661d30e99bfe
This allows us to expose both system-only and app available APIs for
role in RoleControllerService.
Bug: 127691087
Test: manual
Change-Id: I86fe3736fc28516aae25d48efe3ba599ffdf45d5
Add an internal method to ApplicationInfo to get all APK files that may
be required by an application. This moves assumptions about how apps are
constructed out of Zygote.allowAppFilesAcrossFork and into a more
appropriate place where it can be shared.
Bug: 124116212
Test: atest android.webkit.cts.WebViewTest
Change-Id: I79add98c4922c4f97263bff78cf808bc38274755
Because the layout looks pretty much the same as when awake, we're
going back to the regular group layout.
Test: atest SystemUiTests
Fixes: 127697886
Change-Id: I5eafaf74435151faab13d8f84850b4939196edd9