Merge "Keymaster memory management is inconsistent"

gugelfrei
TreeHugger Robot 5 years ago committed by Android (Google) Code Review
commit 8fc710cc6a

@ -230,6 +230,7 @@ cc_binary {
"libhidlbase",
"libhwbinder",
"libkeymaster4support",
"libutils",
],
}

@ -115,7 +115,7 @@ class Keymaster {
bool isSecure();
private:
std::unique_ptr<KmDevice> mDevice;
sp<KmDevice> mDevice;
DISALLOW_COPY_AND_ASSIGN(Keymaster);
static bool hmacKeyGenerated;
};

Loading…
Cancel
Save