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

Skip to content
Commit 576cadbe authored by Hyundo Moon's avatar Hyundo Moon
Browse files

GattServiceTest: Avoid directly assigning member variables as mocks

GattServiceTest overwrites the member variables in the GattService,
which results their cleanup() not be called.
It resulted NPE in Broadcast receiver used in ScanManager.
This CL fixes this issue.

Bug: 291390459
Test: atest GoogleBluetoothInstrumentationTests
Change-Id: I63d6f30b67a4e8b7f2f5702a5ea0687a84142115
Merged-In: I63d6f30b67a4e8b7f2f5702a5ea0687a84142115
parent 6507424a
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