Merge "Don't fail catastrophically on non-existing namespace"
This commit is contained in:
commit
d11603646a
1 changed files with 1 additions and 1 deletions
|
|
@ -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"));
|
||||
}));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue