Hi,
We are trying to make a kiosk app(screen pinning) on Android 6.0 tablet and used the example from below link.
Kiosk app seems to works(on screen pinning) at installation but problem occurrs after restarting the tablet.
After starting the app and then when startLockTask function is called,
"screen is unpinned" message appears right after "screen is pinned" message is shown,
and screen pinning was disabled.
Similar to the problem at link below.
Thank you in advance for any help or suggestion.