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

Skip to content
Commit 3f48d67d authored by Hyundo Moon's avatar Hyundo Moon
Browse files

OppService: Fix IndexOutOfBoundException in UpdateThread

Due to the timing change between ProfileService#stop() and
ProfileService#cleanup(), the main thread and the UpdateThread were
accesing the same list (mShare) concurrently.

This CL calls the stopInternal() in BluetoothOppService#stop() so that
the list is cleaned up after the UpdateThread is stopped.

Bug: 321897599
Bug: 326135849
Test: atest BluetoothInstrumentationTests
Change-Id: I35d6507e32125aac63b38d0f26b8d8f1c62a1ac6
parent e8160a71
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