commit | 97a9fa7a8f9e56eba5d96cf8450e20bdec797d29 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Wed Sep 04 22:17:51 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Sep 04 22:17:51 2024 +0000 |
tree | 8aa23703929b44249fa067f4ec8a6ecd14d24754 | |
parent | eb5f59f6f6c6935b29f6a7563f5e53fa57296549 [diff] | |
parent | d955e73f727c4c1e40dc96d97ae94f0bc3d35f85 [diff] |
Merge "binder: fix PartialEq impl of SpIBinder" into main am: d955e73f72 Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3253014 Change-Id: I6e938ab936f515d7afb3a4963694faa2fba234fc Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/libs/binder/rust/src/proxy.rs b/libs/binder/rust/src/proxy.rs index 340014a..04f1517 100644 --- a/libs/binder/rust/src/proxy.rs +++ b/libs/binder/rust/src/proxy.rs
@@ -195,7 +195,7 @@ impl PartialEq for SpIBinder { fn eq(&self, other: &Self) -> bool { - ptr::eq(self.0.as_ptr(), other.0.as_ptr()) + self.cmp(other) == Ordering::Equal } }