Change KeyguardManager to Flag