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

Commit 38974921 authored by Ajay Panicker's avatar Ajay Panicker
Browse files

Prevent NullPointerException on AdapterService.mRemoteDevices

Makes sure that mRemoteDevices is always initialized and not null
even if AdapterService functions are called while Ble is turned
off. Before this if some AdapterService functions were ever used
before Ble was turned on, mRemoteDevices wouldn't have been
initialized and a NPE would occur.

Bug: 21893759
Change-Id: Ia0f41c3d4fbfc6322d49431d1f5021857f018ff0
parent 3db57786
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