File tree Expand file tree Collapse file tree 8 files changed +17
-25
lines changed
Expand file tree Collapse file tree 8 files changed +17
-25
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,10 @@ import com.fox2code.mmm.repo.RepoManager
1515/* *
1616 * Class made to expose some manager functions to xposed modules.
1717 * It will not be obfuscated on release builds
18+ *
19+ * TODO: Evaluate usage and deprecate if not needed
1820 */
1921@Suppress(" UNUSED_PARAMETER" )
20- @Deprecated(" This class is deprecated and will be removed in the future" )
2122@Keep
2223enum class XHooks {
2324 ;
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ enum class ActionButtonType {
182182 var markwon: Markwon ? = null
183183 val localModuleInfo = moduleHolder.moduleInfo
184184 if (localModuleInfo != null && localModuleInfo.updateChangeLog.isNotEmpty()) {
185- markwon = INSTANCE !! .reallyGetMarkwon()
185+ markwon = INSTANCE !! .markwon
186186 // Re-render each time in cse of config changes
187187 desc = markwon!! .toMarkdown(localModuleInfo.updateChangeLog)
188188 }
@@ -484,7 +484,7 @@ enum class ActionButtonType {
484484 var markwon: Markwon ? = null
485485 val localModuleInfo = moduleHolder.moduleInfo
486486 if (localModuleInfo != null && localModuleInfo.updateChangeLog.isNotEmpty()) {
487- markwon = INSTANCE !! .reallyGetMarkwon()
487+ markwon = INSTANCE !! .markwon
488488 // Re-render each time in cse of config changes
489489 desc = markwon!! .toMarkdown(localModuleInfo.updateChangeLog)
490490 }
Original file line number Diff line number Diff line change @@ -48,8 +48,6 @@ import okhttp3.Response
4848import okhttp3.Response.*
4949import okhttp3.dnsoverhttps.DnsOverHttps
5050import okhttp3.dnsoverhttps.DnsOverHttps.Builder.*
51- import okhttp3.logging.HttpLoggingInterceptor
52- import okhttp3.logging.HttpLoggingInterceptor.*
5351import okio.BufferedSink
5452import org.chromium.net.CronetEngine
5553import timber.log.Timber
@@ -342,15 +340,6 @@ enum class Http {;
342340 chain.proceed(request.build())
343341 })
344342
345- // for debug builds, add a logging interceptor
346- // this spams the logcat, so it's disabled by default and hidden behind a build config flag
347- if (BuildConfig .DEBUG && BuildConfig .DEBUG_HTTP ) {
348- Timber .w(" HTTP logging is enabled. Performance may be impacted." )
349- val loggingInterceptor = HttpLoggingInterceptor ()
350- loggingInterceptor.setLevel(Level .BODY )
351- httpclientBuilder.addInterceptor(loggingInterceptor)
352- }
353-
354343 // add sentry interceptor
355344 httpclientBuilder.addInterceptor(SentryOkHttpInterceptor ())
356345
Original file line number Diff line number Diff line change 33
44 <PreferenceCategory app : title =" @string/pref_category_info" >
55 <!-- donate buttons for fox2code and androidacy -->
6- <com .fox2code.mmm.settings.LongClickablePreference
7- app : icon =" @drawable/ic_baseline_monetization_on_24"
8- app : key =" pref_donate_fox"
9- app : singleLineTitle =" false"
10- app : title =" @string/donate_fox" />
116 <com .fox2code.mmm.settings.LongClickablePreference
127 app : icon =" @drawable/ic_baseline_monetization_on_24"
138 app : key =" pref_donate_androidacy"
149 app : singleLineTitle =" false"
1510 app : summary =" @string/donate_androidacy_sum"
1611 app : title =" @string/donate_androidacy" />
12+ <com .fox2code.mmm.settings.LongClickablePreference
13+ app : icon =" @drawable/ic_baseline_monetization_on_24"
14+ app : key =" pref_donate_fox"
15+ app : singleLineTitle =" false"
16+ app : title =" @string/donate_fox" />
1717 <com .fox2code.mmm.settings.LongClickablePreference
1818 app : icon =" @drawable/ic_baseline_bug_report_24"
1919 app : key =" pref_report_bug"
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ buildscript {
1313 gradlePluginPortal()
1414 }
1515 dependencies {
16- classpath(" com.android.tools.build:gradle:8.3.0-alpha03 " )
16+ classpath(" com.android.tools.build:gradle:8.1.1 " )
1717 classpath(" org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.22" )
1818 classpath(" com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:10.8.3" )
1919
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ android.enableJetifier=false
1616android.enableR8.fullMode =true
1717android.useAndroidX =true
1818org.gradle.caching =true
19- org.gradle.configuration-cache =true
19+ org.gradle.configuration-cache =false # temporarily disabled due to https://github.com/getsentry/sentry-android-gradle-plugin/issues/554
2020org.gradle.configuration-cache.problems =warn
2121org.gradle.jvmargs =-Xmx1536M -Dorg.gradle.android.cache-fix.ignoreVersionCheck\=true -Dkotlin.daemon.jvm.options\="-Xmx1536M" -Dfile.encoding\=UTF-8 -XX\:+UseParallelGC -XX\:ReservedCodeCacheSize\=768m
2222org.gradle.parallel =true
Original file line number Diff line number Diff line change 11# Mon Jul 03 11:59:05 EDT 2023
22distributionBase =GRADLE_USER_HOME
33distributionPath =wrapper/dists
4- distributionUrl =https\://services.gradle.org/distributions/gradle-8.3-rc-2- bin.zip
4+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.3-bin.zip
55networkTimeout =10000
66zipStoreBase =GRADLE_USER_HOME
77zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change @@ -21,10 +21,12 @@ gradleEnterprise {
2121dependencyResolutionManagement {
2222 repositoriesMode.set(RepositoriesMode .FAIL_ON_PROJECT_REPOS )
2323 repositories {
24- mavenCentral()
2524 google()
26- // enable jitpack
27- maven { setUrl(" https://jitpack.io" ) }
25+ mavenCentral()
26+ maven {
27+ setUrl(" https://jitpack.io" )
28+ }
29+ gradlePluginPortal()
2830 }
2931}
3032
You can’t perform that action at this time.
0 commit comments