Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1acd13c authored by Diego Perez's avatar Diego Perez Committed by android-build-merger
Browse files

Merge "Fix NPE when runnin testActivity" into nyc-dev

am: 2155ad82

* commit '2155ad82':
  Fix NPE when runnin testActivity

Change-Id: I5b0c4b2686ebee6814866edf0c9e30e12ea14d26
parents 9f288d59 2155ad82
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -639,7 +639,8 @@ public final class BridgeContext extends Context {
        }
        // Add value to defaultPropsMap if needed
        if (typeArrayAndPropertiesPair.getSecond() != null) {
            Object key = getCurrentParser().getViewCookie();
            BridgeXmlBlockParser parser = getCurrentParser();
            Object key = parser != null ? parser.getViewCookie() : null;
            if (key != null) {
                PropertiesMap defaultPropMap = mDefaultPropMaps.get(key);
                if (defaultPropMap == null) {