From 27d9fd0a70af303022ef6e74563107ff182c5629 Mon Sep 17 00:00:00 2001 From: tehcneko <7764726+tehcneko@users.noreply.github.com> Date: Sat, 27 Feb 2021 12:34:19 +0800 Subject: [PATCH] [core] Fix illegal access (#214) * [core] Fix illegal access * [CI] Upload mappings for core --- .github/workflows/core.yml | 5 +++++ core/proguard-rules.pro | 1 + 2 files changed, 6 insertions(+) diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml index 14e77330..cfc55f1e 100644 --- a/.github/workflows/core.yml +++ b/.github/workflows/core.yml @@ -46,6 +46,11 @@ jobs: with: name: ${{ steps.prepareArtifact.outputs.debugName }} path: './LSPosed-debug/*' + - name: Upload mappings + uses: actions/upload-artifact@v2 + with: + name: mappings + path: "core/build/outputs/mapping" - name: Post to channel if: ${{ github.event_name != 'pull_request' && success() && github.ref == 'refs/heads/master' }} env: diff --git a/core/proguard-rules.pro b/core/proguard-rules.pro index 95342ee5..6bd043d0 100644 --- a/core/proguard-rules.pro +++ b/core/proguard-rules.pro @@ -27,6 +27,7 @@ public static void forkAndSpecializePost(java.lang.String, java.lang.String, android.os.IBinder); public static void main(java.lang.String[]); } +-keepnames class io.github.lsposed.lspd.hooker.HandleBindAppHooker -keepclasseswithmembers class io.github.lsposed.lspd.nativebridge.* { native *; }