Merge "Makes static shared libs visible to installer" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d79759a2d7
@@ -4223,6 +4223,11 @@ public class PackageManagerService extends IPackageManager.Stub
|
|||||||
|| appId == Process.ROOT_UID) {
|
|| appId == Process.ROOT_UID) {
|
||||||
return false;
|
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
|
// No package means no static lib as it is always on internal storage
|
||||||
|
|||||||
Reference in New Issue
Block a user