fix FakeContext getContentResolver NPE (#2904)
This commit is contained in:
parent
1607548ffc
commit
2f58f0785d
|
|
@ -41,6 +41,11 @@ public class FakeContext extends ContextWrapper {
|
|||
return ConfigFileManager.getResources();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getOpPackageName() {
|
||||
return "android";
|
||||
}
|
||||
|
||||
@Override
|
||||
public ApplicationInfo getApplicationInfo() {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in New Issue