FORUMS
Remove All Ads from XDA

[HOWTO] 4 Ways To Disable Heads-Up Notifications In Lollipop

3 posts
Thanks Meter: 27
 
By 1edson, Junior Member on 10th September 2015, 12:45 AM
Post Reply Email Thread
15th March 2019, 02:28 PM |#71  
Senior Member
Thanks Meter: 23
 
More
hey guys..

anyone tested "adb shell settings put global heads_up_notifications_enabled 0" on android pie..? samsung s8..?

it is not working on my phone..
 
 
13th June 2019, 08:10 AM |#72  
Junior Member
Flag Poznań
Thanks Meter: 0
 
More
Hi guys
I'm trying to disable those irritating notifications on my Xiaomi Redmi Note 5 (few days ago upgraded to Android 9 and since then Messenger is constantly enabling it after few minutes after disabling it in options). However, I'm having the error that I can't find on the net. Phone is not rooted. Any clues?

platform-tools>adb shell settings put global heads_up_notifications_enabled 0
Security exception: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS

java.lang.SecurityException: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
at com.android.providers.settings.SettingsProvider.en forceWritePermission(SettingsProvider.java:1815)
at com.android.providers.settings.SettingsProvider.mu tateGlobalSetting(SettingsProvider.java:1023)
at com.android.providers.settings.SettingsProvider.in sertGlobalSetting(SettingsProvider.java:997)
at com.android.providers.settings.SettingsProvider.ca ll(SettingsProvider.java:404)
at android.content.ContentProvider$Transport.call(Con tentProvider.java:403)
at com.android.providers.settings.SettingsService$MyS hellCommand.putForUser(SettingsService.java:387)
at com.android.providers.settings.SettingsService$MyS hellCommand.onCommand(SettingsService.java:285)
at android.os.ShellCommand.exec(ShellCommand.java:103 )
at com.android.providers.settings.SettingsService.onS hellCommand(SettingsService.java:51)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at android.os.Binder.execTransact(Binder.java:735)
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes