Merge "Makes static shared libs visible to installer" into pi-dev am: d79759a2d7
am: 1fb6e0b7f0
Change-Id: I8daa5dabeba9830004d73936de01df8e2b65349b
This commit is contained in:
@@ -4227,6 +4227,11 @@ public class PackageManagerService extends IPackageManager.Stub
|
||||
|| appId == Process.ROOT_UID) {
|
||||
return false;
|
||||
}
|
||||
// Installer gets to see all static libs.
|
||||
if (PackageManager.PERMISSION_GRANTED
|
||||
== checkUidPermission(Manifest.permission.INSTALL_PACKAGES, uid)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
// No package means no static lib as it is always on internal storage
|
||||
|
||||
Reference in New Issue
Block a user