Descriptionarc: Support window recreation.
In some cases, Arc window may be destroyed and created again. This
leads to situation when shelf item is closed and there is no longer
item for Arc task. This CL allows Arc window to be recreated. The
situation may go even worse, window may be destroyed and not created
after. In this case we have task without window. In this case, we
send launch request to Android and this put Android task to foreground
and window is created.
BUG=b/31071902
TEST=Manually on device, installed several photo editor apps as
described in task. Minimize/maximize window. Sometimes window
get destroyed and created again. Shelf item is not lost in this
case. Sometimes window destroyed and not recreated. Shelf icon
still exists and clicking on it gets new window back for task.
TEST=Extended unit_tests
Committed: https://crrev.com/a4c117d63a677ab01edf04b96dac78134347bf82
Cr-Commit-Position: refs/heads/master@{#415136}
Patch Set 1 #
Total comments: 3
Patch Set 2 : use SetTaskActive instead of Launch #
Total comments: 2
Patch Set 3 : rebase + nits #Messages
Total messages: 21 (9 generated)
|