This Module adds the following features to WhatsApp:
+Mute All (mutes all whatsapp's notifications for a period of time)
+Custom Quiet Hours (set quiet hours to whatsapp)
+Whitelist feature: Avoid certain contacts' notifications to be mute (Experimental stage for KK devices)
Devices running LP: This module is no longer necessary any more if you only used it to fix not being able to mute WhatsApp's sounds with your Quiet Hours app or CM Quiet Hours feature. WhatsApp is now playing it notification's sounds with the proper API.
Whitelist: Whitelist will make a copy of your whatsapp's contact list into your sdcard (sdcard/.whatsappquiethours/contacts.json) so if you are worry about that, then, do not enable it... (there is an option in preferences screen to delete this file if you just want to try it once)
Permissions: READ/WRITE_EXTERNAL_STORAGE are needed for Whitelist (check whitelist's note)
minSdkVersion 14 (Android 4.0+)
*better way used for checking if sender is whitelisted
*for LP+ devices: added option to choose which method use to implement
whitlist (force led/vibration and use music's stream for sound or set
the notification category as an alarm to bypass Android's interruption
*enabled whitelist for devices all compatible devices (needs testing on KK devices)
*changed Mute All to show slider instead of checkboxs to choose mute
*new permissions: READ/WRITE_EXTERNAL_STORAGE
*modified mod's settings actionbar to look more like whatsapp's actionbar
+added Whitelist feature for LP devices (needs testing)
ONLY for WhatsApp version 2.12.194 or above
+reverted some code to fix module on KK devices
+fixes for WhatsApp version 2.12.115
install only if you are in this version or above
-Not working on KK.
+running on lollipop 5.1
-Not working on KK.
DO NOT UPDATE TO THIS VERSION IF YOUR ARE NOT IN WHATSAPP VERSION WITH MATERIAL DESIGN
-no known issue so far, please report.
*support new WhatsApp UI (Callings)
*quickfix for callings (calling ringer not being played untill "call
missed" notification) "Contact ringtone" under "Calls" in WhatsApp
settings must be unchecked for this to work
+added german translation (thanks @warci)
*fixed bug where module was crashing in some devices while trying to get the NotificationManager's instance
*Fixed: On Custom quiet hours and/or on "Mute all" state voice messages are not played.
*Fixed: Issue with new version of WhatsApp where the "send message" sound is played as a notification
+added: "Mute all" feature, it works like WhatsApp's mute group feature but for all notifications, Contacts, Groups, Broadcasts, etc.
*fixed: quiet hours doesn't work if you have set in whatsapp settings to use contact ringtone
*fixed: all notifications will sound with the "notification tone" set on whatsapp, even group or broadcast notifications
*fixed: notification sound is played for muted groups
*fixed: other notification issues
*fixed: voice messages not playing
*On Custom quiet hours and/or on "Mute all" state voice messages are not played]
*fixed annoying bug where clicking on a notification sometimes it didn't open whatsapp
*fixed possibility of losing some notifications
*quiet hours doesn't work if you have set in whatsapp settings to use contact ringtone
*all notifications will sound with the "notification tone" set on whatsapp, even group or broadcast notifications
*notification sound is played for muted groups
It won't work if you have set in whatsapp settings to use contact ringtone
*now fully supporting CM's built-in quiet hours
*now supporting other quiet hours apps or Xposed Modules that mute notifications
+added Spanish translation
*changed settings layout to look more like Whatsapp theme
*increased min api level, now is 14 (Android 4.0+)
*If you reboot your device while having a Whatsapp notification in your notification bar, that notification won't appear again in your notification bar after rebooting.
*Notifications for muted groups doesn't appear in notifications bar.
*Sometimes pressing on a notification don't take you to whatsapp.
Beware: It is possible that you lose some of Whatsapp notifications, it shouldn't happen, it never happened to me, but the possibility exist. If you encounter this issue, please report
*Fixed bug: Pressing the "new chat" button in WhatsApp opens WhatsApp Quiet Hours settings.
*Pressing the "new chat" button in WhatsApp opens WhatsApp Quiet Hours settings.