No need for Arc around state, as VirtManager is not Clone.
Bug: 171277638
Test: atest VirtualizationHostTestCases
Change-Id: I63213f92d837d14efddfc3448279ff7e16609a2a
diff --git a/virtmanager/src/aidl.rs b/virtmanager/src/aidl.rs
index aecb4ce..8394e36 100644
--- a/virtmanager/src/aidl.rs
+++ b/virtmanager/src/aidl.rs
@@ -30,7 +30,7 @@
/// Implementation of `IVirtManager`, the entry point of the AIDL service.
#[derive(Debug, Default)]
pub struct VirtManager {
- state: Arc<Mutex<State>>,
+ state: Mutex<State>,
}
impl Interface for VirtManager {}