Update JNI about the kMgCanSelLocked flag.