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

Skip to content
Commit 827f8ce9 authored by M. Kiesel's avatar M. Kiesel
Browse files

avoid NPE/fatal exception if wpa_supplicant fails

If wpa_supplicant dies unexpectedly (for example due to
broken wpa_supplicant.conf), WifiStateService tries to
stop DHCP. If no DhcpHandler has been created yet, this
causes an NPE which is not caught. This leads to a fatal
exception in ConnectivityThread, finally causing Zygote
to shutdown and reinit in a loop.
These additional null checks fix the problem.

Change-Id: Id7d9212225c2b5f8d1dadcb9049b03b6e28550ea
parent 3977575b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment