From 751dfddc198b64409d035b8a80b526c0815432fb Mon Sep 17 00:00:00 2001
From: Paul Lawrence <paullawrence@google.com>
Date: Wed, 9 Sep 2015 12:10:58 -0700
Subject: [PATCH] Don't show UI on default encryption

Bug: 22989588
Change-Id: I8e7023767f1da80c872adc45871be1f8851926ad
---
 rootdir/init.rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rootdir/init.rc b/rootdir/init.rc
index 2b1a97c252..ab3ca5af70 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -651,7 +651,7 @@ service defaultcrypto /system/bin/vdc --wait cryptfs mountdefaultencrypted
     # encryption) or trigger_restart_min_framework (other encryption)
 
 # One shot invocation to encrypt unencrypted volumes
-service encrypt /system/bin/vdc --wait cryptfs enablecrypto inplace default
+service encrypt /system/bin/vdc --wait cryptfs enablecrypto inplace default noui
     disabled
     oneshot
     # vold will set vold.decrypt to trigger_restart_framework (default
-- 
GitLab