Skip to content

Commit

Permalink
Use Looper.prepareMainLooper
Browse files Browse the repository at this point in the history
I don't know why but this should make OPPO Android 14 happy
  • Loading branch information
RikkaW committed Sep 13, 2023
1 parent dceecf1 commit 64d2eba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public static void main(String[] args) {
DdmHandleAppName.setAppName("shizuku_server", 0);
RishConfig.setLibraryPath(System.getProperty("shizuku.library.path"));

Looper.prepare();
Looper.prepareMainLooper();
new ShizukuService();
Looper.loop();
}
Expand Down

0 comments on commit 64d2eba

Please sign in to comment.