Android - Disable Heads-Up Notifications And Keep The Icons / Sounds on Nougat
Published: 17/06/2018 - 23:44:19
Estimated reading time: 2 min
Heads-Up Notifications
Firstly appear in Android 5.0 with a floating window that's called a heads-up notification. The heads-up notification appears the moment your app issues the notification and it disappears after a moment, and remains visible in the notification drawer.
Disable Heads-Up Notifications
To Disable Notifications Heads-Up in Stock ROM and without to disable the notifications Sounds and Icon from the top bar you need a PC with ADB Software, USB debugging (on) and ADB Drivers.
1. Download: ADB Software and ADB Driver
2. Enable USB Debugging: Go Settings - About Phone and Tap 7 times to enable Developer Options then go back to the Settings and choose Developer options find USB debugging and Enabled it.
3. Configure ADB: Download ADB Software and Extract it to your Local Disk C:\ and open the folder (C:\platform-tools) and Install the ADB Drivers (Remove any phone that is connected to your PC)
4. Disable Heads-Up Notifications Code: Run CMD (Command Prompt - From the main menu or %windir%\system32
) and run it as administrator
5. Connect your phone to your PC, Allow the USB Debugging and type to the Command Prompt adb devices
6. If the Drivers was installed correctly, it will start to running at TCP and type
adb shell settings put global heads_up_notifications_enabled 0
Now the Heads-Up Notifications are Disabled, no need further actions.
Enable Heads-Up Notifications
If you need to enable again the Heads-Up Notifications you need to repeat the process but in the step 6, type:adb shell settings put global heads_up_notifications_enabled 1
Now the Heads-Up Notifications are Enabled
Drivers Android Phone
If you have problem and you need specific drivers for your Android phone use this:
Acer:
http://www.acer.com/worldwide/support/
Alcatel One Touch:
http://www.alcatelonetouch.com/global-en/support/
Asus:
http://support.asus.com/download/
Blackberry:
https://swdownloads.blackberry.com/Downloads/entry.do?code=4EE0932F46276313B51570F46266A608
Dell:
http://support.dell.com/support/downloads/index.aspx?c=us&cs=19&l=en&s=dhs&~ck=anavml
Fujitsu:
http://www.fmworld.net/product/phone/sp/android/develop/
HTC:
Huawei:
http://consumer.huawei.com/en/support/index.htm
Intel:
http://www.intel.com/software/android
Kyocera:
http://www.kyocera-wireless.com/support/phone_drivers.htm
Lenovo:
http://support.lenovo.com/us/en/GlobalProductSelector
LGE:
http://www.lg.com/us/support/software-firmware
Motorola:
https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481/
MTK:
http://online.mediatek.com/Public%20Documents/MTK_Android_USB_Driver.zip
Samsung:
http://developer.samsung.com/galaxy/others/android-usb-driver-for-windows
Sharp:
http://k-tai.sharp.co.jp/support/
Sony Mobile Communications:
http://developer.sonymobile.com/downloads/drivers/
Toshiba:
http://support.toshiba.com/sscontent?docId=4001814
Xiaomi:
http://www.xiaomi.com/c/driver/index.html
ZTE:
http://support.zte.com.cn/support/news/NewsDetail.aspx?newsId=1000442