Bug: http://b.android.com/175129
Change-Id: I2111673767e0f62ee910560022b559a177d55abd
return result;
}
- // setup the ParserFactory
- ParserFactory.setParserFactory(mParams.getLayoutlibCallback().getParserFactory());
-
HardwareConfig hardwareConfig = mParams.getHardwareConfig();
// setup the display Metrics.
* The counterpart is {@link #tearDown()}.
*/
private void setUp() {
+ // setup the ParserFactory
+ ParserFactory.setParserFactory(mParams.getLayoutlibCallback().getParserFactory());
+
// make sure the Resources object references the context (and other objects) for this
// scene
mContext.initResources();