Synchronously finish boot when user starts in background

Previously call to finishUserBoot method was delayed until ActivityManager
enters idle state. This could lead to unpredictable timeouts, especially
when AM was already idle.

Bug: 26762234
Change-Id: Iae90c3a9b09ff675478b42271469866e1604df0f
2 files changed