App freezes after being in the background


My app is running fine, but if I put it in the background for a while, it freezes :

  • I click on the icon of my app (which is in the background)
  • I get the splash screen
  • I get the main screen, but I can not do any action (click, scroll)

When I click I get the following log, that I don’t usually get, when the app is working :

D/ViewRootImpl(29856): ViewPostImeInputStage ACTION_DOWN

Any idea what can be causing this?