chenxiaolong / PixelLight

A flashlight app for Google Pixel devices that uses private APIs to access high brightness modes
GNU General Public License v3.0
10 stars 1 forks source link

Add option to keep the foreground service alive #10

Closed chenxiaolong closed 5 days ago

chenxiaolong commented 5 days ago

This restores 1.x's user experience aside from the first use of the quick settings tile after a reboot. When the option is enabled, the quick settings tile can reconnect to the existing foreground service, bypassing Android's restrictions since they only apply to starting new foreground services that use the camera.

Issue: #9