Merge "Don't fail catastrophically on non-existing namespace"

This commit is contained in:
Treehugger Robot 2019-07-26 14:50:33 +00:00 committed by Gerrit Code Review
commit d11603646a

View file

@ -99,7 +99,7 @@ class MockPlatform : public Platform {
if (namespaces.find(name) != namespaces.end()) {
return namespaces[name];
}
return nullptr;
return TO_MOCK_NAMESPACE(TO_ANDROID_NAMESPACE("(namespace not found"));
}));
}