Android设置方向参数后,出现概率性方向错误(没有读取方向参数)。
system/core$ git diff
diff --git a/rootdir/init.rc b/rootdir/init.rc
index b31164087..9727cc68b 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -222,13 +222,14 @@ on firmware_mounts_complete
on late-init
trigger early-fs
trigger fs
- trigger post-fs
# Load properties from /system/ + /factory after fs mount. Place
# this in another action so that the load will be scheduled after the prior
# issued fs triggers have completed.
trigger load_system_props_action
+ trigger post-fs
+
# Now we can mount /data. File encryption requires keymaster to decrypt
# /data, which in turn can only be loaded when system properties are present
trigger post-fs-data
diff --git a/rootdir/init.rc b/rootdir/init.rc
index b31164087..9727cc68b 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -222,13 +222,14 @@ on firmware_mounts_complete
on late-init
trigger early-fs
trigger fs
- trigger post-fs
# Load properties from /system/ + /factory after fs mount. Place
# this in another action so that the load will be scheduled after the prior
# issued fs triggers have completed.
trigger load_system_props_action
+ trigger post-fs
+
# Now we can mount /data. File encryption requires keymaster to decrypt
# /data, which in turn can only be loaded when system properties are present
trigger post-fs-data