Bug: 219609105
Change the meaning of "module" in PropertyInvalidatedCache to be a
string rather than an integer. One piece of the unit test has been
removed because of this.
Lint uncovered several lock errors. These are corrected as well.
The corresponding CTS test is updated in the next review.
Test:
* atest FrameworksCoreTests:PropertyInvalidatedCacheTests
Change-Id: Iaaa55974df2d22fc052d5b4b4744384c012f070a
Originally, View was implementing onBackInvokedDisptacherOwner, but now
only Activity and Dialog and since back event are related to the
window, it makes sense to move them into the android.window package
This follow up comment at:
ag/c/platform/frameworks/base/+/16764116/comments/e131f3ef_e3e1d2e0
Test: atest BackNavigationTests
Bug: 221401221
Change-Id: Ia2f26162beb6a41b6e162b31e599e882f8bf7320
Remove lock for cached state in ApplicationPackageManager.
Short-circut the instant app check for internal API calls.
Bug: 215305214
Test: presubmit
Change-Id: Ie122d76f6ea0e950fa25b22bea65f9938a3bf5f1
This optimizes the code by keeping only one remote connection.
Also fixed a typo in WindowManagerService: "StateState" -> "State".
Bug: 216630470
Bug: 220379118
Test: atest CtsWindowManagerDeviceTestCases:KeyguardTests
Change-Id: I8abb64f750e91db7048279f5217b63d35959c3b6
Only show a permission prompt if the activity is a launcher, the calling
app is the same as the opened intent app, or the
isEligibleForLegacyPermissionPrompt ActivityOption is set. Also prevents
the dialog from showing while the keyguard is locked.
Test: atest NotificationPermissionTest
Bug: 194833441
Fixes: 220891438
Change-Id: Ie5381af045d538a5b822bb1ccdf62b1dd916114f
- GMS-core is still sometimes seeing the app class being
instatiated multiple times.
Let's just cache the app instance to avoid such situations.
- Also removed some tentative WTFs, which have never been triggered.
(so they should be unrelated to the dup-app bug)
Bug: 185177290
Test: Boot / treehugger
Change-Id: I4c74a5798264472d1bfbf5604f399a49e5946c64
Simplify the logic, and instead only enable it for gms-core
Test: Manual test with a test app
Bug: 185177290
Bug: 221248960
Change-Id: If75cc3ef8e56469b384d9431f53bcacce638f23c
Change validateCurrentWifiMeetsAdminRequirements to separate APIs for
SSID restriction and minimum security level restriction
Bug: 216628415
Test: atest DevicePolicyManagerTest
Change-Id: Ib0764d2d31a91934aa2acdc92ca2a5f61938139e
If the key is used by device attestation, it can only be used by the
user that generated it, as it's not parcelable. Hence, on devices
running with Headless System User Mode (HSUM), the key must be
generated by the "real" user's PO, not the DO (which runs on system
user).
Test: atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testDelegatedCertInstallerDeviceIdAttestation # on phone
Test: manual verification with TestDpc on automotive
Bug: 213388897
Change-Id: I58623f5c1a1d60af7743f5a815a491ebbad9b9fe