Whatsapp Quiet Hours
+ Set custom Quiet Hours for WhatsApp.
+ Mute WhatsApp notifications for a period of time.
+ Whitelist feature: Avoid certain contacts' notifications to be mute (Experimental stage for KK devices)
For KK devices:
+ Fix notication's stream to let Quiet Hours apps mute the notification.
+ Call ringtone must be set as use Default ringtone to avoid any issue.
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)
Fixes for whatsapp version 2.16.225
*fixed context menu not appearing in whatsapp
*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)
fixes for WA version >= 2.12.367
*fixed KK call ringtone issue. Ringtone must be set as Default ringtone.
*changed Mute All to show slider instead of checkboxs to choose mute
*new permissions: READ/WRITE_EXTERNAL_STORAGE
*modified 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 code to fix notification's stream for KK devices
ONLY for WhatsApp equal or above version 2.12.115
NOT WORKING ON KK
+working on Lollipop 5.1
+fixed "Mute All" option for new WhatsApp version
-removed unnecessary code
Do NOT update to this version if you aren't in Material Design version of WhatsApp. Code of old versions support was removed!
*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
-no known issue so far, please report.
+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
*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.
Fixed bug: Pressing the "new chat" button in WhatsApp opens WhatsApp Quiet Hours settings