From 3fc74a62de802871faa170b80ee37be78cb755af Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Fri, 23 Jun 2017 14:48:37 -0700 Subject: [PATCH] universal7885: Enable zram on boot_complete This help to save ~50ms in boot time and bootanim shown time Bug: 62957152 Test: Taimen boot and swap look normal after boot Change-Id: Idda2cc2aafca2f98f3c1faf4d1a08c7ae3203483 Signed-off-by: SamarV-121 --- rootdir/etc/init.universal7904.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/etc/init.universal7904.rc b/rootdir/etc/init.universal7904.rc index d76ef58..bed9cc0 100644 --- a/rootdir/etc/init.universal7904.rc +++ b/rootdir/etc/init.universal7904.rc @@ -6,7 +6,7 @@ on init write /proc/sys/vm/page-cluster 0 write /proc/sys/vm/swappiness 100 -on fs +on property:sys.boot_completed=1 swapon_all /system/etc/fstab.enableswap service ExynosHWCServiceTW /system/bin/true