OSDN Git Service

Skip reading apex-info-list when there's no apexes
authorJooyung Han <jooyung@google.com>
Tue, 18 Aug 2020 07:35:31 +0000 (16:35 +0900)
committerJooyung Han <jooyung@google.com>
Tue, 18 Aug 2020 08:01:49 +0000 (17:01 +0900)
commita2a5d03590d128128bc6bd6a936d6ef9a1659d6c
tree6fc47e97d3f4270496494b22ccc5652e7b0d487b
parent869afe1f7109ac9c34bdaae40c47bc5cd98e5f50
Skip reading apex-info-list when there's no apexes

linkerconfig may run even when there's no apexes activated. We need to
skip reading apex-info-list.xml then. Otherwise, it will emit an error
log when it is perfectly normal.

> E linkerconfig: Can't read /apex/apex-info-list.xml: No such file or directory

Bug: n/a
Test: device boots & see logs if there's an error
Change-Id: I8f6255de536618ad590ce18adf9b729e45c721df
modules/apex.cc