LibreShift / red-moon

Android screen filter app for night time phone use.
GNU General Public License v3.0
650 stars 81 forks source link

Notification tile not working #176

Closed mueller-ma closed 7 years ago

mueller-ma commented 7 years ago

Nothing happens when I tab on the notification tile. Android 7.1.2 Lineageos 14.1

smichel17 commented 7 years ago

Beat you by a few days: 15f6811 :P

v3.1.2 is released, just waiting on fdroid to push updates

smichel17 commented 7 years ago

Actually, I'll leave this open until it does come out on f-droid, so others don't miss it.

mueller-ma commented 7 years ago

This will toggle the filter?

smichel17 commented 7 years ago

Yeah. There's a helper function to toggle the filter, and I just accidentally swapped on and off while I was refactoring that code (root mode prep). So when the filter is on, tapping the tile currently tries to turn it on again, and the same for when it's off. That commit just swaps it back the way it should be.

mueller-ma commented 7 years ago

Because of this tile it might be a good idea to disable the notification

smichel17 commented 7 years ago

The notification is needed for Android memory management, to keep Android from killing the service unless the phone has so little memory that there's no choice. On android 8.0 there is a smaller notification, that we will switch to, if we decide to support 8.0 (#169).