Using the correct package name for ContentResolver

Change-Id: I0518391f7262c78043fbd42ddfefef0f2451382c
This commit is contained in:
Xin Guan
2014-09-10 15:24:30 -05:00
committed by Svetoslav
parent 9127e4580c
commit 2bcb97bfb5

View File

@@ -2237,7 +2237,6 @@ class ContextImpl extends Context {
mUser = user;
mPackageInfo = packageInfo;
mContentResolver = new ApplicationContentResolver(this, mainThread, user);
mResourcesManager = ResourcesManager.getInstance();
mDisplay = display;
mOverrideConfiguration = overrideConfiguration;
@@ -2284,6 +2283,8 @@ class ContextImpl extends Context {
mOpPackageName = mBasePackageName;
}
}
mContentResolver = new ApplicationContentResolver(this, mainThread, user);
}
void installSystemApplicationInfo(ApplicationInfo info, ClassLoader classLoader) {