Android O MR1 IOT Release 1.0.5 (5014699)
Merge changes from topic "terminate_at_home"

* changes:
  The current session shall be terminated if user goes to the idle screen
  Fix incorrect handling of pending dialog and state management
  Fix incorrect handling of pending activity and state management