Stay organized with collections
Save and categorize content based on your preferences.
AppInteractionContract
class AppInteractionContract : BaseColumns
The contract between the App Interaction history provider and applications with read permission. Contains definitions for the supported URIs and columns.
Summary
| Public methods |
| static MutableList<String!> |
Gets the configured list of package names that should be grouped as Device assistance.
|
Public methods
getDeviceAssistancePackageNames
static fun getDeviceAssistancePackageNames(context: Context): MutableList<String!>
Gets the configured list of package names that should be grouped as Device assistance.
The return value is only the configured list of package names, so that they might not refer to actual installed system apps and the caller should perform its own validation instead of assuming so.
Requires android.Manifest.permission#EXECUTE_APP_FUNCTIONS or android.Manifest.permission.EXECUTE_APP_FUNCTIONS_SYSTEM or android.Manifest.permission.READ_APP_INTERACTION
| Parameters |
context |
Context: This value cannot be null. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-03-26 UTC.
[null,null,["Last updated 2026-03-26 UTC."],[],[]]