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

Commit c6e1b293 authored by Jake Hamby's avatar Jake Hamby
Browse files

Don't throw exception on unexpected BT device addition.

Fix for reported bug where settings app crashes while trying to share
a picture. Bug report showed IllegalStateException thrown with message
"Got onDeviceAdded, but cachedDevice already exists." Changed code to
print an error message to the log and ignore the unexpected event,
rather than throwing an uncaught exception that crashes the app.

Bug: 2192884
Change-Id: I016be6a1616b317b2289768d18ae9f069a49445e
parent 844f323e
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