简体   繁体   English

Android 7.0 init.rc媒体服务器

[英]Android 7.0 init.rc mediaserver

I have question about Android 7.0 boot sequence. 我对Android 7.0的启动顺序有疑问。

In Android 6.0, the init process will parse the init.rc and initiate the mediaserver: 在Android 6.0中,init进程将解析init.rc并启动媒体服务器:

service media /system/bin/mediaserver
    class main
    user main
    group audio camera inet net_bt net_bt_admin net_bw_acct drmrpc mediadrm qcom_diag radio cw_access
    ...

But in Android 7.0, the init.rc doesn't have the above code, so i wondering who is the one initiate the mediaserver?? 但是在Android 7.0中,init.rc没有上面的代码,所以我想知道谁是启动媒体服务器的人吗? could be systemserver or not? 可以是systemserver吗?

Try to find a file named mediaserver.rc in frameworks/native . 尝试在frameworks / native中找到一个名为mediaserver.rc的文件。 Android 7.0 tryes to separate the init.rc actions and services according to reason. Android 7.0 尝试根据原因将init.rc操作和服务分开。 And you'll find them in system/etc/init/ on the device. 您会在设备上的system / etc / init /中找到它们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM