commit | 95f8f0ed6508c29180900e6c813e146caa200600 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Fri Mar 24 09:20:17 2017 -0700 |
committer | Winson Chung <winsonc@google.com> | Fri Mar 24 09:20:17 2017 -0700 |
tree | 237672327596bc1f3ac673f781fb892f94ec987d | |
parent | adb9fcde8514d28c9ea5e5ac988d477a77b895c8 [diff] |
Prevent cleaning up and resuming null activity when task is reparented. - If reparenting a task with no running activities, ensure that we don't try to clean up the null activity record from the stack. In addition, once the task is reparented, skip the attempt to front if the activity is null. Bug: 36508639 Test: android.server.cts.ActivityManagerPinnedStackTests Change-Id: I58d4d600523ac263d0be1ee8d09cfc4d94bef664