Avoid adjusting top focused root task while clear task

Top focused root task was updated while clear task for reuse, which
isn't necessary. This was happening after 046523c merged.

Also avoid resuming the top activity in next focused
root task to prevent additional top-resumed-activity state changes.

Bug: 160613519
Bug: 163003067
Test: asit/perf/junit/jank_systemui_test

Change-Id: I8ddbfc3b0a62ddb29833d324e42812ed0dc096db
(cherry picked from commit 2caec7ba30b63785d5d5ee5d1341bd11f373aa12)
3 files changed