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

Skip to content
Commit c4b59dd6 authored by lucaslin's avatar lucaslin
Browse files

Add a null check to prevent NullPointerException

TelephonyManager#getAllCellInfo() may return null, so before
running the foreach loop, the null check is needed.

Bug: 156567547
Test: atest NetworkStackTests:NetworkMonitorTest
Change-Id: I5d5e98add0ea2abf92156c11188739c535e7e9a8
parent 73aae2e5
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