Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,805,427 Members 40,273 Now Online
XDA Developers Android and Mobile Development Forum

[Xposed][MOD][16SEP'14] Less frequent notifications (per app notification throttling)

Tip us?
 
ofmb
Old
(Last edited by ofmb; Today at 08:27 PM.) Reason: Update 1.1.0
#1  
Senior Member - OP
Thanks Meter 152
Posts: 542
Join Date: Mar 2011
Plug [Xposed][MOD][16SEP'14] Less frequent notifications (per app notification throttling)

Switching from PAC-Rom to CM11, I was missing the 'less frequent notifications' feature.

When you have some chat app (like whatsapp) that make vibrate/sound/both on any incoming message, and someone sends you like 10 messages in a row it can be very annoying

What this feature does is limit the number of times an app (single-app) can make a notification.


You define a time-frame, and any extra notification within this time-frame (=annoying notification) will be stripped down from its sound/vibrate/both data (but will be shown).

So, It's done!


http://repo.xposed.info/module/com.ofnitz.xless
Please download from Xposed Repo to get update notifications
The Following 8 Users Say Thank You to ofmb For This Useful Post: [ Click to Expand ]
 
ofmb
Old
(Last edited by ofmb; Today at 08:23 PM.) Reason: 1.1.0
#2  
Senior Member - OP
Thanks Meter 152
Posts: 542
Join Date: Mar 2011
UPDATES

2014-09-16 (version 1.1.0) :

* Added new 'Reload Preferences' option to Live Reload settings without restart
* Added few more thresholds [2,3,5,10,15,30] minutes

2014-09-04 (version 1.0.2) :

* Fixed crash on 'Test notification' (By requiring the VIBRATE permission)

2014-09-01 (version 1.0.1) :

* Re-released on Xposed repo (fixed package name)

2014-08-31 (version 1.0.0) :

* Will remember notification time only if it has sound/vibrate
* Released on Xposed repo
 
shadowcreeper_1
Old
#3  
shadowcreeper_1's Avatar
Senior Member
Thanks Meter 37
Posts: 177
Join Date: Apr 2014
ill test this one out
My device:
Samsung Galaxy s2 Skyrocket(rooted)
rom: AOSP
kernal:Stock

Dont forget to thank me if i helpedyou out
 
alex91s
Old
#4  
Member
Thanks Meter 12
Posts: 55
Join Date: Jul 2014
4.4.4 Moto X. When I press test notification, should something happen or it's just like a "save" button? When I click it, nothing happens.
 
ofmb
Old
#5  
Senior Member - OP
Thanks Meter 152
Posts: 542
Join Date: Mar 2011
Quote:
Originally Posted by alex91s View Post
4.4.4 Moto X. When I press test notification, should something happen or it's just like a "save" button? When I click it, nothing happens.
Thanks for feedback
That is a button to test the module after a restart. I should clarify that..
So just enable the module, set your preferences, and reboot.
Than you can test it manually by clicking this button
The Following User Says Thank You to ofmb For This Useful Post: [ Click to Expand ]
 
alex91s
Old
#6  
Member
Thanks Meter 12
Posts: 55
Join Date: Jul 2014
Quote:
Originally Posted by ofmb View Post
Thanks for feedback
That is a button to test the module after a restart. I should clarify that..
So just enable the module, set your preferences, and reboot.
Than you can test it manually by clicking this button
I did it, rebooted and everything, but nothing happens.
The Following User Says Thank You to alex91s For This Useful Post: [ Click to Expand ]
 
shadowcreeper_1
Old
#7  
shadowcreeper_1's Avatar
Senior Member
Thanks Meter 37
Posts: 177
Join Date: Apr 2014
same here
My device:
Samsung Galaxy s2 Skyrocket(rooted)
rom: AOSP
kernal:Stock

Dont forget to thank me if i helpedyou out
 
ofmb
Old
(Last edited by ofmb; 14th August 2014 at 10:31 PM.)
#8  
Senior Member - OP
Thanks Meter 152
Posts: 542
Join Date: Mar 2011
Quote:
Originally Posted by alex91s View Post
I did it, rebooted and everything, but nothing happens.
What should happen is that only first click on 'test notification' should trigger sound+vibrate. All subsequent clicks within the X seconds time frame should not trigger sind/vibrate..

Are you saying that no notification at all triggered sound?
@shadowcreeper_1
 
alex91s
Old
#9  
Member
Thanks Meter 12
Posts: 55
Join Date: Jul 2014
Just so you know, it's working perfectly here. Awesome module.
The Following User Says Thank You to alex91s For This Useful Post: [ Click to Expand ]
 
metalboy94
Old
#10  
metalboy94's Avatar
Senior Member
Thanks Meter 141
Posts: 591
Join Date: May 2011
Location: Bucharest

 
DONATE TO ME
On first reboot after installing I got a few system server crashes. It then booted and it seems to work just fine (with the Test Notifications button). Thanks! LG G2 stock 4.4.2
Past
LG P500 Optimus One - CM9 - given away
Samsung i8190 Galaxy S3 mini - stock 4.1.2 rooted - given away
LY-F1 - stock 4.1.1 rooted - Retired
HTC TyTn II - Windows Mobile 6.5


Current
LG D802 G2 - CloudyStock 2.5 + Dorimanx kernel 7.1
GoClever Terra 70 - stock 4.1.1 rooted

The Following User Says Thank You to metalboy94 For This Useful Post: [ Click to Expand ]
Tags
annoying notification, notification, xposed
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes