Delay ACTION_MAIN processing when not focused.

This change puts a 350 ms delay before processing the ACTION_MAIN intent when
the window is not focused.  This makes the Launcher animation take place after
the GPU-intensive portion of the window shade hide animation, resulting in
smoother animations.

Bug: 7401764
Change-Id: I574f2ba398fcf38b423413f802673bbd4d983cd2
1 file changed