Loading core/java/android/app/ResourcesManager.java +7 −2 Original line number Diff line number Diff line Loading @@ -178,9 +178,14 @@ public class ResourcesManager { //} AssetManager assets = new AssetManager(); // resDir can be null if the 'android' package is creating a new Resources object. // This is fine, since each AssetManager automatically loads the 'android' package // already. if (resDir != null) { if (assets.addAssetPath(resDir) == 0) { return null; } } if (splitResDirs != null) { for (String splitResDir : splitResDirs) { Loading core/java/android/content/res/ResourcesKey.java +6 −2 Original line number Diff line number Diff line Loading @@ -62,8 +62,12 @@ public final class ResourcesKey { return false; } ResourcesKey peer = (ResourcesKey) obj; if (!mResDir.equals(peer.mResDir)) { if (mResDir != peer.mResDir) { if (mResDir == null || peer.mResDir == null) { return false; } else if (!mResDir.equals(peer.mResDir)) { return false; } } if (mDisplayId != peer.mDisplayId) { return false; Loading Loading
core/java/android/app/ResourcesManager.java +7 −2 Original line number Diff line number Diff line Loading @@ -178,9 +178,14 @@ public class ResourcesManager { //} AssetManager assets = new AssetManager(); // resDir can be null if the 'android' package is creating a new Resources object. // This is fine, since each AssetManager automatically loads the 'android' package // already. if (resDir != null) { if (assets.addAssetPath(resDir) == 0) { return null; } } if (splitResDirs != null) { for (String splitResDir : splitResDirs) { Loading
core/java/android/content/res/ResourcesKey.java +6 −2 Original line number Diff line number Diff line Loading @@ -62,8 +62,12 @@ public final class ResourcesKey { return false; } ResourcesKey peer = (ResourcesKey) obj; if (!mResDir.equals(peer.mResDir)) { if (mResDir != peer.mResDir) { if (mResDir == null || peer.mResDir == null) { return false; } else if (!mResDir.equals(peer.mResDir)) { return false; } } if (mDisplayId != peer.mDisplayId) { return false; Loading