commit | cf36be8ab100a4d3891dcb02fa3978f90b509459 | [log] [tgz] |
---|---|---|
author | Jeff Chang <chengjeff@google.com> | Mon Sep 21 16:55:15 2020 +0800 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Mon Sep 28 20:57:52 2020 +0000 |
tree | 20285a53d4546173d26cc6db2c0f76d6eb2469da | |
parent | e3e68f6a52d7cecbbd982eab25336e9d44cd4061 [diff] |
[RESTRICT AUTOMERGE]Don't finish noHistory activity while it is on the topmost. There was no top running activity in the target task result in the NPE. The CL makes sure the top running noHistory activity is not finished when launched again and have protection for getTopNonFinishingActivity. Bug: 159507052 Test: atest testNoHistoryActivityNotFinished Change-Id: Id582f28d79bec052115e07d98c097c7d50c11609 (cherry picked from commit 59a51c6ba9219835d0419b5e5b2cde80bd695b4b)