Rename UserId to UserHandle.
This is the start of turning this into a formal public API. Change-Id: I5786d2c320f1de41a06ed5d0f65adb68967287a0
This commit is contained in:
@@ -48,7 +48,7 @@ import android.os.RemoteException;
|
||||
import android.os.ServiceManager;
|
||||
import android.os.SystemClock;
|
||||
import android.os.SystemProperties;
|
||||
import android.os.UserId;
|
||||
import android.os.UserHandle;
|
||||
import android.os.storage.IMountService;
|
||||
import android.os.storage.IMountServiceListener;
|
||||
import android.os.storage.IMountShutdownObserver;
|
||||
@@ -1713,7 +1713,7 @@ class MountService extends IMountService.Stub
|
||||
return false;
|
||||
}
|
||||
|
||||
final int packageUid = mPms.getPackageUid(packageName, UserId.getUserId(callerUid));
|
||||
final int packageUid = mPms.getPackageUid(packageName, UserHandle.getUserId(callerUid));
|
||||
|
||||
if (DEBUG_OBB) {
|
||||
Slog.d(TAG, "packageName = " + packageName + ", packageUid = " +
|
||||
|
||||
Reference in New Issue
Block a user