Not used by anyone at the moment and could cause confusion with
the vararg overload, so removing.
Bug: 194988881
Test: atest MixedDeviceOwnerTest#testSecurityLoggingWithSingleUser
Change-Id: I73e64396bbbac69314ac26242f6e00ad1c9453ba
Adds a new API to VoiceInteractor to allow apps to query
the package name of the Voice Interactor associated with
this the current voice interaction
BUG: 192061561
CTS-Coverage-Bug: 218687104
Test: Manual validation from personal and work profiles
Change-Id: If381c38498535bf94d13c0b5ad5f6c4fa5495117
The System Server populates this new field.
CTS-Coverage-Bug: 210528288
Bug: 210528288
Test: RBE Built redfin-eng and tested on a physical device
Change-Id: I34e1631190b1baa2de9b2c97650865ac1ae1f38e
KeyguardManager#isDeviceSecure() shall return false when called on a virtual display
Bug: 210153811
Test: atest CtsVirtualDevicesTestCases:DefaultDisplayIsDeviceSecureTest CtsVirtualDevicesTestCases:StreamedAppBehaviorTest#isDeviceSecure_shouldReturnFalseOnVirtualDisplay
Change-Id: I5149b08fde8d3a09e484ea965035bd5e7d2bff7b
It's already a @SystemApi, but it's used by CTS so it needs to be
allowlisted as @TestApi, otherwise the test fails with a
NoSuchMethodException.
Test: atest com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_newUserDisclaimer
Test: m update-api
Bug: 217753260
Change-Id: Ied5d86a5c067d57a4ae9bbc4d753481879d2e89e
* null means no policy is enfrced, any IM is allowed.
* empty means no IMs is allowed except system IMs.
+ also use the correct user in InputMethodPreferences when checking for
enforcing admin
Bug: 211063191
Test: manual, CtsVerifier/BYOD managed provisioning/Policy transparency
Change-Id: Ie8bf6de2d53c80b0f2f91e7e96479764834d55ef
To support RCN use case, allow system apps with the
MEDIA_CONTENT_CONTROL permission to declare that their MediaStyle notification
is for remote playback, and pass in their own device name, icon, and intent to
use in place of the default output switcher that appears on the media controls
Bug: 204910409
Test: atest
Test: manual with test app
Change-Id: Icbfa288c48da9c2ab2fdfdd6b0bfe2b545afaac0
This CL is mainly from the requirements to receive WindowMetrics
updates in Jetpack Library. It also benefits the developers if
they want to listen to Activity's configuration changes outside
Activity
Test: atest RegisterComponentCallbacksTest
Bug: 199442549
Change-Id: Iff5c0a4d9c61d30b84ff9aee465f1b6b06f1a48d
This reverts commit 761d4a0ccf.
Reason for revert: A fix can solve the issue for which this revert was created
Bug: 196856709
Bug: 218391941
Bug: 218267535
Test: Safetynet test
Test: health/mpts/heavyweight
Ignore-AOSP-First: pending fix for logcat privacy issue
Change-Id: I54222244b2aa6a9f307ed61629608abe12db1e3d
- Remove mTopCallback field
- Cleanup compat and default callbacks
- Remove the callback held by WindowState when the window is removed.
Bug: 218328707
Test: atest packages/apps/Launcher3/tests/src/com/android/launcher3/ui/TaplTestsLauncher3.java
Test: atest frameworks/base/core/tests/coretests/src/android/window/WindowOnBackInvokedDispatcherTest.java
Change-Id: I38fd760a617500c874aef10bc8de165880837008
* Log when the user's lockscreen password has been changed, together
with the new password's complexity level.
* Also expose SecurityLog.writeEvent() as SystemAPI, as some
mainline modules (WiFi etc) will start emitting security events.
Bug: 194988881
Test: atest MixedDeviceOwnerTest#testSecurityLoggingWithSingleUser
Test: atest OrgOwnedProfileOwnerTest#testSecurityLogging
Change-Id: I2da4fdd15f85fab9244a978be7b1dafb4a82d190
Does not remove Support Library artifacts from docs classpath (ApiDocs.bp)
because they are still used in development/samples, which is not as easy
to migrate as javadoc.
Bug: 158779503
Test: make docs
Exempt-From-Owner-Approval: Mass find/replace for androidx migration
Change-Id: Icf7f53ec36a0e970413352e2ebf40ce9d60ed17e
This APIs are primarily used by CarService, which always runs as
system user, so they cannot rely on the calling user id.
Test: atest CtsDevicePolicyManagerTestCases com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_newUserDisclaimer # on automotive and phone
Test: manual verification
Change-Id: I56bb8cd12be766ef9da6c71a524912f7f8680aad