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
Loading
Please register or sign in to comment