Add new argument to unlock_user_key, fixing merge-caused error.
Change-Id: Ic51f375e500cd61bda926e3b039126a840ed89f0
diff --git a/Ext4Crypt.cpp b/Ext4Crypt.cpp
index 856a58b..b966b96 100644
--- a/Ext4Crypt.cpp
+++ b/Ext4Crypt.cpp
@@ -422,7 +422,7 @@
// If this is a non-FBE device that recently left an emulated mode,
// restore user data directories to known-good state.
if (!e4crypt_is_native() && !e4crypt_is_emulated()) {
- e4crypt_unlock_user_key(0, 0, nullptr);
+ e4crypt_unlock_user_key(0, 0, nullptr, nullptr);
}
return 0;