yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] defim:
[MENTION=2370820]mynameisjon[/MENTION]: See attachement. Just install over, it has unchanged version code. Dont forget to read the messagebox!
[Xposed Framework Modules] mynameisjon:
Got it. Thanks!
[Xposed Framework Modules] badkill:
i have translated to spanish, attached file
[Xposed Framework Modules] badkill:
this is the new xml file in spanish, sorry for inconvenience
[Xposed Framework Modules] defim:
[MENTION=3967831]badkill[/MENTION]: Thank you! Version with spanish translation attached, will upload it next weekend. Even if i update an app once per week i get bad ratings because of to much updates ^^

Before you ask: there are 3 options which are not visible in the app, because they do not work yet :crying:
[Xposed Framework Modules] badkill:
thanks and no problem, updated as needed I'll wait for it :good:
[Xposed Framework Modules] polobunny:
I'm not a fan of all the updates, but as far as it goes when I see a proper update log that says X language added and no actual fix, I know I can skip it until next version. I don't really see this as an issue.
[Xposed Framework Modules] Looki75:
There is an issue with this module.

When there are A LOT of notification recorded (I have 1140), the modules constantly sends a "Above 350 notifications recorded!" notification.

If you clean this notification it keeps coming back imediately again and again. This makes the phone awfully SLOW + huge battery drain in standby + of course the annoying notification...

This behavior persists even if you ask not to record anymore notifications in the app settings.

I bought the donation key, hoping for the issue to be gone - nope!

Note: it seems this behavior only occurs if you open the app/module UI. If you (re)start the phone and don't open NotifyClean UI then the annoying notificaiton does not appear.

[MENTION=4501300]defim[/MENTION] could you please solve this issue?

Thanks
[Xposed Framework Modules] defim:
I think also so, but it seems not everyone

[MENTION=2468642]Looki75[/MENTION]:

If you dont want a notification, just disable notifications from NotifyClean, like for every other app.

> This behavior persists even if you ask not to record anymore notifications in the app settings.

The warning is about *recorded* notifications. So it does not matter if you disable recording, global or per app.

In the past where issues with to many notifications recorded, which slowd down some users. So so the best would be to remove some you don't need. You could find it in the menu for each app.

> it seems this behavior only occurs if you open the app/module UI

The Xposed modue let the app know if there are to many notifiations. The app then shows the notification you see. If you terminate the app, Android does not let the app it know..
[Xposed Framework Modules] Looki75:
Thanks - however:

"If you dont want a notification, just disable notifications from NotifyClean, like for every other app." > not really. If you do so, the notification goes on and on in the background all the time; you don't see it but every second it gets blocked and slows down the phone + battery drain.

"So so the best would be to remove some you don't need. You could find it in the menu for each app" > ok, but with 200 apps, it is a real pain to go through the list and click 195 times...

Suggestion:

could you introduce an option/or button to clear in a single click all records "that are not rectricted". For example, I restrict 5 notifications/instances; clicking this new button, I could clear ALL records, except those that I restrict. In other word: keep only the strick necessary!

Do you think that would be possible?
[Xposed Framework Modules] egingell:
If I'm right, he's using XC_HookReplacement, checking the text, and either returning the original call or null. Unless he's comparing strings bit by bit a thousand times just to make sure, it's hardly an impact on performance.

Edit: The only part of the process that would lag is parsing the files in recorded notifications and here's no way around that. You can only limit or reduce the data permanently by stopping recording or by periodically cleaning it out.

I had suggested a mass removal function already.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] Looki75:
I don't know which part of the process is to blame... but for sure it DOES slow down the phone. And not just a little bit. It's a HUGE slow down (tasker tasks do not kick-in at all) + a HUGE battery drain (about 10-15%/h).

Mass removal would be ideal... [MENTION=4501300]defim[/MENTION] what do you think?
[Xposed Framework Modules] defim:
Is the warning limit of 350 to low? Should it be raised?

Reading the files all the time and parsing it's content would be a silly idea, i'm using trees for that. Bu as you said, comparing strings is expensive, better are numbers, and the cheapes are booleans. Btw do you only regex in you xposed module [MENTION=4587767]egingell[/MENTION]? They are the worst expensive, because they have to be "compiled" every time...

I have no mass removal addey yet, but limited the recorded apps to 20 per app. So there should be no more such larege collections of data

You want keep more than 1000 notifications? If you are using ReceiverStop, just deny the action you could see on screenshot...

Indeed :D If you want remove them now, delete the file /data/data/de.defim.apk.notifyclean/files/NotifyClean.recorded and reboot immediately, so the module could not rewrite it. After that there are no more recorded notifications. Also you could not see you settings, but they appear again if the apps trigger notifications again.

Added to todo list, but could take a while.
[Xposed Framework Modules] defim:
I'm using a very old an slow "Defy+", 1ghz cpu and 512 mb ram. My "drain" is between 1-3 % per hour. So none of my apps should be the culprit, i would notice it

"Mass removal" is added to todo list
[Xposed Framework Modules] egingell:
I do. Perhaps in future releases I'll add an option to not use patterns or figure out how to cache them since they're static.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] Looki75:
That worked just perfect!

I just need to program a Tasker task for that and here I have my "Clean" button.

Edit: just perfect again! Tasker task called by a shortcut which appears over CleanNotify thanks to the app "Overlays"! Ideal combo.

Thanks again!
[Xposed Framework Modules] defim:
Use some Java structure like array (or some more advanced) and save the compiled results on loading once.
[Xposed Framework Modules] egingell:
That's what I have planned.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] defim:
Or you could use my other app EnhancedToast with a lot of additional features and already optimized for performance: thread :cowboy:
[Xposed Framework Modules] egingell:
No, thanks. I don't need additional features.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] cramu:
Is there a way to only block weather notifications from GSearch with donate version?
[Xposed Framework Modules] egingell:
I usually tell Google Now itself to stop with the notifications.

Nevertheless, use the pattern matching option.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] cramu:
When I disable weather notifications in Google Now I won't see weather information in Google Now Widget anymore, so I'm looking for a way to block it only from appearing in the status bar.

I wonder if a degree symbol would be enough for pattern matching?
[Xposed Framework Modules] defim:
If you don't want any notifications from this app, select the 1st eyntry "All notifications, even unknown". For only notifications containing a "°" use regex ".*°.*"
[Xposed Framework Modules] 1/4 Life:
I'd like to hide a single notification, but still have it appear in the expanded notification drawer. Can this module do that?
[Xposed Framework Modules] cramu:
Could this break weather information in GNow widget?
[Xposed Framework Modules] defim:
I think not, because only the notification will not be shown

I'm because of translation not sure what the "expanded notification drawer" is. But you could set the position of notification per app. With a low position they are below the most others and have a notification, but no icon
[Xposed Framework Modules] 1/4 Life:
That's exactly what I'm looking for! Can I set it per notification though rather than per-app? I want to remove the icon of just one notification like that.
[Xposed Framework Modules] defim:
It's only possible per app at the moment.

Apps could reuse a notification (change the text), and removing notifications does not work for all Android version due to security restrictions of Android currently :crying:
[Xposed Framework Modules] egingell:
NotifyClean is no longer recognizing my license file. I had it in its ./files folder and even copied it to my SD card so it's in both places. I exited via the context menu and killed it with long-back. I still see the donate "ad" and have no regex option.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] cramu:
Just bought the unlock key but it doesn't seem to work for me.

I still receive weather notifications.
[Xposed Framework Modules] egingell:
It would help if you copied the exact pattern you have in the app and pasted it here. In case you missed something (a comma can look just like a period).

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] cramu:
I copied the pattern from defims post:
[Xposed Framework Modules] tobbbie:
App-Icons on app-details

I have NotifyClean active on my 2 devices (Xperia Ray on ICS 4.0.4 and Galaxy Tab on JB 4.1.2) but on the ICS it shows the Notify Cleaner Icon instead of the app icon in the app details.

On my Galaxy Tab it is fine - same version of NotifyCleaner 1.4.6 free.

Another thing I could not find out yet: Many apps are listed (so they seem to have a notify sent), but no notify is logged if I get to the details. Instead I see "self defined" - but no way how to edit that.

1.) How can I edit and which rules apply for this?

2.) Why are certain notify not traced?

I would like to get rid of the "Data disabled" notify when I switch off mobile data, but have not found a way to achieve this yet. It should list under "Android System" I guess - but it is not there.
[Xposed Framework Modules] defim:
Please try to clear the cached app icons with the menu item "reload" on the main screen

A "common android notification" has 2 strings, let's call it head and body. Some apps defines the layout by it's own ("self defined") and these could not be read. So the "self defined" field is for all of these of an app.

Maybe you could find at the app "System-UI"? If not enable the logging and let the "Data disabled" appear . Then you should see which app created it. Don't forget to disable log again.

On the screenshot of the notification you could see that the "°" is only in the header. So use for the body ".*" ("."= any character, "*"= any amount of ".").

".*°.*" means: at least a "°" character

I sent you a free evaluation key, it's expired
[Xposed Framework Modules] egingell:
OK. That makes sense. :)

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] tobbbie:
[/QUOTE]

This did not work - as expected. The app icons are correct in the list of applications, but when you enter the app-details in your list (to see the notifications) then the app icon is replaced with the notify cleaner icon (see screenshot in my original post). Not surprising: the same happens for your other xposed plugins (BootManager, ReceiverStop) on ICS.

I found it: it comes from com.android.phone - but I wonder if now ANY notify from there will be suppressed? I just want to ignore that single notify, but keep any other. How could we distinguish the different SELFM_NOTIFICATION?

Is there an option to further trace into these app-defined notifies?

To avoid confusion, you should rename this in your list from "Self Defined (German: <selbst definiert>)" to "App Defined" or "App Internal" to indicate that the traced notification is following an app private/internal structure. "Self defined" could be seen referential to the user (so me looking at the device) and so users would search for an option how to "self" define what to block from notify bar.
[Xposed Framework Modules] defim:
This should be fixed, which version do you use? For BootManager this could not happen, it has no view for the single apps

No generic way to do this. It could only be done with special handling of every single app with customized notifications after debugging it

In german it would be called "benutzerdefiniert" when youself changed it. As it is in the view of the apps, it refers to the app it*self*. As no other complained yet, it should be okay for most people
[Xposed Framework Modules] tobbbie:
I had used 1.4.6 now 1.4.7 and still the problem is as the initial post shows.

Could you not just hash the content (without analysis) so that you can tell apart the different such app-defined notifies?

You as developer may be more "app-centered" (considering "self" as the app) than a regular user may be from first glance. My intention is just get rid of the ambigous "self" and replace it with a non-ambigous "app". This is however very minor and not really important :)

---------- Post added at 01:13 PM ---------- Previous post was at 12:51 PM ----------

I noticed that my app-list on the Xperia Ray (ICS) has one app with a blank/empty icon, the "USB connectivity" - which is not on my GTab. Could this confuse your app-icon pick logic when entering the app-details?

EDIT: The JB has another blank/empty icon for "Downloads" - so this may not be the reason potentially (though 2 different blank/empty may still be different for your app-icon picking).
[Xposed Framework Modules] defim:
Can't reproduce. The source in the main list and the sub views is the same. Have you some theme-modding-modules installed?

No, the content may be unchanged, but the objects could change

Tomorrow another one will ask which "app" defined it...

Was it earlier installed? Removed apps should be removed within NotifyClean too

Blank icons should not be a problem, some apps don't have one and so in the app is also no icon
[Xposed Framework Modules] tobbbie:
I have some UI mods, but I also now disabled all other Xposed modules except Notify Cleaner, rebooted and repeated - same behavior. I run on stock Android and have no other UI issues so far. I also noticed that the Top-line "<" back to menu does not work on ICS. Maybe this is linked? I just wonder why the NotifyCleaner Icon is delivered at the place where the App-Icon should be - is that some kind of fall-back?

Is there anything I can do to further nail down the issue?

Well, no clue here then. I thought you may have full access to what is "notified" (content + object or at least reference to object), hash it, remember it to be unique. The idea is that different such app-defined notify need to be told apart somehow - without need of detailed app-specific analysis. This would then of course prevent also sophisticated regex on the content.
[Xposed Framework Modules] defim:
[MENTION=393455]tobbbie[/MENTION]: Some thing are not supported for older Android version like 4.0

http://developer.android.com/guide/topics/ui/actionbar.html

As you could also use the "back" button for the same behaviour, it should be okay

Icons:

I've ran the app with an emulator of Android 2.3. All icons where as they should. So it seems it depends on you device
[Xposed Framework Modules] tobbbie:
Well, never mind - it is cosmetics only. In my try-and-error I had one single - non repeatable - occurrence on ICS that the icon for the phonepad was displayed correctly in the list. No way to repeat this. Will it help to activate logging and investigate on logcat messages?

Regarding the app-defined notify: I had to remove the one I had activated for the "Mobile data disabled" - as it also blocks the display of the call-progress/acceptance screen when an incoming call arrives :(. I had feared such a side effect when all app-defined notifies of an app are blocked.
[Xposed Framework Modules] egingell:
"Self" is far less ambiguous than "app".

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] tobbbie:
It is getting philosophical now :)

If you are accessing an application treating properties of other apps - what could be ambigous if you mention "app defined" in a property there? You could also mention <defined by <appname>> or similar to avoid this.

My concern is that I consider "self" to be "me" - and not the "app" who's properties are shown. If I was an "app" :) (or a developer of such) then I can understand that you consider "self" to be "app" - but I am only a user and I still feel "self" as a person :)

Enough of "self" reflection now :)

---------- Post added at 07:41 PM ---------- Previous post was at 07:25 PM ----------

NotifyCleaner does a good job - but the majority (22) of my listed applications (30) have only such application defined notifications, some (3 or 4) have regular and application defined ones. Since the application defined are potentially hiding a whole lot of different notifications (as I have seen with my com.android.phone example), it would really be very helpful to dig deeper there.

I have it active now only to remove the permanent notification of "CoolTool" running with notification OOM priority to keep it in memory on my 512 MB RAM Xperia Ray - and it works perfectly for this.
[Xposed Framework Modules] defim:
Maybe you could do a module for a specific app. But if you don't have the source of it, it will not be easy

On a small display, a large app name does not fit...
[Xposed Framework Modules] egingell:
An app is a living, breathing creature. And "user" is the accepted term to use when referring to the user. Never in the history of programming has "self" ever been used to refer to the user.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] RaVNzCRoFT:
Registered an account to say NotifyClean is working perfectly on my LG G2 (VS980). So far, I've mostly been using it to hide things like the battery saver icon and notifications for Wifi connection and 100% battery charge.

Thanks so much!
[Xposed Framework Modules] Kocane:
This module is great. It does much of the stuff I've been looking for. Especially the ticker disabling!

Just a little question. Regarding the prioritizing of position. I'm using this app called IM+, and it has a main icon and then icons for new chat messages. I've made the app be on top of other notifications but when new chat messages arrive, the notifications of them appear above the main icon. Could it be possible to control the position of notifications within an app? Basically make the main icon always be on top of the others? Would be great...
[Xposed Framework Modules] defim:
[MENTION=4619608]Kocayine[/MENTION]: The priority is set per app, so it is not possible. Maybe you could hide the main notification, as it is not required. The app won't get be killed because of the hidden notification. If the app crashes sometimes and you don't want miss messages, my other app KeepRunnuing could be usefull
[Xposed Framework Modules] Kocane:
Understood, that was what I was expecting. Yeah, I could hide the main notification but I don't mind knowing when apps run :P.. Thanks for the reply!
[Xposed Framework Modules] Kocane:
Another thing, I was using the disabling of 'ticker' text and positioned my app notifications always on top. However, even though I didnt check "disable led" or hid anything, the LED didnt work when getting notifications on that app (even though it actually goes thru Light Flow). Plus the vibration felt shortened.

Removing the app from NotifyClean fixed it..

Any idea?
[Xposed Framework Modules] defim:
For LED and virbration, only "don't modify" or "disable" are implemented, so it should not change the behaviour. No idea why you have this issue
[Xposed Framework Modules] _jis_:
Hi defim. Please, could you change your support link in the repository from absolute address

<moreinfo label="Support" role="support">http://xdaforums.com/showthread.php?p=46332780</moreinfo>

into thread address

<moreinfo label="Support" role="support">http://xdaforums.com/showthread.php?t=2477365</moreinfo>

With this change will be possible to open the first unread post automatically for example in Tapatalk. :)

Actual behaviour is to open the first post every time. :(

If you are using web browser from your phone, you didn't notice any change, it brings you still at the first post in the thread, but if you are using Tapatalk and have set its Loading behaviour to First Unread, Tapatalk show you the first unread topic if you invoke Support page from Xposed Installer/Modules/Module Context Menu/Support. It'll be great to be able to catch the news on its appropriate XDA thread from the mod context without any hassle.

Thank you in advance :)
[Xposed Framework Modules] tobbbie:
You are right: in programming "self" is clear what it means. So I don't question the internal terminology "SELFM_NOTIFICATION" as it is logged. However when you expose such terms to the user (i mean an "unbiased" user - so not a programmer) then "self" can well be considered as referential to the user. As I wrote earlier - it is matter of philosophy here. If you write programs for programmers - all are the same in their understanding. If you write programs (and I talk about the UI only) for users - then you may want to re-think your labeling. My proposal was to replace the ambiguous "self" with "app".

Mind that behind the entry "self defined" a whole lot of many different "self defined" are hiding - without indication how many - and (worse) without the stupid user recognizing this from the wording of the entry. You can for many apps just synonymously use the filter for "any notify" and "self defined" - as they both cover all notifies.

So since this will not bring an airplane to crash - I just don't care anymore - now that I know what it means and which are the consequences.
[Xposed Framework Modules] defim:
[MENTION=4478620]_jis_[/MENTION]: Thanks, updated for all my modules. I did not noticed that earlier

[MENTION=393455]tobbbie[/MENTION]: SELFM_NOTIFICATION is internally used, only visible with the logging.of everything, mainly used for debugging
[Xposed Framework Modules] letmedanz:
[MENTION=4501300]defim[/MENTION] cool module! very useful..!

i have a question/request :)

do you think you could add a feature to move the universal notification clear button to the bottom right?

am sure a lot of people find reaching the notification clear button difficult to reach :)
[Xposed Framework Modules] _jis_:
Hi defim, I am sorry, but you did it wrong at least for this thread. :(

Correct address is in my quoted post.
[Xposed Framework Modules] defim:
Oh thanks, should now be correct. I changed only p and t, not the number...

On the bottom is no space if there are many notifications. But what about a notification, which is always on the bottom, and on touch it only clears all ongoing notifications? For this is even no xposed required
[Xposed Framework Modules] _jis_:
I know :)

Thank you very much, I love this mod.