Merge "Fix NPE in ActivityThread" into oc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
348b13f597
@@ -5766,7 +5766,7 @@ public final class ActivityThread {
|
|||||||
final int preloadedFontsResource = info.metaData.getInt(
|
final int preloadedFontsResource = info.metaData.getInt(
|
||||||
ApplicationInfo.METADATA_PRELOADED_FONTS, 0);
|
ApplicationInfo.METADATA_PRELOADED_FONTS, 0);
|
||||||
if (preloadedFontsResource != 0) {
|
if (preloadedFontsResource != 0) {
|
||||||
data.info.mResources.preloadFonts(preloadedFontsResource);
|
data.info.getResources().preloadFonts(preloadedFontsResource);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user