There seems to be some race condition that causes the IME to not show
in some situations. Temporarily add a delay to work around this.
Bug: 147794716
Test: BiometricPromptDemo with only password set up
Change-Id: I34dae203acc6f256410103287cc4d5579a1eaeda
The new annotation to be used is android.compat.annotation.UnsupportedAppUsage.
Test: m
Bug: 145132366
Change-Id: Ib2101605fb385b4f778893e5181a954dccbea037
Exempt-From-Owner-Approval: roll-forward previously approved change
This change avoids unnecessary grants of visibility between uids that
are the same.
Test: atest AppEnumerationTests AppsFilterTest
Change-Id: I32447c3decee18e6149a8a1fdb56027fefbd3804
The appops callback is frequently called from a background thread, which
was causing a crash when calling mNotifPipeline.getActiveNotifs().
Switched the class over to being exclusively single-threaded; it didn't
need to support multiple threads and this simplifies things.
Test: atest SystemUITests:ForegroundCoordinatorTest
Change-Id: I4f010c16fa3f2467a5aaa05ef72c0278396a30e0
Allows profile owner of corporate-owned managed profile to call
the following APIs:
* setSystemUpdatePolicy
* installSystemUpdate
The following APIs can already be called by regular profile owners
so no changes are needed:
* getSystemUpdatePolicy
* getPendingSystemUpdate
Test: atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testSystemUpdatePolicy
Test: atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testInstallUpdate
Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testSystemUpdatePolicy
Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testInstallUpdate
Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testInstallUpdateLogged
Bug: 147414327
Change-Id: I7224eb208f665ca7cb301daa7d17cce5126f7858
* Introduced new logic that allows the profile owner of an
organization-owned device (COPE PO) to hide/unhide system
apps in the personal profile.
* Modified both APIs to be callable on the parent profile
instance if called by the COPE PO.
* When called by the COPE PO, the package provided
must be a system package, otherwise an IllegalArgument
Exception is thrown.
Bug: 147413198
Test: manual testing
atest com.android.server.devicepolicy.DevicePolicyManagerTest
atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testApplicationHidden
atest com.android.cts.devicepolicy.ManagedProfileTest#testParentProfileApiDisabled
Change-Id: I4fae8acee9f00e3b9c805f29cf826f917cda6abd
Per longstanding 'by provider' header
Also fixing timezone offset for recently added history
Bug: 141716920
Test: Verified on device, with adb shell dumpsys location
Change-Id: Ic211827f63d9224510ab35cd0128e2bc0d5bd38c
* changes:
Add LightsManager implementation to LightsService
Add Lights AIDL HAL support to LightsService
Rename Light to LogicalLight to avoid namespace conflicts when adding AIDL HAL lights support.