commit | e382326e3d47014eb1345c66e8ebdb7c943f2e9b | [log] [tgz] |
---|---|---|
author | Chris Li <lihongyu@google.com> | Mon Apr 18 23:30:04 2022 +0800 |
committer | Chris Li <lihongyu@google.com> | Wed Apr 20 15:45:09 2022 +0800 |
tree | aeb731c043d0b9ef2b90cbe42c130fc65132f9ca | |
parent | d41df35243a0bf8817f85bf4aa588d46caa4c2dd [diff] |
Fix crash in getParentContainerBounds Before, before TaskFragment appeared, the getTopNonFinishingActivity may be null, and throw exception for no bounds found. Now, make sure we always have Task bounds stored. Bug: 228885031 Test: atest WMJetpackUnitTests:SplitControllerTest Test: atest WMJetpackUnitTests:TaskContainerTest Change-Id: I3744813a85f24941563c8ff8f284b2e45396f906