No need for Arc around state, as VirtManager is not Clone.

Bug: 171277638
Test: atest VirtualizationHostTestCases
Change-Id: I63213f92d837d14efddfc3448279ff7e16609a2a
This commit is contained in:
Andrew Walbran 2021-03-08 18:23:50 +00:00
parent d6dce6f9ec
commit 9c01baaabf
1 changed files with 1 additions and 1 deletions

View File

@ -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 {}