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

Skip to content
Commit fa23280c authored by Rambo Wang's avatar Rambo Wang
Browse files

Fix NullPointerException in SignalStrengthController

The CellIdentity parameter of method updateServiceStateArfcnRsrpBoost
comes from the calling of NetworkRegistrationInfo#getCellIdentity
which can be null without ACCESS_FINE_LOCATION permission.

The CL also throughly scan all the methods and make sure
the variables and parameters are properly annotated with
@Nullable or @NonNull and perform null check for all
@Nullable before usage.

Bug: 218749349
Test: atest SignalStrengthControllerTest
Change-Id: Iefc3c72bb31294243ac5276d00631609c9de455a
parent 4d11ea27
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment