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 2024-11-01 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-01 UTC."],[],[]]