Merge "vold: use RAII wake locks" am: 798aa303da am: 56c6681ba8 am: c3d9197784
am: 1a3b759a95
Change-Id: Ibb6db27d179e6dc64adc0add7ad163d2a30ec979
diff --git a/Android.bp b/Android.bp
index f565732..a4cbd88 100644
--- a/Android.bp
+++ b/Android.bp
@@ -230,6 +230,7 @@
"libhidlbase",
"libhwbinder",
"libkeymaster4support",
+ "libutils",
],
}
diff --git a/Keymaster.h b/Keymaster.h
index 42a2b5d..9a0616d 100644
--- a/Keymaster.h
+++ b/Keymaster.h
@@ -115,7 +115,7 @@
bool isSecure();
private:
- std::unique_ptr<KmDevice> mDevice;
+ sp<KmDevice> mDevice;
DISALLOW_COPY_AND_ASSIGN(Keymaster);
static bool hmacKeyGenerated;
};