No longer need to use libbinder_rs directly.
Bug: 181869875
Test: mm
Change-Id: I8f417ddadddb36e031567aaf18a2e2f364f60b30
diff --git a/vm/Android.bp b/vm/Android.bp
index 248af4d..4bb9727 100644
--- a/vm/Android.bp
+++ b/vm/Android.bp
@@ -10,7 +10,6 @@
rustlibs: [
"android.system.virtmanager-rust",
"libanyhow",
- "libbinder_rs",
"libenv_logger",
"liblibc",
"liblog_rust",
diff --git a/vm/src/main.rs b/vm/src/main.rs
index 34031f7..6ebfe63 100644
--- a/vm/src/main.rs
+++ b/vm/src/main.rs
@@ -18,12 +18,9 @@
use android_system_virtmanager::aidl::android::system::virtmanager::IVirtManager::IVirtManager;
use android_system_virtmanager::binder::{
- get_interface, ParcelFileDescriptor, ProcessState, Strong,
+ get_interface, DeathRecipient, IBinder, ParcelFileDescriptor, ProcessState, Strong,
};
use anyhow::{Context, Error};
-// TODO: Import these via android_system_virtmanager::binder once https://r.android.com/1619403 is
-// submitted.
-use binder::{DeathRecipient, IBinder};
use std::fs::File;
use std::io;
use std::os::unix::io::{AsRawFd, FromRawFd};