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

Commit d5857291 authored by Andrii Beregovenko's avatar Andrii Beregovenko Committed by Vishal Mahaveer
Browse files

WifiWatchdog: handle exception from ArpPeer



Sometimes IllegalArgumantException can happen in constructor of ArpPeer
class when IPv6 address is provided. This causes crash of systemserver.

Fixing it by adding appropriate exception handler

Change-Id: I4bb7bbca790745a1bf56ece96dd91b84b1f70cad
Signed-off-by: default avatarAndrii Beregovenko <a.beregovenko@ti.com>
Signed-off-by: default avatarVishal Mahaveer <vishalm@ti.com>
parent 6d0dd51e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -881,6 +881,9 @@ public class WifiWatchdogStateMachine extends StateMachine {
            //test to avoid any wifi connectivity issues
            loge("ARP test initiation failure: " + se);
            success = true;
        } catch (IllegalArgumentException ae) {
            log("ARP test initiation failure: " + ae);
            success = true;
        }

        return success;