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

Commit 20903b39 authored by Pierre Vandwalle's avatar Pierre Vandwalle Committed by Vinit Deshpande
Browse files

fix null pointer crash

(cherry-picked from mirror-m-wireless-internal-release
216d8c36 fix null pointer crash)

Bug: 20232584

Change-Id: I7c46e372bc8f3a54b0428ef56c034eb2c79133ea
parent aef477a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1057,7 +1057,7 @@ public class WifiManager {
            }
            synchronized(this) {
                record = mService.reportActivityInfo();
                if (record.isValid()) {
                if (record != null && record.isValid()) {
                    return record;
                } else {
                    return null;