Defer removing the task view until the app has drawn

Bug: 111896388
Change-Id: I8c900e56fcbbdc400dce646c50f8f14b1da4e17f
2 files changed