* commit '1f0180bfa877373b239a5675f715288db829fa75': Make misc config directory during user creation
This commit is contained in:
@@ -322,6 +322,13 @@ public final class Installer extends SystemService {
|
|||||||
return execute(builder.toString());
|
return execute(builder.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int createUserConfig(int userId) {
|
||||||
|
StringBuilder builder = new StringBuilder("mkuserconfig");
|
||||||
|
builder.append(' ');
|
||||||
|
builder.append(userId);
|
||||||
|
return execute(builder.toString());
|
||||||
|
}
|
||||||
|
|
||||||
public int removeUserDataDirs(int userId) {
|
public int removeUserDataDirs(int userId) {
|
||||||
StringBuilder builder = new StringBuilder("rmuser");
|
StringBuilder builder = new StringBuilder("rmuser");
|
||||||
builder.append(' ');
|
builder.append(' ');
|
||||||
|
|||||||
@@ -12413,6 +12413,7 @@ public class PackageManagerService extends IPackageManager.Stub {
|
|||||||
/** Called by UserManagerService */
|
/** Called by UserManagerService */
|
||||||
void createNewUserLILPw(int userHandle, File path) {
|
void createNewUserLILPw(int userHandle, File path) {
|
||||||
if (mInstaller != null) {
|
if (mInstaller != null) {
|
||||||
|
mInstaller.createUserConfig(userHandle);
|
||||||
mSettings.createNewUserLILPw(this, mInstaller, userHandle, path);
|
mSettings.createNewUserLILPw(this, mInstaller, userHandle, path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user