Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e1c3f645 authored by Cosmin Băieș's avatar Cosmin Băieș
Browse files

Fix NPE on rootViewImpl.getView

We have two instances which can (very rarely) trigger an NPE, when we
check if we have a non-null rootViewImpl with a non-null view, and use
that view later. This code is in a synchronized block, but that lock
does not protect the viewRootImpl's getView call, instead we should just
save a final reference to it.

Bug: 313399081
Test: n/a
Change-Id: I047b50d26972e6407b04d7cc09ef9110c5fd4b41
parent b0257997
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment