Notification Access and Notification Listener Policy
Stay organized with collections
Save and categorize content based on your preferences.
The notification access and notification listener policy covers the following permission
and configuration.
- The
ACCESS_NOTIFICATIONS
privileged permission allows an app to read the current
set of notifications, including any metadata and attached intents.
- An app can be designated as a default notification listener by adding its package name to
config_defaultListenerAccessPackages
in config.xml
or any OEM overlays.
A default notification listener is granted access to all incoming notifications, but access to
notifications can be turned off by users in the Notification Access settings in the Settings app.
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 2023-10-18 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]