Merge "[conflict] Merge "Fix logspam due to missing /vendor/etc/public.libraries.txt" into main am: 997af74d7f am: b8cdb954e7 am: ea8bfaa36e" into udc-dev-plus-aosp

This commit is contained in:
Eric Biggers
2023-07-12 17:00:36 +00:00
committed by Android (Google) Code Review

View File

@@ -1827,6 +1827,9 @@ public class SystemConfig {
soname, soname, new String[0], true);
mSharedLibraries.put(entry.name, entry);
}
} catch (FileNotFoundException e) {
// Expected for /vendor/etc/public.libraries.txt on some devices
Slog.d(TAG, listFile + " does not exist");
} catch (IOException e) {
Slog.w(TAG, "Failed to read public libraries file " + listFile, e);
}