-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add double tap to lock the phone #82
base: main
Are you sure you want to change the base?
Conversation
Locking the phone requires admin permission. Signed-off-by: Rafael Rondão <[email protected]>
Include "the screen" for better explanation of the feature. Co-authored-by: Agnieszka C <[email protected]>
Signed-off-by: Rafael Rondão <[email protected]>
I applied the review suggestions, thanks. Also, I just realized the unintended side-effect that you can't uninstall the App when the Admin Permission is active, the uninstallation simply fails. To improve this situation, we could check if we are uninstalling ourselves and deactivate the Admin Permission before uninstalling. Launcher/app/src/main/kotlin/org/fossify/home/extensions/Activity.kt Lines 82 to 87 in 3b8a6de
However, if #51 is implemented, then it removes the possibility of uninstalling ourselves, rendering this solution useless. It is also useless if you're uninstalling from a different Launcher App. Even though this is normal Android behavior, it can really feel to the end user as an App problem, as the only App to fail to be uninstalled would be this one. |
What is it?
Description of the changes in your PR
I see the strings translation for this project are done by Weblate, but I don't know how it's done.
I only added the default strings at
strings.xml
, if I need to make additional changes, let me know.Before/After Screenshots/Screen Record
Below screenshots are only related to the new option added at Settings to enable the Double Tap to Lock feature.
The actual feature doesn't change/add any new UI elements.
Fixes the following issue(s)
Acknowledgement