Programmatically
android-screen pinning programmatically
Programmatically To activate screen pinning programmatically, call startLockTask() from your app. If the requesting app is not a device owner, the use...