diff options
| author | 2022-10-11 23:37:51 +0000 | |
|---|---|---|
| committer | 2022-10-11 23:37:51 +0000 | |
| commit | 2705b4102db0fe009f50ca3c25b9fd651efedd20 (patch) | |
| tree | fa2531fcaef1fbd5a6b531ec1e28e26ffad99126 /libs/androidfw/ResourceTimer.cpp | |
| parent | f9a1e3c91361fbc1c1a81fc964484aa5f74aa9f4 (diff) | |
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
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions