File tree Expand file tree Collapse file tree 4 files changed +6
-8
lines changed
AntiBrightnessChange/src/main/java/com/programminghoch10/AntiBrightnessChange
AutomaticAdvancedSettingsExpander/src/main/java/de/binarynoise/automaticadvancedsettingsexpander
ResetAllNotificationChannels/src/main/java/de/binarynoise/clearallnotifications Expand file tree Collapse file tree 4 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 4
4
5
5
import android .view .WindowManager ;
6
6
7
- import androidx .annotation .Keep ;
8
-
9
7
import de .robv .android .xposed .IXposedHookLoadPackage ;
10
8
import de .robv .android .xposed .XC_MethodHook ;
11
9
import de .robv .android .xposed .XposedHelpers ;
12
10
import de .robv .android .xposed .callbacks .XC_LoadPackage ;
13
11
14
- @ Keep
15
12
public class Hook implements IXposedHookLoadPackage {
16
13
@ Override
17
14
public void handleLoadPackage (XC_LoadPackage .LoadPackageParam lpparam ) {
Original file line number Diff line number Diff line change @@ -3,15 +3,13 @@ package de.binarynoise.automaticadvancedsettingsexpander
3
3
import kotlin.properties.ReadWriteProperty
4
4
import kotlin.reflect.KProperty
5
5
import android.util.Log
6
- import androidx.annotation.Keep
7
6
import de.robv.android.xposed.IXposedHookLoadPackage
8
7
import de.robv.android.xposed.XC_MethodHook
9
8
import de.robv.android.xposed.XposedHelpers
10
9
import de.robv.android.xposed.callbacks.XC_LoadPackage
11
10
12
11
const val TAG = " AutomaticSettingsExpand"
13
12
14
- @Keep
15
13
class Hook : IXposedHookLoadPackage {
16
14
override fun handleLoadPackage (lpparam : XC_LoadPackage .LoadPackageParam ) {
17
15
val packages = arrayOf(
Original file line number Diff line number Diff line change @@ -2,15 +2,13 @@ package de.binarynoise.resetallnotificationchannels
2
2
3
3
import android.annotation.SuppressLint
4
4
import android.util.Log
5
- import androidx.annotation.Keep
6
5
import de.robv.android.xposed.IXposedHookLoadPackage
7
6
import de.robv.android.xposed.XC_MethodHook
8
7
import de.robv.android.xposed.XposedBridge
9
8
import de.robv.android.xposed.callbacks.XC_LoadPackage
10
9
11
10
const val TAG = " ResetAllNotifications"
12
11
13
- @Keep
14
12
@SuppressLint(" PrivateApi" )
15
13
class Hook : IXposedHookLoadPackage {
16
14
override fun handleLoadPackage (lpparam : XC_LoadPackage .LoadPackageParam ) {
Original file line number Diff line number Diff line change @@ -149,9 +149,14 @@ tasks.withType<JavaCompile> {
149
149
150
150
if (isAndroid || isAndroidLib) {
151
151
dependencies {
152
- add(" implementation" , " androidx.annotation:annotation:1.6.0" )
153
152
add(" compileOnly" , " de.robv.android.xposed:api:82" )
154
153
}
155
154
}
156
155
156
+ if (isKotlinLib || isKotlinAndroid) {
157
+ dependencies {
158
+ add(" implementation" , " org.jetbrains:annotations:24.0.1" )
159
+ }
160
+ }
161
+
157
162
println (" applied common on $project " )
You can’t perform that action at this time.
0 commit comments