I think this is just a method that you can call an Activity or a class that extends it, because it belongs to it .: S So, either you need to be in action, or you need to pass this activity somehow. and I don’t understand how you have no activity! You will need to have in this case ...
LockScreen extends some classes, no? Which one?
Ewoks source
share