Reputation: 618
For an app I'm creating, I need a lock screen. For security purposes, the user shouldn't be able to access the app tray or the home button while in this lock screen.
Is this possible? How can it be done?
Upvotes: 1
Views: 76
Reputation: 10298
This is only possible using the new task pinning API in Lollipop. And if your app is not the device owner, the user will be asked for permission every time you try to engage the lock. On a non-rooted device, the device owner can only be set up during the initial provisioning after a factory reset.
Upvotes: 3