Skip to content

liyinyin/android-passcode-lock-compat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

android-passcode-lock-compat

Android passcode lock compat ( 8+)

###This repository is based on Android-PasscodeLock and android-activitylifecyclecallbacks-compat.

The Android-PasscodeLock repository is only support 14+, but my APP need to support 11+, so I merge the two repositories. And fix one unreasonable situation in this repository.

How To Use:

(SdkVersion < 14):

  • All your activity that needed to lock, should to extends LifecycleDispatch***Activity.

  • In your Application file, you should call

AppLockManager.getInstance().enableDefaultAppLockIfAvailable(this);

More Details:

About

Android passcode lock compat ( < API14)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages