Merge "Replace "sys.fuse_snapshot" with "persist.sys.fuse""
diff --git a/MetadataCrypt.cpp b/MetadataCrypt.cpp
index abcf6db..3c2e0d5 100644
--- a/MetadataCrypt.cpp
+++ b/MetadataCrypt.cpp
@@ -189,7 +189,7 @@
                                       bool needs_encrypt) {
     LOG(DEBUG) << "fscrypt_mount_metadata_encrypted: " << mount_point << " " << needs_encrypt;
     auto encrypted_state = android::base::GetProperty("ro.crypto.state", "");
-    if (encrypted_state != "") {
+    if (encrypted_state != "" && encrypted_state != "encrypted") {
         LOG(DEBUG) << "fscrypt_enable_crypto got unexpected starting state: " << encrypted_state;
         return false;
     }
diff --git a/model/EmulatedVolume.cpp b/model/EmulatedVolume.cpp
index d1940f0..130e747 100644
--- a/model/EmulatedVolume.cpp
+++ b/model/EmulatedVolume.cpp
@@ -56,6 +56,7 @@
     setId(StringPrintf("emulated:%u,%u;%u", major(device), minor(device), userId));
     mRawPath = rawPath;
     mLabel = fsUuid;
+    mFuseMounted = false;
 }
 
 EmulatedVolume::~EmulatedVolume() {}