From 41b93d8caa3a4fc18db7189ab5884097b98b8357 Mon Sep 17 00:00:00 2001 From: Ryan Mitchell Date: Fri, 28 Feb 2020 11:36:43 -0800 Subject: [PATCH] Fix overlaying shared libraries Overlaying shared library support accidentally got dropped while refactoring internal PMS structure.getAllOverlayPaths includes shared library overlay paths. Bug: 150446147 Test: OverlayRemountedTest Change-Id: I5eed0f219c85156c753df6ff829970e1c4e4c4de --- .../content/pm/parsing/PackageInfoWithoutStateUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/content/pm/parsing/PackageInfoWithoutStateUtils.java b/core/java/android/content/pm/parsing/PackageInfoWithoutStateUtils.java index e7d91c205f34e..29d960be18922 100644 --- a/core/java/android/content/pm/parsing/PackageInfoWithoutStateUtils.java +++ b/core/java/android/content/pm/parsing/PackageInfoWithoutStateUtils.java @@ -362,7 +362,7 @@ public class PackageInfoWithoutStateUtils { ai.category = FallbackCategoryProvider.getFallbackCategory(ai.packageName); } ai.seInfoUser = SELinuxUtil.assignSeinfoUser(state); - ai.resourceDirs = state.getOverlayPaths(); + ai.resourceDirs = state.getAllOverlayPaths(); return ai; }