Set hasBeenVisible on all parents even when deferAppear

setHasBeenVisible is supposed to propagate up the hierarchy
to all parent tasks. This was being skipped if mDeferTaskAppear
was set, but that is only supposed to defer sending appeared.

Otherwise, its possible for root tasks of unorganized leafs
(eg. anything in home task) to never report appeared.

Bug: 323556204
Test: kill/restart launcher while it is covered by an activity
Change-Id: I188805fd2520feb203286b718acf7fd0db14c2be
1 file changed