I'm calling Application.getApplication().requestForeground();
from a Background Class extending from Application
. But this function is not triggering. This function is also in the same Background Class.
public void activate(){
System.out.println("==Activate== ");
}
public void setupBackgroundApplication(){
Application.getApplication().requestForeground();
}
How can this activate function can trigger?