Upstream #include "KeyUtil.h" breaks fs_mgr_format.cpp
Partner changes caused build break (details in the
bug). This change removes the unused partner changes.
Bug: 150246237
Change-Id: I291c862499a43f1376866aac0b3908048832e65e
diff --git a/KeyStorage.h b/KeyStorage.h
index 2d72ade..b4645b8 100644
--- a/KeyStorage.h
+++ b/KeyStorage.h
@@ -17,9 +17,8 @@
#ifndef ANDROID_VOLD_KEYSTORAGE_H
#define ANDROID_VOLD_KEYSTORAGE_H
-#include "Keymaster.h"
#include "KeyBuffer.h"
-#include <cutils/multiuser.h>
+
#include <string>
namespace android {
diff --git a/KeyUtil.cpp b/KeyUtil.cpp
index 3e15fdb..42a20a5 100644
--- a/KeyUtil.cpp
+++ b/KeyUtil.cpp
@@ -34,10 +34,6 @@
#include "KeyStorage.h"
#include "Utils.h"
-#define MAX_USER_ID 0xFFFFFFFF
-
-using android::hardware::keymaster::V4_0::KeyFormat;
-using android::vold::KeyType;
namespace android {
namespace vold {
diff --git a/KeyUtil.h b/KeyUtil.h
index ba24fcb..dcb1dc7 100644
--- a/KeyUtil.h
+++ b/KeyUtil.h
@@ -19,7 +19,6 @@
#include "KeyBuffer.h"
#include "KeyStorage.h"
-#include "Keymaster.h"
#include <fscrypt/fscrypt.h>