yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] defim:
[MENTION=4260736]RSDamasceno[/MENTION]: It woked in the past? Notifications get *recorded* (on creation). eg to see all started at voot, enabled the module, reboot + another reboot to record wiht enabled module

[MENTION=5401012]Celestial Fury[/MENTION] "SELFM_NOTIFICATIONS" is for notifications not using the default layout. For these the content/text could not be read (as it is not known where and which part is the interesting text). So it helps for this app only to block all notifications
[Xposed Framework Modules] Celestial Fury:
I assume each notification would differ from one another even if it's not using the default layout? And if they differ but are consistent then they can still be identified and blocked?

It's an antivirus app so I'll still need it to inform of apps being scanned as safe. I can't block all notifications - just their spam notifications.
[Xposed Framework Modules] defim:
You could could create notifications in 2 ways:

- tell Android to put a notification wiht text X and a head Y

- or you could send the full layout, like a big picture on the right, 2 pictures on the left and 3 text fields on the left. Example is https://play.google.com/store/apps/details?id=com.jim2 with some switches in the notification

So if oyu want to filter some notitifcations for an app only using custom layouts, there is a patch needed exactly for this app, and maybe it needs changes if the app is updated. NotifyClean does onyl the "generic" way, because there are very much apps and i cant create custom patches for all
[Xposed Framework Modules] EasyWorld:
I installed the app, activated it and rebooted the phone.

After that ALL the notifications from ALL the apps disappeared. The icons in the status bar were still there and were easily controlled by the NotifyClean app (I could enable and disable them from the app). But no matter what I did, I couldn't get a single notification show up in the notification panel.

What am I doing wrong?

P.S. I run Android 4.4.4 on Samsung Galaxy Note 4 (Snapdragon)
[Xposed Framework Modules] defim:
There was a bug in a very old version. Which does you use? Can you please attach the 1st line of the in-app log?
[Xposed Framework Modules] cramu:
1. Would it be possible to block certain notifications from appearing on the (Lollipop) lockscreen?

2. The dark notification theme does not work very well for me. Quite often parts or whole notification text is black and unreadable.
[Xposed Framework Modules] defim:
1) I think only if you completely block the notification. I have on my device disabled these notifications on lockscreen, but enabled (with NotifyClean) the status bar on lockscreen. Maybe this is an option for you too

2) Examples? Are this only big notifications with custom style, eg media players like Google Music or BuubleUpnp? There is a new option in version 3.5 to adjust this background color.

As these notifications are completely designed by app developers, it would be a good ided to ask the developer to add a "dark notification" option - then the colors would be best (But dont ask Google :p )
[Xposed Framework Modules] cramu:
Examples would be Weather Ace, Pushbullet, Google Play Store, notifications set to show always expanded.

At least the first two seem to use a custom layout so there isn't much you can do.
[Xposed Framework Modules] defim:
Warther apps have most time custom layouts, to show sun,rain etc icons.

It's not okay to set the background color for this independed of the dark notifications?
[Xposed Framework Modules] CrossBones3129:
I'm using Lollipop 5.0.1 on a S4, is there anyway you can fix hiding the battery full notification? I have it selected in NotifyClean but it still shows up.
[Xposed Framework Modules] defim:
NotifyClean can handle all notifications. Are you sure it's a notification? Or is it like this "not forget to close the usb port" ofter you unplugged usb cable? Can you attach a screenshot?

Is this TouchWiz or GooglePlayEdition? I'm using GPE on my S4 active because i dont like TW...
[Xposed Framework Modules] CrossBones3129:
It stays there in my notifications and on my lock screen until I unplug my USB cable. It's rather annoying.
[Xposed Framework Modules] defim:
It could be a notification :)

Maybe you restricted for wrong "app", there are Android-UI, Android System, etc

If you have enabled the context menu option, you could do a long touch on the "notification" to see if its a notification and to know which app created it. Or by enabling the logging option and see logfile
[Xposed Framework Modules] CrossBones3129:
It's under System UI. I've gotta charge the phone back to 100% to test what you said. I'm at 71% =/
[Xposed Framework Modules] CrossBones3129:
Here's my notifyclean log that shows the battery full notification. I have it set to block but it still is allowing it.

2015-07-10 14:36:50 recorded com.android.systemui: Info -/- Battery fully charged.[BR]Unplug charger.

2015-07-10 14:36:50 allows: com.android.systemui Info -/- Battery fully charged.[BR]Unplug charger.
[Xposed Framework Modules] defim:
[MENTION=5790910]CrossBones3129[/MENTION]: The log lines looks good, it seems to be a notification. If you now select this in NC, it should be blocked the next time and logged with "denied".

Are you using the latest version, and downloaded by Play Store or Xposed repository? If not sure you could post 1st line of log
[Xposed Framework Modules] CrossBones3129:
I've had it selected for a week and it still pops up everytime. I'm using the latest stable version on Xposed.
[Xposed Framework Modules] defim:
Hm, there is something wrong.

If the log tells "allows" then the notitfication is detected correctly with its content. And additional it was not set to disabled by the user

I dont understand the "selected for a week". The log line "2015-07-10 14:36:50 recorded " shows it's 1st apperance was yesterday, and before it it was not selectable :confused:
[Xposed Framework Modules] CrossBones3129:
That was the 1st time I logged anything with Notify Clean. I've been using notify clean for months actually.
[Xposed Framework Modules] defim:
Sry, i dont understand the problem :confused:
[Xposed Framework Modules] CrossBones3129:
Basically I have the full battery system ui notification set to be hidden. Wven though it's set to be hidden it still pops up.
[Xposed Framework Modules] defim:
As this notification was recorded accordingly to you log, select it in the app. The next time then ther is no "allow" logged but "deny"
[Xposed Framework Modules] CrossBones3129:
Ahhh. Yes i know that. Disregard the log I posted. I already have it selected. I've rebooted the phone since selecting to see if that would help but it doesn't.
[Xposed Framework Modules] defim:
And the logfile still tells "allow" for this notification?
[Xposed Framework Modules] CrossBones3129:
Yes. I have it set to be denied but it gets allowed.
[Xposed Framework Modules] defim:
And what is logged in the logfile? I know such errors only by bad hacked versions. Where did you download? Can you add the 1st line of the logfile. I've to much time wasted to search bugs caused by hacked versions...
[Xposed Framework Modules] CrossBones3129:
I've gotta charge my battery back to 100% to post the log but I downloaded notify clean from xposed. I have version 3.5.0.

---------- Post added at 03:31 PM ---------- Previous post was at 02:34 PM ----------

2015-07-12 15:29:07 NotifyClean 3.5.0 {350-567444-0A74B1E3E36F3D39CAA2265D61463A6B-20150611} 06029

2015-07-12 15:17:43 denies: android Select keyboard -/- Multiple Languages - SwiftKey Keyboard

2015-07-12 15:17:43 denies: android Select keyboard -/- Multiple Languages - SwiftKey Keyboard

2015-07-12 15:28:37 allows: com.android.systemui Info -/- Battery fully charged.[BR]Unplug charger.
[Xposed Framework Modules] defim:
[MENTION=5790910]CrossBones3129[/MENTION]: Thanks!

I read the last poats again.. The picture of the notification has text "Battery fully charged. Unplug charger."

In the log are new-lines shown by "[BR]". But in NC the text is only "Battery fully charged." :confused:

So it could be a notification yb another app. To check: Do a long touch on the notification, it should then be "System UI"

Another cause coule be a bad developer... A notfication has 1 text line. If you add a 2nd (up to 7) you have to add a new string, and the new-line is added by Android. So it could be the developer (Samsung?) Tried to add a new-line there ^^ And within a notitication string is never a new line expected

Have you unlocked regex in NC? This would be the easier way without changes needed :)
[Xposed Framework Modules] CrossBones3129:
Yes, it ia indeed System UI with a long press on the notification. It had to have been Samsung.

I don't know what you mean by unlocking regex.
[Xposed Framework Modules] defim:
[MENTION=5790910]CrossBones3129[/MENTION]: Okay, then it seems Samsung added a new-line to a notification.

I added a workaround to attached file: install + reboot! + charge again to 100%. Now the notification should be logged with "--" for invalid chars in NC. After disabling the new it should not appear again...
[Xposed Framework Modules] CrossBones3129:
Ok well when I installed, rebooted, then tried to open NC, it kept saying it's not active in Xposed. I then unchecked it and checked it back in Xposed, and rebooted and now I can open the app normally.

PS: Will you add this in the next release, so I can stay up to date in the future?
[Xposed Framework Modules] CrossBones3129:
Juat wanted to update you and thank you. It's blocked now. It shows 2battery full charged notifications as you can see in the pic I attached. Selecting/hiding the other battery charged notification doesn't hide it.

Thank you for all your help though.
[Xposed Framework Modules] defim:
[MENTION=5790910]CrossBones3129[/MENTION]: Yes, will be included in next releases. The old entry without "--" is not needed anymore, it was truncaded because of the (invalid and invisible) new-line, you could delete it

Not active after update: On update Android toggles filename between "1" and "2". The Xposed installer gets then a broadcast "updated" and changes its config file with file names. So if you have many apps watching "updated", or your device is slow, or you rebooted very quickly after update, the moduel gets not loaded because of wrong file name. Toggling any module in the Xposed installed fixes the config list.

So i think the message was okay
[Xposed Framework Modules] CrossBones3129:
Yes, I noticed I was on 3.5.0 before. You gave me 3.5.2

Again, thanks for everything.
[Xposed Framework Modules] defim:
3.5.2-release (not the above in this thread with the fix) was released about 1 month ago in xposed.info. It has a minor change & most would not need it - but if your Xposed Installer does not show it, it could be due to a bug of the Installer. Clear Installer's cache & force close it. Then it redownloads the whole database on next start. :cowboy:
[Xposed Framework Modules] CrossBones3129:
Everything is working fine! In my previous post I just wanted to let you know what happened.. No problems so far :)
[Xposed Framework Modules] cramu:
Where can I find the option to set the background color on per app basis?
[Xposed Framework Modules] defim:
The text box below the enable-dark-notification-theme checkbox
[Xposed Framework Modules] defim:
Short note about Bubbleupnp on Lollipop: To have it's cutom styled notification "dark", the latest verison of Bubbleupnp has a new checkbox to enable it.

This is the best way for prefect coloring. If you favorite app has no such option, write it's developer...
[Xposed Framework Modules] Dude360:
Hi defim,

Just wondering if it was possible to use your app to block particular Facebook notifications from a specific person?

I can block each specific one separately but I only want to block ones that contain "Tom has shared xxx post" but not "Tom has posted a new picture"

Does that make sense?
[Xposed Framework Modules] egingell:
The donate version allows regex pattern matching.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] Looki75:
Hello [MENTION=4501300]defim[/MENTION], I have a specific question.

Since Android 4.2 (or was that 4.3?) apps need to post a permanent notification in order to be kept loaded into memory.

If I clean such notification with NC, will the app be kept loaded into memory as if the notification was there (i.e. the OS is fooled and thinks the notification is there)? Or on the contrary, will that allow the OS to kill the app easily?

If that's relevant at all: I am on lollipop 5.0.

Thanks
[Xposed Framework Modules] Dude360:
*sigh* just googlde that and pfft way beyond my understanding. Like looking at hieroglyphics :(
[Xposed Framework Modules] BlindWanderer:
Just to clarify, its java regex as opposed to a different flavor. If you learn Java RegEx, you can put on your Resume/CV you know Regular Expressions. A lot of people don't and wish they did.

http://www.regexplanet.com/advanced/java/index.html

https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html
[Xposed Framework Modules] defim:
Regular expression are the same everywhere, so you could use the linux "sed" with the same pattern like on Android

If you have specific questions, ask :)
[MENTION=2468642]Looki75[/MENTION]: That was the reason of this module: Hide notification but dont let Android/the app know it
[Xposed Framework Modules] Looki75:
Thanks; and is it safe to assume that it is working the same way on Lollipop 5.0?

Cheers
[Xposed Framework Modules] defim:
Since version 3.0, yes

You could test with system notifications: Android is then not terminated :D
[Xposed Framework Modules] Reechings:
Great job on this app! Now I can block specific systemui notifications instead of all of them.

I am hoping you may be able to figure out a way to block force close notifications. For some reason when I use the Google app voice control to try navigating to an address it force closes the Google app even though it actually starts navigation properly.

I have tried a few times and your app does not detect the force close notification.

I know that custom roms such as BlissPop have an option in developer options to disable the force close notifications and if you can somehow integrate this ability into your app I would greatly appreciate it!

Cheers
[Xposed Framework Modules] defim:
Is it a notification or som "alert dialog"? Can you attach a screenshot? You could enable logging in NC to see notifications. Or if context-menu-option is enable long-touch on the notification to see which app created it
[Xposed Framework Modules] Reechings:
Thanks!
[Xposed Framework Modules] defim:
[MENTION=4452336]Reechings[/MENTION]: This is not a notification, sothing for NC.

If i remember correctly, "Google App" is the google search, which i removed on my devices. Without it, not crash ;)
[Xposed Framework Modules] Reechings:
Yeah I understand it's not a regular notification but I think it must be coming from the system in some way as the message for any app crashing is always the same.

"Unfortunately XXXXXXXX has stopped."

And like I said many custom roms have an option in developer options to not show force close notifications for all apps. I was just hoping there was some way to port that ability to your app.
[Xposed Framework Modules] defim:
Yes, should be by Android System, but it's not an android-notification, it just notificates you about the FC :D

There is a Xposed module called "Cracker" which catches details about crashes
[Xposed Framework Modules] Reechings:
Thanks for that app, it did catch the details of the crash. Now how do I fix it ???

java.lang.RuntimeException: Unchecked exception running task: a[Play TTS data]

at com.google.android.apps.gsa.shared.util.c.a.p.g(TaskRunnerFutureTask.java:143)

at com.google.android.apps.gsa.shared.util.c.a.p.akD(TaskRunnerFutureTask.java:124)

at com.google.android.apps.gsa.shared.util.c.a.p.done(TaskRunnerFutureTask.java:112)

at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java)

at java.util.concurrent.FutureTask.setException(FutureTask.java)

at java.util.concurrent.FutureTask.run(FutureTask.java)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java)

at java.lang.Thread.run(Thread.java)

at com.google.android.apps.gsa.shared.util.c.a.l$1.run(GsaThreadFactory.java:99)

Caused by: java.lang.RuntimeException: Cannot initialize Visualizer engine, error: -4

at android.media.audiofx.Visualizer.<init>(Visualizer.java)

at com.google.android.apps.gsa.m.a.a.anO(AbstractPlayer.java:124)

at com.google.android.apps.gsa.m.a.a$1.run(AbstractPlayer.java:65)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java)

at java.util.concurrent.FutureTask.run(FutureTask.java)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java)

at java.lang.Thread.run(Thread.java)

at com.google.android.apps.gsa.shared.util.c.a.l$1.run(GsaThreadFactory.java:99)
[Xposed Framework Modules] defim:
I dont know..

Maybe its just a bug in the app (only deinstall or update helps) or something with audio on you device works not correctly / driver problem becaus of "audiofx.Visualizer".

But not NC related in any way :cowboy:
[Xposed Framework Modules] Reechings:
Thanks for your help, I will stop cluttering your thread and thanks again for your great app!
[Xposed Framework Modules] Looki75:
[MENTION=4501300]defim[/MENTION]

Yet another question, still about notifications.

If I go into an app's settings and uncheck the "Show notifications" box, would the system/app know that the notification is not posted and then make this app killable?

Or basically doing that is relying on the exact same principle used in Notify Clean?

Don't get me wrong, I know NC is doing way more than just that (filters, taskers, etc...).

But revoking notifications in system's settings is it the same than "block all notifications, even unknown" in NC?

Thanks
[Xposed Framework Modules] defim:
I dont know, never used it :D

But its known Google got many "inspirations" by different Xposed modules...
[Xposed Framework Modules] Looki75:
[MENTION=4501300]defim[/MENTION] What is exactly this "workaround for Samsung devices" in v3.5.4?

Thanks
[Xposed Framework Modules] defim:
The incorrect format in notifications reported in this thread
[Xposed Framework Modules] Looki75:
Ok, thanks.

I have a feature request.

Could you add an option to "Force notifications in NON-expanded format (collapsed)"?

And another one to have "Collapsed notifications by default"?

Thanks for considering!
[Xposed Framework Modules] defim:
This is Android default. Maybe you dont like the default expanded state of the notification with the highest priority/1st in list?

You could set with NC notifications of other apps very high, so so other is not on top and gets not expanded...
[Xposed Framework Modules] Looki75:
Yep, but the notification I want to control doesn't react to anything I try...

It is TuneIn Radio (free or pro doesn't matter).

I cannot change the notification priority for some reason.

So it always appear on the top with expanded state... a HUGE notification that eats up half of my notification screen...

Can you look into that?

Thanks
[Xposed Framework Modules] defim:
[MENTION=2468642]Looki75[/MENTION]: I tried TuneIn, and NC does not work good with it... with Android 5. Before all options are working

Seems i have to dig some Lollipop sources...

TuneIn Radio also does some special things on Lollipop, like the notifications is at top but has no status bar icon
[Xposed Framework Modules] Looki75:
Yes it's weird...

If you could solve that, it would be fantastic!

Thanks!
[Xposed Framework Modules] cramu:
But this changes the background color for all apps notifications, right?

I hoped there was a way to change the color on per-app basis.

However, I disabled dark notifications completely since almost every lockscreen notification was black text on dark background, even those that looked fine in the notification shade.
[Xposed Framework Modules] defim:
[MENTION=4540350]cramu[/MENTION]

No, there is no package name available, i can only detect the type (normal / customized). The problem are also to colors of texts and pictures (eg "play" button etc) of customized ones. So the best way is to ask the app developers for a option of a dark notification. Btw Bubbleupnp added such one for Lollipop

About notifications on lockscreen i cant tell anything - i've disabled it since installed Lollipop :D So it seems the text color is original. I like it much more to have a old status bar (option is in NotifiClean to enable) to check new things...
[Xposed Framework Modules] defim:
I enabled & tested lockscreen notifications on my device, but with "dark notification" option enabled, they looked as expected. Maybe you have TouchWiz rom or something?
[Xposed Framework Modules] theoverseer:
Hi defim,

I upgraded today to the donate version, but I'm having real trouble with the Regex settings. In Twitter I want to hide any "Sending Tweet..." notification. I've tried lots of combinations, but can't figure it out.

Any advice?

EDIT: Figured it out. Needed backslashes between the periods
[Xposed Framework Modules] egingell:
Have you tried "Sending Tweet.*"?

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] cramu:
No I'm on a N4 with stock ROM.
[Xposed Framework Modules] egingell:
Uh... yeah... TouchWiz.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] cramu:
Nexus 4, not Note 4.
[Xposed Framework Modules] egingell:
Google only returned Note 4 when I searched for "N4". Google failed me.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] defim:
In regex a "." is 1 random char. Its often used as ".*" for a variable count of random (0-infinite) chars.

if you want want match a "." the "" is neede before to "escape" it. Also for . ^ $ * + ? { } [ ] \ | ( ) needed
[Xposed Framework Modules] CZ Eddie:
Is anyone able to get NotifyClean working on 5.1.1?

I've got it installed fine, but it does not appear to work properly.

The notifications I tell it to kill, are still being displayed.

I've got the latest xposed framework for 5.1.1 installed.
[Xposed Framework Modules] jwds1978:
It's working on my Note 3 with PAC-ROM (5.1.1).
[Xposed Framework Modules] Aids10:
Thx m8; v3.5.4 works perfectly on note2 with stock JB 4.3 & a s4 with stock KK 4.4.2 :highfive:
[Xposed Framework Modules] :
It works fine here.

GT-N7000...
[Xposed Framework Modules] elenhil:
Will or will not this module cause a bootloop with the x86 version of Xposed framework for ASUS Zenfone etc. devices?
[Xposed Framework Modules] defim:
I have only a PC with x86, maybe someone else, or you just try it
[Xposed Framework Modules] bubblesnout:
I'm having the same trouble on 5.1 on my LG G4. Anybody have any clues? I am trying to block the "Chat heads active" persistent notification from the Facebook Messenger app but the notification is still displayed. I had this working on my Nexus 5 also on 5.1 so maybe it's a device specific problem?
[Xposed Framework Modules] defim:
On problems its helpfull to enable logging in the app + check the logs. Also Xposed logfile could show hints/errors
[Xposed Framework Modules] defim:
[MENTION=1750910]bubblesnout[/MENTION]: "Long-GUID" is a MD5 of the app, there are some problems with cracked versions...

There are many reports for LG devices last time, but I have none to test myself. I'm wondering what caused it. Yes, NotificationManagerService is needed. Did NC worked wiht older ROM versions? Or is the device new? Or it's related to x64 devices - is Xposed working with it at all correctly?
[Xposed Framework Modules] bubblesnout:
The device is brand new so I haven't been able to test on older software versions, I believe out of the box it was already on 5.1 though. Xposed is working fine other than NC, I'm using XLED to change notification light settings, Lockscreen Disabler to disable the LG lockscreen and Xposed GEL Settings to change various settings on the Google Launcher, all of these modules are working perfectly.