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

Skip to content
Commit 2705b410 authored by Steven Moreland's avatar Steven Moreland
Browse files

Handle JavaBBinderHolder not init w/ mockito

Some mockito users mocking binders like:

    doReturn(...).when(...).asBinder()

Aren't seeing this field initialized when they are making transactions
on this binder object. This causes obtain(IBinder) to fail.

Bug: 252888512
Test: ServiceStateTrackerTest
Change-Id: Ib65948b86cf91f053e26af35629aa3f7d6062c51
parent f9a1e3c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment