Skip to content

Commit

Permalink
style 优化import
Browse files Browse the repository at this point in the history
  • Loading branch information
chr233 committed Jan 20, 2023
1 parent 1451b8b commit d210bef
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 47 deletions.
4 changes: 0 additions & 4 deletions app/src/main/java/com/chrxw/purenga/MainActivity.kt
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
package com.chrxw.purenga

import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.os.Bundle
import android.util.Log
import androidx.appcompat.app.AppCompatActivity
import androidx.preference.Preference
import androidx.preference.PreferenceFragmentCompat
import androidx.preference.PreferenceManager.getDefaultSharedPreferences

class MainActivity : AppCompatActivity() {

Expand Down
5 changes: 0 additions & 5 deletions app/src/main/java/com/chrxw/purenga/XposedInit.kt
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
package com.chrxw.purenga

import android.annotation.SuppressLint
import android.app.AndroidAppHelper
import android.content.Context
import android.content.res.Resources
import android.content.res.XModuleResources
import com.chrxw.purenga.hook.BaseHook
import com.chrxw.purenga.hook.RewardHook
import com.chrxw.purenga.hook.SplashHook
import com.chrxw.purenga.utils.Log
import com.chrxw.purenga.utils.replaceMethod
import de.robv.android.xposed.*
import de.robv.android.xposed.callbacks.XC_LoadPackage
import java.util.concurrent.CompletableFuture

class XposedInit : IXposedHookLoadPackage, IXposedHookZygoteInit {
override fun initZygote(startupParam: IXposedHookZygoteInit.StartupParam) {
Expand Down
1 change: 0 additions & 1 deletion app/src/main/java/com/chrxw/purenga/hook/RewardHook.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import com.chrxw.purenga.utils.Log
import de.robv.android.xposed.XC_MethodHook
import de.robv.android.xposed.XC_MethodReplacement
import de.robv.android.xposed.XposedHelpers
import java.util.Objects


class RewardHook(classLoader: ClassLoader) : BaseHook(classLoader) {
Expand Down
2 changes: 0 additions & 2 deletions app/src/main/java/com/chrxw/purenga/hook/SplashHook.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package com.chrxw.purenga.hook
import android.app.Activity
import com.chrxw.purenga.utils.Log
import de.robv.android.xposed.XC_MethodHook
import de.robv.android.xposed.XC_MethodReplacement
import de.robv.android.xposed.XposedBridge
import de.robv.android.xposed.XposedHelpers


Expand Down
35 changes: 0 additions & 35 deletions app/src/main/java/com/chrxw/purenga/utils/Utils.kt

This file was deleted.

0 comments on commit d210bef

Please sign in to comment.