No need for Arc around state, as VirtManager is not Clone.
Bug: 171277638 Test: atest VirtualizationHostTestCases Change-Id: I63213f92d837d14efddfc3448279ff7e16609a2a
This commit is contained in:
parent
d6dce6f9ec
commit
9c01baaabf
|
@ -30,7 +30,7 @@ pub const BINDER_SERVICE_IDENTIFIER: &str = "android.system.virtmanager";
|
|||
/// 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 {}
|
||||
|
|
Loading…
Reference in New Issue