Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 88dcc606 authored by LuK1337's avatar LuK1337 Committed by Michael Bestas
Browse files

aconfig: Use old storage if /metadata is not available

Change-Id: I71e74f07b358679f693cbd5e1f9a0ad1647d505d
parent 69926d99
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -101,7 +101,8 @@ public class AconfigFlags {
    }

    private static boolean useNewStorage() {
        return newStoragePublicApi() && Flags.useNewAconfigStorage();
        return newStoragePublicApi() && Flags.useNewAconfigStorage() &&
                Environment.getMetadataDirectory().exists();
    }

    private void loadServerOverrides() {