sapphire: init: rm package cache on early boot
* Because Android won't do it on a dirty flash so certain elements will be broken if something is changed in UI. Signed-off-by: Gustavo Mendes <gusttavo.me@outlook.com> Change-Id: I611d082319c1d90b2a133e207516d5a2e9a33512 Signed-off-by: angelomds42 <angelomds42@gmail.com> Signed-off-by: kibria5 <mdkibria687@gmail.com>
This commit is contained in:
@@ -85,6 +85,10 @@ on early-init
|
||||
# Load WIGIG platform driver
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules msm_11ad_proxy
|
||||
|
||||
# Workarround for cache
|
||||
rm /data/resource-cache
|
||||
rm /data/system/package_cache
|
||||
|
||||
on init
|
||||
|
||||
# Support legacy paths
|
||||
|
||||
Reference in New Issue
Block a user