Merge "Lookup permission groups by name" into jb-mr2-dev
This commit is contained in:
@ -1454,7 +1454,7 @@ public class PackageManagerService extends IPackageManager.Stub {
|
||||
if ("group".equals(name)) {
|
||||
String gidStr = parser.getAttributeValue(null, "gid");
|
||||
if (gidStr != null) {
|
||||
int gid = Integer.parseInt(gidStr);
|
||||
int gid = Process.getGidForName(gidStr);
|
||||
mGlobalGids = appendInt(mGlobalGids, gid);
|
||||
} else {
|
||||
Slog.w(TAG, "<group> without gid at "
|
||||
|
Reference in New Issue
Block a user