Skip to content

Commit

Permalink
Initial android 11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
whew-inc committed Mar 22, 2021
1 parent 13abc64 commit 3e038cd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 29
compileSdkVersion 30

defaultConfig {
applicationId "com.thermatk.android.xf.fakegapps"
minSdkVersion 15
targetSdkVersion 29
targetSdkVersion 30
versionCode 3
versionName "2.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
public class FakeSignatures implements IXposedHookZygoteInit {
@Override
public void initZygote(StartupParam startupParam) {
final Class<?> PackageParser = XposedHelpers.findClass("android.content.pm.PackageParser", null);
XposedBridge.hookAllMethods(PackageParser, "generatePackageInfo", new XC_MethodHook() {
final Class<?> ApplicationPackageManager = XposedHelpers.findClass("android.app.ApplicationPackageManager", null);
XposedBridge.hookAllMethods(ApplicationPackageManager, "getPackageInfo", new XC_MethodHook() {
@Override
protected void afterHookedMethod(MethodHookParam param) {
PackageInfo pi = (PackageInfo) param.getResult();
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.2'
classpath 'com.android.tools.build:gradle:4.1.3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Apr 15 02:13:12 CEST 2020
#Mon Mar 22 20:52:33 CET 2021
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip

0 comments on commit 3e038cd

Please sign in to comment.