On LineageOS 23.2 how to disable an app notification category with `adb`?
Feb 26, 11:28am
To disable a specific notification category for an app using ADB on LineageOS 23.2 (or similar Android versions), you can use the following approach:
List Notification Channels: First, find the notification channel ID you want to disable. Use this command to list all notification channels for a specific app (replace com.example.app with your app's package name):
bash
adb shell dumpsys notification | grep -A 10 "com.example.app"
This will output the notification channels for the app, including their IDs.
Disable the Notification Channel: Once you have the channel ID (e.g., channel_id), use this command to disable it: