0

how to dismiss the keyguard in a Service?

Flag.Dismiss.keyguard cannot be use as there is no window - am I right?

star
  • 71
  • 1
  • 1
  • 6

1 Answers1

0

Yes you are correct. You have to either send a call back message to an activity to get the window or apply a dummy activity. Answer to your question Here

Community
  • 1
  • 1
Terrance
  • 11,764
  • 4
  • 54
  • 80