From 0aee64f614d5eae0e50f5e24a1c790dd172b663f Mon Sep 17 00:00:00 2001 From: Paul Lawrence Date: Thu, 17 Apr 2014 10:12:08 -0700 Subject: [PATCH] Make Volantis devices encryptable Volantis SurfaceFlinger holds open a file on data partition. SurfaceFlinger is not running when we trigger_default_encryption but if we start it before starting defaultcrypto it locks open data, so we can't unmount it. It will start anyway when main starts, so not starting it here is safe - it will just cause a 1-2 second delay in the graphics appearing. Change-Id: Idd546a578e62a24f999367b1407b37ad0f00f3a2 --- rootdir/init.rc | 1 - 1 file changed, 1 deletion(-) diff --git a/rootdir/init.rc b/rootdir/init.rc index 82fa75621..b0cd45a35 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -400,7 +400,6 @@ on nonencrypted class_start late_start on property:vold.decrypt=trigger_default_encryption - start surfaceflinger start defaultcrypto on property:vold.decrypt=trigger_encryption