Loading core/java/android/app/ContextImpl.java +3 −2 Original line number Diff line number Diff line Loading @@ -1482,7 +1482,8 @@ class ContextImpl extends Context { mPackageInfo = packageInfo; mResources = mPackageInfo.getResources(mainThread); if (container != null && container.getCompatibilityInfo().applicationScale != if (mResources != null && container != null && container.getCompatibilityInfo().applicationScale != mResources.getCompatibilityInfo().applicationScale) { if (DEBUG) { Log.d(TAG, "loaded context has different scaling. Using container's" + Loading Loading
core/java/android/app/ContextImpl.java +3 −2 Original line number Diff line number Diff line Loading @@ -1482,7 +1482,8 @@ class ContextImpl extends Context { mPackageInfo = packageInfo; mResources = mPackageInfo.getResources(mainThread); if (container != null && container.getCompatibilityInfo().applicationScale != if (mResources != null && container != null && container.getCompatibilityInfo().applicationScale != mResources.getCompatibilityInfo().applicationScale) { if (DEBUG) { Log.d(TAG, "loaded context has different scaling. Using container's" + Loading