yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] defim:
[MENTION=4325794]JamMasterClay[/MENTION]: My S4 active had a TouchWiz as i got it, but only for 1 day :D Was to differen to common/AOSP Android for me. There was a "Google Edition" (Android 4.2.2) rom available. As the S4 is my device for daily use, i dont want to switch the ROM, so i can't test. Changing TouchWiz is also because of missing sources not easy as AOSP related, i've never tried it

There are some rules deep in AOSP source code for notifications,eg

if ((notification.flags&Notification.FLAG_FOREGROUND_SERVICE) != 0) {
notification.flags |= Notification.FLAG_ONGOING_EVENT
| Notification.FLAG_NO_CLEAR;
}

(if service flag is found, the 2 other are forced)

So if you want "a notification as being not-ongoing, but also not clearable", at least also "service" has to be removed, which could cause to stop some background services of an app...

I attach you a test version. The checkbox for "vibrate" has an additional function (I was to lazy to add a checkbox+logic):

It removes Notification.FLAG_FOREGROUND_SERVICE and Notification.FLAG_ONGOING_EVENT, but adds Notification.FLAG_NO_CLEAR.

I hope it works :)
[Xposed Framework Modules] claytonjn:
Yes, this seems to be working perfectly! Now the notification is not clearable, but the priority is also respected and it appears below regular notifications, exactly as desired. If I have issues with the service being killed I can use other means, like KeepRunning ;)
[Xposed Framework Modules] defim:
Great :D I'll add later an additional checkbox for it - have to think about a description and repair my car first ^^

Yes, KeepRunning helps, but with a S5 and 2GB ram, apps should not be killed to often due to OOM
[Xposed Framework Modules] claytonjn:
I had the "notifications are clearable" set all day without issue, so I probably won't have an issue as you said.

Thank you very much for such a fast solution. I purchased DefimDonator as a small token of my appreciation.
[Xposed Framework Modules] alirezaafkar:
Hey, is there a way to clear privacy guard notification generally instead of per app?
[Xposed Framework Modules] defim:
Thank you too! Attached a new version with an additional checkbox for it. Don't forget to reboot after installing

This should also fix the issue of [MENTION=4166279]davidgro[/MENTION] & [MENTION=5184454]Jussss[/MENTION]. After a reboot if you open the app it will detect the different notification IDs and it should work also with newer CM builds. The log will additional show the IDs.

Please report if it works
[Xposed Framework Modules] defim:
I dont know "privacy guard". Does it creates notifications with the context of each app? You could enable logging to see which app creates it
[Xposed Framework Modules] claytonjn:
Working great!
[Xposed Framework Modules] alirezaafkar:
See this picture
[Xposed Framework Modules] defim:
All "privacy guard" notifications seems to be created by "Android System". In the donate version there is a pattern/regex filter, where you could filter "head" with "^Privacy Guard active$" and "body" with "^.*$".

Thx, i'm now waitng before publishing until im sure the view detection for newer CM images works
[Xposed Framework Modules] defim:
Persian by [MENTION=2837858]pesiran[/MENTION]
[Xposed Framework Modules] dimm0k:
is this module capable of removing the notification icon at the top right, while leaving the notification in the notification listing?
[Xposed Framework Modules] defim:
At the top right i have BT, Wifi etc. These could not be changed.

But the icon in the "status bar" (top left, while notifications area is not expanded) could be hidden without removing the notification itself with this app. This could be set per app, but only with donation version
[Xposed Framework Modules] Phr3d13:
This app doesn't seem to work for me. I have a d2spr aka sph-l710. It's a Samsung galaxy s3 for Sprint. I'm running android 4.3 rooted stock rom by cnexus. I am trying to hide the ongoing avast notification.
[Xposed Framework Modules] defim:
"doesn't seem to work" is not a description of an failure...

Do other xposed modules work for you? You installed this? You used latest version? You enabled this module? You rebooted device? You see recorded notifications? You maked the one you dont want "red". The app (avast) recreated the notification/or you rebooted?
[Xposed Framework Modules] Phr3d13:
Sorry, I was wrong. Apparently I needed to wait longer.
[Xposed Framework Modules] davidgro:
Sorry for the delay! Gmail decided mail from xda was spam so I didn't get the notifications until I checked Spam today.

I tested the version you attached (-CM3) and I didn't get a reboot, but I also could not use it long: It made my phone very slow and used a Lot of battery (In fact I had it plugged in and it was still losing more power than it gained!) and it was taking several minutes to send SMS even though I have a good signal here.

I checked in htop and the CPU seemed to be mostly used by /system/bin/sdcard, but that just means something else was reading or writing to the storage a lot (perhaps logging?)

I needed my phone working so I didn't have time to try and dig out a logcat reader or look at the xposed log. I can probably do that tomorrow.

Thank you for posting a test version, I should get the e-mail if you mention my username now.
[Xposed Framework Modules] defim:
Hello, I pushed yesterday a new version 2.0.9 that worked for the other with the same problem.

The gui part off the app detects now changed ids, see the log the app.

I don't use the sd card fur logging or settings, so something other should cause it or your card dies
[Xposed Framework Modules] defim:
[MENTION=3967831]badkill[/MENTION] [MENTION=2837858]pesiran[/MENTION]

There's a new interface for translate most of my apps: http://tinyurl.com/okycacj

A free account of www.oneskyapp.com is required to edit.

Please check if some new phrases are missing
[Xposed Framework Modules] RBDoMGaM:
Added PT_BR translation in your project my friend.

Thank you for all your apps
[Xposed Framework Modules] defim:
Thx, I've updated the lastest "experimental" version on www.xposed.info, just reinstall to test
[Xposed Framework Modules] killoid:
[MENTION=4501300]defim[/MENTION] will u further support gb with all of ur modules plz? xposed installer for gb has been updated lately so i asked.
[Xposed Framework Modules] defim:
Thanks for hint of new Xposed GB! This module should still work. But as i have atm no 2.3 installed i havent checked it

I've planned to support GB for all, but not time to flash yet.
[Xposed Framework Modules] killoid:
no problem. we'll wait until u chack it out.
[Xposed Framework Modules] defim:
But this app does still work without problems?
[Xposed Framework Modules] killoid:
idl about the latest version as i am using v2.0.5 of this app.cauz i have not got any update of the app further in the download section of xposed installer gb.same with the customshare & enhancedtoast but these are v2.0.6 in my device.
[Xposed Framework Modules] defim:
No updates? This should be a bug in Xposed-GB installer
[Xposed Framework Modules] killoid:
maybe. [MENTION=3818339]liudongmiao[/MENTION] can help in that case.

EDIT: i noticed that ur modules didn't show at all in the download section though they were in my modules list & active.maybe u changed ur modules minsdk version to upper number?
[Xposed Framework Modules] defim:
No, I did not changed it, it's still

<uses-sdk
android:minSdkVersion="10"
android:targetSdkVersion="19"
/>
[Xposed Framework Modules] liudongmiao:
Fix it, but i don't think that's a problem of me according to previous knowledge.

It's just because there is no md5sum for the latest de.defim.apk.notifyclean in the repo.xml from repo.xposed.info.

Normally, I check the latest version to determine whether sdk10 is supported...but when there is no md5sum, then the package is marked not supported.

And I'd like to say, there are 300+ modules declared that support sdk10.
[Xposed Framework Modules] defim:
Thx! Yes i stopped to update md5 for all my apps because it takes to much time. And additionally i updated the experimental builds without changing the version, only translation additions/changes.

Maybe the repository could compute the md5 by itself if there is none set
[Xposed Framework Modules] liudongmiao:
If you upload the file, it compute them; but if you don't, it will not as there is no way to guarantee the md5.

Furthermore, if you uploading the build without changing the md5.

here is the script for generating repo.xml: https://github.com/liudongmiao/xposed-gb-repo/
[Xposed Framework Modules] defim:
I have the APKs on my own server, so it does not compute.. :-/ Can't you change the script to compuite md5 if the value is empty? For original installer it works without md5

Maybe it helps to change

if md5(oldxml).hexdigest() == md5(content).hexdigest():
raise SystemExit()

to something like

if md5(oldxml).hexdigest() == md5(content).hexdigest():
if md5(content).hexdigest().strip():
raise SystemExit()
[Xposed Framework Modules] tusko5:
Thanks for this great app. I'm trying to combine it with tasker to improve whatsapp notifications.

I miss two features in the pro version.

- Include a tasker action to dismiss notifications on demand.

- Send the expanded notification text to tasker (right now, the text sent is the text of the minimized notification).
[Xposed Framework Modules] defim:
Maybe you could get this way what you want: Block a notifications you don't want and send denied notifications text to takser.

Added to todo list
[Xposed Framework Modules] liudongmiao:
Why is this needed? md5 will always return something...
[Xposed Framework Modules] defim:
It does not matter what you change, if the installler later shows all modules
[Xposed Framework Modules] liudongmiao:
The oldxml and content, actually, are the same.

// it should be better to name oldxml as prev_content

// and i use raise SystemExit instead of sys.exit because not import of sys

This is to compare last generated xml for gingerbread.

If the content is not changed, it's not updated.

// this is useful for client, as client normally use Last-Modified header to check the change.

https://github.com/liudongmiao/Xpos...id/xposed/installer/util/RepoLoader.java#L316

// i'm in plan to generated only fixed repository for other api-level.

https://github.com/liudongmiao/Xpos...id/xposed/installer/util/RepoLoader.java#L229
[Xposed Framework Modules] tusko5:
Thanks for your response! A tasker action allows much more flexibility. For example, in my case I want to cleanup the notification if it is only about a chat I already dimissed (the problem with whatsapp is that it keeps pushing dimissed notifications until you open the app). I'm sure other use cases are possible (e.g., dismiss notifications only during a given time period).

Right now I'm doing more or less what you say, although since I don't have expanded notification contents, I use WhatsTasker to get that info, I dimiss all the notifications by default with your app, and use Autonotification to create the notifications I really need.
[Xposed Framework Modules] defim:
Yes, the updating of whatsapp notifications is a little annoying also for me...

I've not dismissed notifications yet, since this app hooks only the creation methods
[Xposed Framework Modules] defim:
Please try beta i uploaded today tgo xposed.info
[Xposed Framework Modules] tusko5:
I tried it, but how do I get the expanded notification text? %body still stores the short version...
[Xposed Framework Modules] defim:
There is a new option in the settings. Or want you both texts at the same time?
[Xposed Framework Modules] tusko5:
I activated 'use text of expanded (big)...' in the settings, but after rebooting I still get the short text in body. :eek:
[Xposed Framework Modules] defim:
Can you attach a screenshot of such a notification? Beside BigTextStyle (http://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigTextStyle.html) there are other kind of xpanded/big notifications like BigPicture or different texts like bigText, SimmaryText etc (http://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigTextStyle.html)
[Xposed Framework Modules] tusko5:
Here it is:
[Xposed Framework Modules] defim:
Hm it seems it is no NotificationCompat.BigPictureStyle and no NotificationCompat.InboxStyle (max 5 lines), so it should be NotificationCompat.BigTextStyle. Are you using a "newer" CyanogenMod rom? There where some IDs changed.

Please try another reboot, to give the detection of IDs a 2nd chance

Btw, the text of the "small" notification is a fallback in case i does not detect for any reason a "big" text
[Xposed Framework Modules] tusko5:
Not Cyanogenmod, SlimKat, but yes, I am with nightlies.

I activated the "alternative" method to get the text. Also rebooted. No luck.

For the record, the text that I get is exactly the same below the line in the notification (i.e., "XX mensajes de YY conversaciones").
[Xposed Framework Modules] defim:
I installed the app. The notification is a InboxStyle with 7 lines. I need some time to adapt this...
[Xposed Framework Modules] tusko5:
Defim: thank you very much. It is ok, since using whatstasker and your app together works well enough for me.
[Xposed Framework Modules] defim:
As i know what the problem is and i only need some spare time to fix it just wait a little...
[Xposed Framework Modules] RyconPayne:
Finally, I can get rid of the notifications that are required for apps I use all the time, but that are constantly crowding my status bar.
[Xposed Framework Modules] Jimmy34742:
I cleared the "Do not record more than 20 notifications per app" checkbox and rebooted, but I have apps that still report "Reached limit of 20 notifications" when I go to inspect their notifications. Am I missing something?
[Xposed Framework Modules] defim:
[MENTION=3568887]tusko5[/MENTION]: Expanded notifications should finally work with version 2.1.2, please toggle the option in the settings after update!
[Xposed Framework Modules] defim:
Could iut be that you have checked the do-not-log-anything checkbox (right above the max 20 notifications checkbox) ?
[Xposed Framework Modules] tusko5:
Toggled. I will tell you how it goes as I get new notifications.
[Xposed Framework Modules] Jimmy34742:
No, both checkboxes are clear. But whenever I click on an app that has a lot of notifications, I get two toasts telling me "Reached limit of 20 notifications."
[Xposed Framework Modules] defim:
A toast is displayed as a warning, but recording of more should be possible

If you don't like it, try EnhancedToast, it's like NotifyClean but for toasts ;)
[Xposed Framework Modules] tusko5:
Works perfect! Thanks you very much!
[Xposed Framework Modules] Jimmy34742:
The toasts are not the problem, and I only mention them as extra information. The problem is that I'm unable to record more than 20 notifications per app. NotifyClean's checkboxes for "Do not record any further notifications" and "Do not record more than 20 notifications per app" are both clear, but it will not record more than 20 notifications per app.
[Xposed Framework Modules] themadproducer:
I had a similar issue on a completely different app. Ironically, what worked, was to check the box anyway, exit the app, open the app, and uncheck the box. Even the developer was surprised by my weird find. Worth a try right?

Or try uninstall, Reboot, install reboot, change settings, Reboot once more.
[Xposed Framework Modules] Jimmy34742:
I tried the first thing, but it didn't work. So, using Android Tuner, I cleared the app's data, uninstalled, rebooted, re-installed, rebooted, cleared the limit to 20 checkbox, and rebooted. It will take some time to see if this has worked. But one weird thing is that my email app, AquaMail, carried over several old notifications, all regarding the % progress of downloading attachments. In fact, AquaMail is the only app that I want to accumulate more than 20 notifications for.
[Xposed Framework Modules] defim:
I tested it with Whats app yesterday. I wrote myself from one device to another several messages, 20 where recorded. Then I disabled the "not more than 20" and force-closed Whatsapp by a long touch on "back". This does not hides the app, it terminates it completely. In this state WhatsApp could not even receive messages (broadcasts) anymore. So i restartet it.

After that i wrote 3 additional messages with WhatsApp, they where recorded as expected. So i dont know what goes wrong :-/

If you want correctly clean all data do this: Disable NC, reboot, clear data, enable NC, start NC, reboot.

This is needed because Android kills the app and then clears the data. But Android does not know that the app is an Xposed module and a part still runs and writes data after you cleaned data...
[Xposed Framework Modules] Sam7777777:
Great work indeed, very useful on touch wiz tablet as Samsung has bloated this area but this one is a saver, must for me, like to know about removing notification icons of other apps but keep their notifications coming (if)?
[Xposed Framework Modules] defim:
You could remove the "statusbar" icon but keep the notification with an option in the donate version, see OP.

The statusbar is the one you see if you are e.g. on the homescreen and notifications are not visible
[Xposed Framework Modules] trein91:
For some reason this module always gives me random reboots on my phone. (4.4.4 cm11). Disabling it gives me less reboots. Sadly though I have to disable it even though I love the feature

Sent from my Galaxy S3
[Xposed Framework Modules] defim:
Can you cause such a reboot? Would be great if you could catch the last messages by logcat. Or you could get the logfiles of Xposed & NotifyClean. Btw, both apps created keep the old logfiles with the extension .log, so you could maybe grab it after a reboot if you dont have logat
[Xposed Framework Modules] themadproducer:
[MENTION=4501300]defim[/MENTION]

I play this card game, and at the end of each round, it tries to talk to google servers. If I have no internet connection or if I use airplane mode, then I always get a toast notification telling me the game could not communicate with 'Google Play Services'. Utterly irritating.

IMHO, that is an issue with the game programming , and the dev unfortunately does not respond. So, is it possible to have Google Play Services in the Notify Clean list?
[Xposed Framework Modules] egingell:
If it were a notification not a toast. This mod doesn't do toasts, but you can use either Enhanced Toast (also by defim) or UnToaster (by me). The app's package name is "com.google.android.gms".

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] themadproducer:
[MENTION=4587767]egingell[/MENTION]

Thanks bud.

I do have, use and love Enhanced Toasts. Not sure what I was smoking when I asked a Toast question in this Notifications thread.

And btw, the toast msg was recorded and I have now blocked it.

Cheers
[Xposed Framework Modules] egingell:
Good "medicinal" stuff I hope. :D

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] dimm0k:
recently updated to KitKat and as a result my carrier's bloatware was reloaded and one of them was the Lumen Toolbar. I've used TiB to freeze the application, but did not remove it... is there a way to remove this from NotifyClean's list? I've already tried removing the notifications and reloading NotifyClean to no luck...

also, I'm slowly working my way up to enough funds to purchase NotifyClean... was wondering if it would let me position notifications in the order I would like? Ever since moving to KitKat new notifications push older ones to the bottom. I prefer the old way where they would show at the bottom instead.
[Xposed Framework Modules] defim:
All notifications whould be able to be hidden with NotifyClean. To test: set the app to "block all, even unknown" (on top of recorded notifications of the app) and (simplest way to restart all apps) reboot the device. Now all notifications of the app should be blocked.

Maybeit helps you to enable logging, to see which app does which notification.

In donate version, you could set per app the priority/position, eg I use this for set my traffic counter to the bottom of all with value -25
[Xposed Framework Modules] jideay:
I've read several pages, and see the donate version disables vibrate, but this is for per app. How do I hide the vibrate mode on the right side of the status bar?

[IMG="Vibrate Icon"]http://galaxys5guide.com/wp-content/uploads/2014/04/galaxy_s5_notification_icons_meaning_vibrate_mode_activated.jpg[/IMG]
[Xposed Framework Modules] defim:
The right side of the statusbar (don't know how it's named) is not part of the notifications, so NotifyClean does not handle these
[Xposed Framework Modules] defim:
This could help, but I've not tested http://xdaforums.com/showthread.php?t=2768605
[Xposed Framework Modules] jideay:
Perfect thanks.
[Xposed Framework Modules] aness zurba:
can you add the option to keep only the icon in status bar and delete the notification in the panel
[Xposed Framework Modules] defim:
What does you want to do with it? There is then no way to remove/interact with the notification. And you could not read the message of the notification. Ff the apps creates multiple you dont know which it is :confused:
[Xposed Framework Modules] aness zurba:
i have an app with permanent notification . i want the icon but not notification in the panel .the icon gives me the temp of battery
[Xposed Framework Modules] egingell:
Sometimes all you want is the icon. E.g. weather (current temperature), RAM, battery temperature, etc.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] mickey4mice:
How do I get rid of "Saving screenshot" notification while keep "Screenshot captured" in the donate version of this app? Not even sure which system stream this notification comes from, Android system or Media storage? Do I need to use Regex?
[Xposed Framework Modules] defim:
[MENTION=5498698]aness zurba[/MENTION] & [MENTION=4587767]egingell[/MENTION]: Okay, added to todo list. Will see if i could manage it...

If you don't know which app creates a notification, enable logging. I think it is in this case "Android System" or "System UI". Regex should not be needed
[Xposed Framework Modules] mickey4mice:
Okay cool. But where to filter for "Saving screenshot..."? Th only place to enter filter string is in the regex, do I just ignore the regex operator and put in the plain string there?
[Xposed Framework Modules] mickey4mice:
Nevermind, I figured out.
[Xposed Framework Modules] defim:
[MENTION=5498698]aness zurba[/MENTION] & [MENTION=4587767]egingell[/MENTION]

Added in version 2.2 to show only status bar icon but hide notification
[Xposed Framework Modules] chw9999:
exactly the missing function I needed... thanks so much! [emoji1]

The DefimDonator is really worth every penny!

Thanks again!
[Xposed Framework Modules] MattKneale:
Latest version keeps saying to activate Xposed module/reboot despite already doing so but appears to be hiding notifications. Unfortunately it means I can't actually alter settings. My other modules work fine.
[Xposed Framework Modules] defim:
Nothing changed in this part. Please enable module in Xposed and enable again, then reboot.

If you update an app, Android saves it as filename-1 or filename-2, then again filename-1. Xposed Installer does not get that all the time and does not update its databse, so the module will net be loaded. On my older device i have to wait up to 1 minute after update an app until Xposed changed the file and shows a notification

Btw, you could hit "back" button on the message and can use NC as usual