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

Skip to content
Commit d0575ab8 authored by Sandeep Samdaria's avatar Sandeep Samdaria
Browse files

Handle NPE in HFPClientConnectionService

Problem: Telecom manager can return null phone account from a phone account
handle. Hfpclient service tries to retrieve the device from phone account's
address. Since phone account is null, it results in NPE.

Solution: Add a null check.

Bug: 221861375
Test: Added new unit-test to ensure Hfp service handles null data from
telecom manager.
Tag: #stability

Change-Id: I915ada921c40b6d9398ecad1f52f62016977b262
parent aca1d986
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