diff options
author | jorgegil@google.com <jorgegil@google.com> | 2021-10-06 14:18:24 -0700 |
---|---|---|
committer | jorgegil@google.com <jorgegil@google.com> | 2021-10-06 14:18:24 -0700 |
commit | d1908d2f7228fba9c484fa1bc31bf8cb8434da0f (patch) | |
tree | 1a307445c1e7dc2a30f2683aae765d13ce546785 /libs/hwui/renderthread/RenderEffectCapabilityQuery.cpp | |
parent | f23eb51da9c58fb4f4ca2b0cad66fced8e23e7d7 (diff) |
Add null check on ActivityOptions before using it
ActivityOptions in calculate() may be null sometimes, which
results in an NPE when trying to get the launchWindowingMode.
Bug: 202194933
Test: m -j128 && atest CompatChangeTests
Change-Id: Icc87278adb66b6ab856c8bb84594933abc71cf60
Diffstat (limited to 'libs/hwui/renderthread/RenderEffectCapabilityQuery.cpp')
0 files changed, 0 insertions, 0 deletions