Lockscreen workaround tuning

 * Remove delay of onStartTasks.  This fixes b/17868175, and appears to
   result in ~50ms improvements to cold starts from the lockscreen and
   warm starts from the secure lockscreen.
 * Disabled double-onResume() workaround for non-secure lockscreen launches
   since this no longer happens when singleTask is enabled.
 * Reduced the delay for the double-onResume() workaround by eliminating
   the delay on the second call to onResume()

Bug:17868175
Bug:16035858
Change-Id: I7f7611901133e429def9a03d4009e1a99caaabd0
1 file changed