I have a floating view created in service, and I need to dispatch key events when I touch this view. 
I have found out that `view.dispatchKeyEvent(`) needs context of foreground activity, and key event dispatching only works when activity is foreground. 
When you close/pause the activity and touch the view - nothing happens, even no NPE in `LogCat`.

Is there any way to use this method outside of main activity?