[device_state] add support for Apps > Special app access > Notification read, reply & control
This implements the main switch as well as the 4 filter switches ("Real-time", "Conversations", "Notifications", "Silent". However, since the sub-preferences aren't currently added to the app function output, only the top level switch will be represented as "Allowed" / "Not allowed" in the app function output.
`ServiceListing` was updated in ag/33191256 for fetching the relevant apps that have Notification Access requested.
Bug: 411475387
Test: adb shell cmd app_function execute-app-function --package com.android.settings --function getPermissionsDeviceState --parameters {} | grep notification_access -C 2
Flag: com.android.settings.flags.device_state
Change-Id: I402d9c3eb3b7dbb392fb90242a97a76ee14d964f
Loading
Please register or sign in to comment