From ab0ee265b15d8b4c4acf6cc3b12ee89405f0f2a4 Mon Sep 17 00:00:00 2001 From: LoveSy Date: Sat, 30 Dec 2023 00:35:21 +0800 Subject: [PATCH] Fix oneui notification (#2902) --- daemon/src/main/java/org/lsposed/lspd/util/FakeContext.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon/src/main/java/org/lsposed/lspd/util/FakeContext.java b/daemon/src/main/java/org/lsposed/lspd/util/FakeContext.java index d6abe3c37c0..de233efb5a5 100644 --- a/daemon/src/main/java/org/lsposed/lspd/util/FakeContext.java +++ b/daemon/src/main/java/org/lsposed/lspd/util/FakeContext.java @@ -54,7 +54,8 @@ public ApplicationInfo getApplicationInfo() { @Override public ContentResolver getContentResolver() { - return null; + return new ContentResolver(this) { + }; } public int getUserId() {