Revert "Schematize vold system properties"

This reverts commit e6baedd917.

Reason for revert: Breaking aosp_master build

Change-Id: I7b171441196326391972cb0b0c45bf11a04f6f1b
This commit is contained in:
Anthony Stange
2018-12-07 11:44:10 +00:00
parent e6baedd917
commit 49e81e0eea
2 changed files with 7 additions and 7 deletions

View File

@@ -39,7 +39,6 @@ import android.os.UserHandle;
import android.os.UserManager;
import android.provider.Settings;
import androidx.annotation.VisibleForTesting;
import android.sysprop.VoldProperties;
import android.telephony.euicc.EuiccManager;
import android.text.TextUtils;
import android.util.Log;
@@ -405,7 +404,7 @@ public class MasterClear extends InstrumentedFragment implements OnGlobalLayoutL
}
private boolean isExtStorageEncrypted() {
String state = VoldProperties.decrypt().orElse("");
String state = SystemProperties.get("vold.decrypt");
return !"".equals(state);
}