Dim ctxt As JavaObject
ctxt.InitializeContext
Dim activityManager As JavaObject = ctxt.RunMethod("getSystemService", Array("activity"))
Log(activityManager.RunMethod("isInLockTaskMode", Null))
Log(activityManager.RunMethod("getLockTaskModeState", Null))