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

Commit 939caef7 authored by Irfan Sheriff's avatar Irfan Sheriff
Browse files

Fix NPE

Bug: 7357742
Change-Id: I4d12d137b9d5ebf5c6739cbd4405de3f90a3d846
parent a30d9694
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1983,7 +1983,9 @@ public class WifiManager {

    protected void finalize() throws Throwable {
        try {
            if (mHandler != null && mHandler.getLooper() != null) {
                mHandler.getLooper().quit();
            }
        } finally {
            super.finalize();
        }