Merge "Resolve canonical package path before writing it to packages.list." into mnc-dev

This commit is contained in:
Oleksiy Vyalov
2015-06-19 18:25:11 +00:00
committed by Android (Google) Code Review

View File

@@ -2098,7 +2098,7 @@ final class Settings {
}
final ApplicationInfo ai = pkg.pkg.applicationInfo;
final String dataPath = ai.dataDir;
final String dataPath = new File(ai.dataDir).getCanonicalPath();
final boolean isDebug = (ai.flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0;
final int[] gids = pkg.getPermissionsState().computeGids(userIds);