lshal: avoid FQName globals.

These aren't really needed here, and they are costing 20Kib memory/user.

Bug: 148177595
Test: boot/lshal
Change-Id: Id0d311319c47553fac5d1d208409cef83073fddf
(cherry picked from commit 7a99e04990)
Merged-In: Id0d311319c47553fac5d1d208409cef83073fddf
This commit is contained in:
Steven Moreland 2020-02-26 13:16:34 -08:00
parent a821321b90
commit 6c016640bf

View file

@ -406,7 +406,7 @@ bool ListCommand::addEntryWithInstance(const TableEntry& entry,
return false;
}
if (fqInstance.getPackage() == gIBaseFqName.package()) {
if (fqInstance.getPackage() == "android.hidl.base") {
return true; // always remove IBase from manifest
}