Notifications now (based on a config) use the theme accent color instead of the app-provided color to colorize various elements within the notification (e.g. progress bar, actions).
Bug: 181048615
Test: exhausting visual inspection of as many notification combinations as the code led me to.
Change-Id: Ifbf07b27c65da9b17a0f0ecf6e1e6237126d015a
In order to support auto translation, we need to give information to
content capture service to let the app can use this information to
find the Activity which needed to be translated.
It's not safe to provide an activity token to the client app directly
even if it is a privilege app. They can use this activity token to
access many activity/windows related functions. We create a new token
for use for content capture and translation. This token will be used
get the target Activity for translation new APIs.
This change focuses on the Content capture API change, the API change
about translation will be done in the next change,
Bug: 177789967
Test: manual. Make sure cc service can get the information.
Test: atest android.view.contentcapture.ContentCaptureContextTest
Test: atest CtsContentCaptureServiceTestCases
Change-Id: Ife8096a8bd1e71ce4e686d95043e347222ad7ee6
Per AOSP request, developers would like to access this API, which was
currently marked as @SystemAPI.
Test: atest WallpaperColorsTest
Fixes: 142843776
Change-Id: I3970ab3ce92de78c3f1a994b6bc560518edf626c
Exposed the following testAPIs in DevicePolicyManager:
* getDefaultCrossProfilePackages
* getDisallowedSystemApps
Test: confirmed the APIs are callable in CTS tests
Bug: 180500227
Change-Id: I75a9a479920f1ba2c71f0c9b7e0148f90f1832ec
* Ignore android:fullBackupContent for apps targeting Android S+ while
in D2D
* Update LocalTransport::getTransportFlags() to support
FLAG_DEVICE_TO_DEVICE_TRANSFER (required for CTS testing)
Bug: 180523564
Test: atest FullBackupRulesHostSideTest
Change-Id: I115c1c76f4b0d8b486cc9f146ef630fda3ff2a03
- The flag allows us to remove the tasks which are managed by
TaskOrganizer when TO dies.
Bug: 179676966
Test: Launch a Bubble, kill SysUi and check if the Bubble remains in
ActivityStack.
Change-Id: Ie0ccafd2b4b0393b777b69b7fb70c0ea74f95963
Deprecate/delete setTemporaryAppWhitelistDuration(int type, long duration) which is also a new API added very recently.
Bug: 171305836
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java
Reboot device, observe "tempAllowListReason" in logcat.
Change-Id: I29181ce224c28277db1d45ec7fd0f79e032e5c90
BYPASS_INCLUSIVE_LANGUAGE_REASON=existing public API
It was refactored to split the "create" and "manage" parts so the
new user dialog is shown in the proper times, but such changed
broke the API when caller was passing initialExtras or a different
PO component.
To fix this issue, DPMS passes a token when the user is created,
and ignores the callback when the token matches.
This change also improved logging (which helped diagnose this issue).
Test: atest com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_LowStorage,testCreateAndManageUser_MaxUsers,testCreateAndManageUser_GetSecondaryUsers,testCreateAndManageUser_SwitchUser,testCreateAndManageUser_CannotStopCurrentUser,testCreateAndManageUser_StartInBackground,testCreateAndManageUser_StartInBackground_MaxRunningUsers,testCreateAndManageUser_StopUser,testCreateAndManageUser_StopEphemeralUser_DisallowRemoveUser,testCreateAndManageUser_LogoutUser,testCreateAndManageUser_Affiliated,testCreateAndManageUser_Ephemeral,testCreateAndManageUser_LeaveAllSystemApps,testCreateAndManageUser_SkipSetupWizard,testCreateAndManageUser_AddRestrictionSet,testCreateAndManageUser_RemoveRestrictionSet,testUserAddedOrRemovedBroadcasts # on automotive and phone
Bug: 180515783
Change-Id: Ia6bddecd13fcdfc9604f40391ab7b2a5e98c146b