GithubHelp home page GithubHelp logo

lock's Introduction

Lock

A very simple and minimal app to lock the screen. It tries whenever possible to keep fingerprint unlock available.

You can now set any tap, double tap or long home press actions to immediately lock the screen, if your launcher allows you to configure custom gestures.

Description

Its behavior is very simple: on first run it will require the necessary permission according to the Android version you're running:

  • On Android 9+ devices, it will ask to be enabled as an accessibility service;
  • On Huawei devices running Android Nougat, it will immediately lock the screen, no permission required;
  • On other devices, the app will ask to be enabled as a Device Admin; fingerprint unlock will not be available.

After the necessary permission has been enabled, the app will immediately lock the screen the next time you open it.

Accessibility Service configuration

Here are some screenshots that explain how to configure this app as an Accessibility Service on Android 9+ devices:

Download

This app is available on F-Droid:

Get it on F-Droid

Changelog

1.4.0

It is now possible to use Accessibility Services on Android 9+ devices, so that you can continue using fingerprint unlock.

1.3.0

It is now possible to set Lock as an Assistant app (Settings > Apps > Advanced > Default apps > Assist & voice input). A long-press on home button will now lock the device wherever you are.

1.1.0

I recently updated to Nougat on my Huawei P9 Lite and it broke my app (screen lock by an administrator requires to enter full password or pin). Thanks to a XDA user, I updated my app to circumvent this. Now, on Huawei with Nougat and EMUI 5, it doesn't even require to be an administrator.

Uninstalling

How to remove an app with active device admin enabled on Android?

lock's People

Contributors

seguri avatar licaon-kter avatar vistaus avatar naofum avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.