Razeeman / Android-SimpleTimeTracker

Simple app that tracks time.
GNU General Public License v3.0
536 stars 68 forks source link

[Suggestion] Show on lock screen #186

Open jarekt opened 1 month ago

jarekt commented 1 month ago

It'd be nice to be able to change activities (open the app) without inputting a password on the lock screen. I understand there already is a way to do something similar with notifications, but it feels clumsy and doesn't seem to work without password entry (tested on Android 10) [1].

Here's how a similar feature is implemented in Organic maps: https://github.com/organicmaps/organicmaps/blob/4ed22bd8d16c332bc52d3cc939b197ee7e8279d8/android/app/src/main/java/app/organicmaps/util/Utils.java#L86-L101

[1]: plus it doesn't even show up unless an activity has already been started

Razeeman commented 1 month ago

Hello! Thank you for the feedback. Changing activities from notification should work, I also have android 10 and use it always. Can you please share your phone model? Maybe it will help.

jarekt commented 1 month ago

Hey, thank you for your response. It turns out the notification can be used from the lock screen, but only if I have Sensitive notifications on the lock screen enabled. This, however, sadly makes messages from messaging and chat apps readable without unlocking the screen. So I will have to keep the setting off.