Skip to content
Commit d6fad98b authored by Louis Chang's avatar Louis Chang
Browse files

Fix black screen after moving top activity to another display

The screen was black after moving the top activity to another display.
The next top activity did not be resumed and was still invisible. The
regression was from bebd8cd9, which incidentally reverse the condition.

Since the case of removing a display is already handled by 402b440f,
#postReparent is not needed to call again in #reparent (when display
is removing).

Fixing the issue forward by resuming the focusable task in
#moveRootTaskToTaskDisplayArea.

Bug: 192616155
Test: atest ActivityTaskManagerServiceTests
Change-Id: Id0971ad8a1c692fdb5376e2c077faa6f00dd61ac
Merged-In: Id0971ad8a1c692fdb5376e2c077faa6f00dd61ac
(cherry picked from commit 5063db3b)
parent fde14999
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment