diff options
| author | 2022-04-18 23:30:04 +0800 | |
|---|---|---|
| committer | 2022-04-20 15:45:09 +0800 | |
| commit | e382326e3d47014eb1345c66e8ebdb7c943f2e9b (patch) | |
| tree | aeb731c043d0b9ef2b90cbe42c130fc65132f9ca /libs/androidfw/StringPool.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions