am a2307aef
: Only restorecon_data once for all users.
* commit 'a2307aefd06f1310660ef1d35ce01bcfc72c9633': Only restorecon_data once for all users.
This commit is contained in:
commit
9ca52e34f7
@ -257,11 +257,11 @@ int copy_complete_app(const char *from_uuid, const char *to_uuid,
|
|||||||
<< ": status " << rc;
|
<< ": status " << rc;
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (restorecon_data(to_uuid, package_name, seinfo, uid) != 0) {
|
if (restorecon_data(to_uuid, package_name, seinfo, multiuser_get_uid(0, appid)) != 0) {
|
||||||
LOG(ERROR) << "Failed to restorecon " << to;
|
LOG(ERROR) << "Failed to restorecon";
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// We let the framework scan the new location and persist that before
|
// We let the framework scan the new location and persist that before
|
||||||
|
Loading…
Reference in New Issue
Block a user