You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As someone who's just had to plow through this: setLockTaskPackages no longer works as of Lollipop. You'll get an error complaining that the app is "not the owner of the profile". In order to make that call, you either have to make the app a device owner or a profile owner. You need to go through profile provisioning: https://developer.android.com/work/managed-profiles.html
Is it correct to comment this line?
https://github.com/wenchaojiang/AndroidKioskModeTemplate/blob/master/app/src/main/java/wenchao/kiosk/KioskActivity.java#L50
The text was updated successfully, but these errors were encountered: