TrustInterface: Fix default root access value
* On clean installs persist.sys.root_access is empty Change-Id: I99fe87ebcfe53915c663244023486cf3698af24c
This commit is contained in:
@@ -225,7 +225,7 @@ public class TrustInterfaceService extends LineageSystemService {
|
||||
}
|
||||
|
||||
private int getRootStatus() {
|
||||
String status = SystemProperties.get("persist.sys.root_access");
|
||||
String status = SystemProperties.get("persist.sys.root_access", "0");
|
||||
switch (status) {
|
||||
case "0":
|
||||
return TrustInterface.TRUST_FEATURE_LEVEL_GOOD;
|
||||
|
||||
Reference in New Issue
Block a user