Notification control

Post your questions and help other users.

Moderator: Martin

Post Reply
Lucy
Posts: 225
Joined: 10 Aug 2019 11:24

Notification control

Post by Lucy » 24 Sep 2019 07:42

Is there a way for me to grab all notification settings and store them and then further more disable all notifications from settings then when reinabled to have it reapply the settings for individual apps that we stored earlier?

User avatar
Rafi4
Posts: 281
Joined: 01 Dec 2017 05:23

Re: Notification control

Post by Rafi4 » 24 Sep 2019 11:58

Hi Lucy
Use action "Set Disabled Keyguard Features" to Disable Widgets, Camera, Notifications, Unredacted notifications, Trust agents, Fingerprint sensor. Select which you want.

from record4
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1

Lucy
Posts: 225
Joined: 10 Aug 2019 11:24

Re: Notification control

Post by Lucy » 26 Sep 2019 01:01

If i was to do that option.. when re enabled would my notifications have the same preference on selected apps? Because i donot allow all notifications and have different sounds for different apps!?

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Notification control

Post by Desmanto » 27 Sep 2019 18:16

I still believe it can be done by storing the xml file correspond to the notification setting, which is usually stored at /data/system/ (require root to access it). I would like to do the same, but with data usage. So I can control the "firewall" rules for each app and can restore it as I want. I have found the file, but when I save or restore it, the new restored file doesn't reflected by the system. Maybe someone know the dumpsys command to do that.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Lucy
Posts: 225
Joined: 10 Aug 2019 11:24

Re: Notification control

Post by Lucy » 27 Sep 2019 21:19

Yeah i figured root would stop me soon enough. Do you know where i could find reliable information for root8ng a Samsung Galaxy s7?

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Notification control

Post by Desmanto » 28 Sep 2019 19:07

Of course it is all available in xda : https://forum.xda-developers.com/galaxy-s7
However there are a lot of S7 variant, you should read and ask which method is the correct one. As usual, continue with your own risk.

I found the root command dumpsys notification, there are a bunch of info. And there maybe some extra command that we can use to extract out the notification setting.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Post Reply