Android 6 persistent notification icon

If you don't want to have the persistent icon download this version of Light Flow

If on the full version of the app, keep the full version still installed as this will authenticate your purchase. It will miss out on any android 6.0 features but will not show the persistent icon.
Ensure the full version you are on is version 3.60.12 or later for this.

Why do the latest builds have the Persistent notification?
Previous versions of Light Flow have targeted an omission in Android's API which allowed a notification to get created to control the LED without a notification. Since android 4.3 in the system logs there's been warnings that future versions of Android will cause apps to crash using this method.

Android 6 preview 1 and 2 had this warning, but Preview 3 and the official release changed to crashing apps.

Therefore light flow now needs a persistent notification (but only when the notification bar is pulled down). Without it the app would crash (using the previous method) or loose control of the notification led when other app tried to control it and wouldn't be able to regain control. 

Note that you'll sometimes see a flicker of the notification icon when switching on the screen. This is because light flow now has to dynamically change the notification when the screen switches on/off. When it's off the app needs to have the notification set to priority "normal" as that's the mode that the led will show. When the screen is on (to prevent a permanent notification in the notification bar at the top) the app changes the notification to priority "minimum". The change can sometimes take up to about a second depending on how quickly android broadcasts out the screen state change.

In versions of Light Flow prior to version 3.60.0 even in Android 6 you wouldn't need this notification. This is because the when creating an app you select a "target" version of Android. Versions prior to 3.60.0 targeted android 5.1, version 3.60.0 upwards target android 6. Android won't crash apps targeting older versions to try and keep apps from crashing.

The app has to target android 6 to use new great features like permission controls, auto backup and any new feature that'll come in future versions of android.

I've raised a feature request with Google to improve LED control in future versions. It can be "starred" here

One advantage of having the persistent notification is that it can be combined with having the app run in the foreground which means it's less likely to miss notifications and be less effected by side effects of doze mode and battery optimizations.


  1. This is really an amazing blog I love it thanks for sharing this amazing kind of blog I really like assignment experts because I like their answers that they zahnarzt frankfurt notdienst provide to the online readers.

  2. Indeed it was very informative blog, actually I'm searching for where can i buy an essay online and I accidentally landed on your post, and I'm glad that I'll be there you provide such an amazing information.

  3. This is a fantastic blog, and I appreciate you sharing it. I particularly enjoy essay experts' responses to the questions that websites that write essays for free pose to internet users.

  4. A direct electronic Boden Discount Code approach. Agree with your business, support your clients or prize your laborers as shown by an overall perspective, securely and really.

  5. Great article. Never found anything soo amazing & very detailed. We write blogs that provide tried-and-true hacks for streaming platforms like Netflix, Hulu, HBO Max, BBC iPlayer, and others.

  6. Indeed, it was a pretty useful site; in fact, I was looking for do my dissertation for me Uk   when I stumbled across your post, and I'm glad I did because you present such valuable information.

  7. we have had very good service from Columbus Direct insurance, Homebase Discount Code the quote was competitive and the customer service was excellent.

  8. You are so right, it is so important to understand the detail of all the courses before choosing them. I provide buy Health Care thesis online and I encounter many students who end up taking a course in social pressure. It is good to know the field and then find your area of interest.

  9. Getting help from these online sites is very convenient for students of today. I am a student of LLB and I also took an online help for my Law Dissertation Experts . I have never been this satisfied by a service. Salute to these experts who are at our backs!!

  10. I am an E-commerce seller who sells Louis Vuiton NeverFull Damier Ebene,but I have a huge interest in the app designing industry and want to pursue my career in it, because the pay is very high for app developers.


Copyright Reactle Ltd