Use vendor/etc/ueventd.rc on microdroid
... because vendors should be able to extend ueventd.rc for their own devices (in microdroid) and microdroid's system.img can't be amended. Bug: N/A Test: boot microdroid Change-Id: I7ceaf3f87453c8e29f9d9bf03d4d1866185d4fec
This commit is contained in:
parent
142f8129ec
commit
52d8fe9b04
1 changed files with 4 additions and 0 deletions
|
@ -297,6 +297,10 @@ void ColdBoot::Run() {
|
|||
}
|
||||
|
||||
static UeventdConfiguration GetConfiguration() {
|
||||
if (IsMicrodroid()) {
|
||||
return ParseConfig({"/system/etc/ueventd.rc", "/vendor/etc/ueventd.rc"});
|
||||
}
|
||||
|
||||
auto hardware = android::base::GetProperty("ro.hardware", "");
|
||||
|
||||
struct LegacyPathInfo {
|
||||
|
|
Loading…
Reference in a new issue