Should set visibleRequest false when destroy activity

When destroy activity from Task#removeActivities or Task#remove, it may directly call destroyIfPossible rather than finishIfPossible which may not set visibleRequest false.
However the activity may be collect in a transition with visibleRequest true, and all of this cause sync timeout.

Bug: 330823160

Change-Id: I35ed0a807e54004e6228f720803d146a7f1a2acc
Signed-off-by: tanxiaoyan <tanxiaoyan@xiaomi.com>
1 file changed