commit | ba7db92d16fa316da34485eb512af89be4ee0784 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Thu Feb 02 10:06:09 2017 -0800 |
committer | Winson Chung <winsonc@google.com> | Thu Feb 02 19:43:54 2017 +0000 |
tree | 16fba2d8618e188a0750bcc15e2ad39d57ecce45 | |
parent | ddb80216b9d536be0f2af287f44a41872aa1d809 [diff] |
Fixing crash when task is already parent of activity. - When launching an activity into a task, it's parent is already set which can cause the reparent call to crash. Instead, just move the activity to the top. Bug: 34933399 Test: Launch an app that doesn't support multiwindow, and engage split screen, or launch a PiP activity and tap to show the menu Change-Id: Iaa36003e88f4021f2483dedc71802023369d6558