Completely hide notification icon in status bar

Everything about using the stand-alone Adblock Plus app on Android
Post Reply
acelot

Completely hide notification icon in status bar

Post by acelot »

Why ABP don't completely hide notification icon in status bar and just replace him with transparent icon, which is continuing hold a place in status bar?
Developers, please look at the Llama application, thats can hide icon from status bar, but still active in notification area.
MonztA
ABP Developer
Posts: 3957
Joined: Mon Aug 14, 2006 12:18 am
Location: Germany

Re: Completely hide notification icon in status bar

Post by MonztA »

acelot

Re: Completely hide notification icon in status bar

Post by acelot »

MonztA wrote:en/android-faq#icon
Ok, but how Llama stay always running without annoying icon in statusbar?
zxc_mx
Posts: 6
Joined: Wed May 22, 2013 8:29 am

Re: Completely hide notification icon in status bar

Post by zxc_mx »

any updates on this issue is appreciated
savoiu
Posts: 3
Joined: Thu Jul 18, 2013 9:47 pm

Re: Completely hide notification icon in status bar

Post by savoiu »

+1
peloverde
Posts: 3
Joined: Sat Aug 10, 2013 12:05 am

Re: Completely hide notification icon in status bar

Post by peloverde »

This should be possible on android 4.1 and newer using the Jellybean notification priorities. http://developer.android.com/reference/ ... ority(int)

I've implemented a patch to use this on 4.1+:

https://docs.google.com/file/d/0Bx8DDuo ... sp=sharing

This patch requires updating android-support-v4.jar to at least revision 10.

edit:
The patch does work. If the developers are skeptical I can post my debug APK that proves it.
peloverde
Posts: 3
Joined: Sat Aug 10, 2013 12:05 am

Re: Completely hide notification icon in status bar

Post by peloverde »

This is the last time I'll pester y'all about this. Has anyone looked at the patch at all? Any feedback? Should I post it somewhere else?
User avatar
greiner
ABP Developer
Posts: 899
Joined: Mon Sep 03, 2012 5:29 pm
Location: Cologne, Germany

Re: Completely hide notification icon in status bar

Post by greiner »

Thanks for taking the time to create that patch. However, I'm not involved in the Android app but I'll forward it to our Android developer.
Andrey Novikov
Posts: 52
Joined: Fri Feb 03, 2012 1:18 pm

Re: Completely hide notification icon in status bar

Post by Andrey Novikov »

Why do you always stopForeground and startForeground in your patch?
peloverde
Posts: 3
Joined: Sat Aug 10, 2013 12:05 am

Re: Completely hide notification icon in status bar

Post by peloverde »

I'm stop/starting foreground because high priority levels seem to stick when changing the notification (whereas text does not). Higher priority notifications are still important for when the app requires user intervention (e.g. go do manual proxysetup). There may be a better way to work around this but I have yet to find it.
Otar

Re: Completely hide notification icon in status bar

Post by Otar »

Its really nice to hide the icon, but sometimes other stuff runs in between and its weird to have a blank space in there, how about making it be positioned at the space to the right? So we dont ever have that behavior? Is it possible? Anyway, thanks a lot for the app, hope my suggestion helps.
Post Reply