Unbundled apps should not be allowed to share
linker-namespaces with default namespace; it implies
that they will not have unlimited access to private
native libs once updated.
Bug: http://b/
27189432
Change-Id: I60295b9b31d700016add93537418fdcce5a77719
String libraryPermittedPath = mDataDir;
boolean isBundledApp = false;
- if (mApplicationInfo.isSystemApp()) {
+ if (mApplicationInfo.isSystemApp() && !mApplicationInfo.isUpdatedSystemApp()) {
isBundledApp = true;
// Add path to system libraries to libPaths;
// Access to system libs should be limited