Fix issue #2540920: connectivity issues with tripit/pandora

Need to be sure to compute gids when SD card is mounted, since we
need the package info for that.  Note that this is not re-granting
permissions (and in the future we could optimize this to just pass
through the mounted apps).

Change-Id: I51e1c23d17a6429642132902ef75c65a307fc33a
This commit is contained in:
Dianne Hackborn
2010-03-24 12:59:52 -07:00
parent e77852c885
commit af7cea3a51

View File

@@ -9579,6 +9579,9 @@ class PackageManagerService extends IPackageManager.Stub {
}
}
synchronized (mPackages) {
// Make sure group IDs have been assigned, and any permission
// changes in other apps are accounted for
updatePermissionsLP(null, null, true, false);
// Persist settings
mSettings.writeLP();
}