commit | 963d1880ca70ce78be4c711fe1b6574ef63ade83 | [log] [tgz] |
---|---|---|
author | Jeff Chang <chengjeff@google.com> | Fri Sep 04 12:07:58 2020 +0800 |
committer | Jeff Chang <chengjeff@google.com> | Thu Sep 24 09:39:57 2020 +0800 |
tree | 8f1b235f5229c1224d2f41d842ecef9130bedf6a | |
parent | fc0321b167f1c98370c67ef9536c68f74b6972f6 [diff] |
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