automerge: 31deee5
* commit '31deee5e307c00245d0fc7fd09dfe299145e1e0c':
Stop crypto UI from crashing during encryption
This commit is contained in:
@@ -826,7 +826,9 @@ class MountService extends IMountService.Stub
|
|||||||
|
|
||||||
// On an encrypted device we can't see system properties yet, so pull
|
// On an encrypted device we can't see system properties yet, so pull
|
||||||
// the system locale out of the mount service.
|
// the system locale out of the mount service.
|
||||||
|
if ("".equals(SystemProperties.get("vold.encrypt_progress"))) {
|
||||||
copyLocaleFromMountService();
|
copyLocaleFromMountService();
|
||||||
|
}
|
||||||
|
|
||||||
// Let package manager load internal ASECs.
|
// Let package manager load internal ASECs.
|
||||||
mPms.scanAvailableAsecs();
|
mPms.scanAvailableAsecs();
|
||||||
|
|||||||
Reference in New Issue
Block a user