Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
fix FakeContext getContentResolver NPE (#2904)
Browse files Browse the repository at this point in the history
  • Loading branch information
5ec1cff committed Dec 30, 2023
1 parent 1607548 commit 2f58f07
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions daemon/src/main/java/org/lsposed/lspd/util/FakeContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ public Resources getResources() {
return ConfigFileManager.getResources();
}

@Override
public String getOpPackageName() {
return "android";
}

@Override
public ApplicationInfo getApplicationInfo() {
try {
Expand Down

0 comments on commit 2f58f07

Please sign in to comment.