summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Lais Andrade <lsandrade@google.com> 2023-07-25 18:28:59 +0100
committer Lais Andrade <lsandrade@google.com> 2023-07-26 10:30:41 +0100
commitb77103f756fbd3a5353acd800d666745fc50dfd9 (patch)
treeb0bb210cc5ddb57a20c85b74f6ccec85e25916eb /api/api.go
parent19dae7cd516fade02b202ad1c25cd797bf0662ea (diff)
Fix ExternalVibrationTest for parcelable serialization
Use real instances of IBinder to create an IExternalVibrationController before testing the writeToParcel/createFromParcel methods, as they rely on the implementation of Parcel.writeStrongBinder that doesn't work on mocks. Also update the tests to assert on all fields from the restored ExternalVibration, since the equals implementation only relies on the client token. Fix: 291713224 Test: ExternalVibrationTest Change-Id: Ia36cd0cc4dfcabf16af9023fcb266fdcbff21fb0
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions