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

Commit 7a38d9bb authored by SamarV-121's avatar SamarV-121 Committed by Daniel Jacob Chittoor
Browse files

StorageManager: Add dummy inCryptKeeperBounce method

* Fixes mtk ims crash
E AndroidRuntime: java.lang.NoSuchMethodError: No static method inCryptKeeperBounce()Z in class Landroid/os/storage/StorageManager; or its super classes (declaration of 'android.os.storage.StorageManager' appears in /system/framework/framework.jar!classes2.dex)

Change-Id: Ia923c10b79c16a41fe4e8dd454e96afa05e174e2
parent 079308d9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1693,6 +1693,10 @@ public class StorageManager {
        return RoSystemProperties.CRYPTO_ENCRYPTED;
    }

    public static boolean inCryptKeeperBounce() {
        return false;
    }

    /** {@hide}
     * Is this device file encrypted?
     * @return true for file encrypted. (Implies isEncrypted() == true)