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

Skip to content
Commit a5e5f926 authored by William Escande's avatar William Escande
Browse files

BassClientService: fix binder logic

mainly 2 things:
1/ Catching "exception because it happens" should be avoided, this
prevent throwing securityexception and other valid exception such as
InvalidArgument or an expected NullPointer check

2/ calling clearInvocation on mockito is not recommended and here it can
be easily avoided by splitting the tests

Change-Id: Ic26bfd24facc303eb77c8c374a9bfd81293b76b8
Bug: 349682934
Bug: 350563786
Test: atest BluetoothInstrumentationTests
Flag: Exempt as impacting mainly and required change to enforce
      permissions properly (b/349682934)
parent c4e9d390
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