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

Commit c220d8e5 authored by Paul Lawrence's avatar Paul Lawrence
Browse files

Stop crypto UI from crashing during encryption

Don't try to read crypto meta data during this time

Bug: 18037893
Change-Id: I3628572b3b90e6fc0a7c71089b447fb0e5303ee9
parent cab73381
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -826,7 +826,9 @@ class MountService extends IMountService.Stub

                // On an encrypted device we can't see system properties yet, so pull
                // the system locale out of the mount service.
                if ("".equals(SystemProperties.get("vold.encrypt_progress"))) {
                    copyLocaleFromMountService();
                }

                // Let package manager load internal ASECs.
                mPms.scanAvailableAsecs();