commit | 59a51c6ba9219835d0419b5e5b2cde80bd695b4b | [log] [tgz] |
---|---|---|
author | Jeff Chang <chengjeff@google.com> | Mon Sep 21 16:55:15 2020 +0800 |
committer | Jeff Chang <chengjeff@google.com> | Mon Sep 21 17:31:03 2020 +0800 |
tree | 56124b106ee41fa6d993bf2a4400dbb24f4cf1a5 | |
parent | 4a314719d9bd48e8e905c6f5c78fd6420cb808cf [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