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

Skip to content
Commit 8af9af99 authored by Jakub Tyszkowski's avatar Jakub Tyszkowski
Browse files

Fix calling method on the stopped service

Since the callback was scheduled on the main loop, the service can be
stopped after that and before the callback is called. We should check
if the service is still running before we execute the scheduled callback
logic.

Bug: 298898621
Test: atest BluetoothInstrumentationTests
Change-Id: Id7c9fa75758a13aea93d2d235feb99bfc4cda85c
parent 7f7d8d59
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