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

Skip to content
Commit 10039a47 authored by Lucas Lin's avatar Lucas Lin
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: I925eefaffeadd87ef1b18204cbf82a9e63779a10
Merged-In: I5d5e98add0ea2abf92156c11188739c535e7e9a8
(cherry picked from commit 9d5cc530)
parent 72b7075e
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