mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-05-01 13:44:25 +02:00
chore: Merge branch dev
to main
(#243)
This commit is contained in:
commit
b4cfe80ad5
@ -1,3 +1,10 @@
|
|||||||
|
## [15.0.3-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v15.0.2...v15.0.3-dev.1) (2023-09-29)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Fix SMALI compilation on devices with RTL language ([#242](https://github.com/ReVanced/revanced-patcher/issues/242)) ([356f1f1](https://github.com/ReVanced/revanced-patcher/commit/356f1f155348347a8f318a2e024716ebf4fec99b))
|
||||||
|
|
||||||
## [15.0.2](https://github.com/ReVanced/revanced-patcher/compare/v15.0.1...v15.0.2) (2023-09-27)
|
## [15.0.2](https://github.com/ReVanced/revanced-patcher/compare/v15.0.1...v15.0.2) (2023-09-27)
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
org.gradle.parallel = true
|
org.gradle.parallel = true
|
||||||
org.gradle.caching = true
|
org.gradle.caching = true
|
||||||
kotlin.code.style = official
|
kotlin.code.style = official
|
||||||
version = 15.0.2
|
version = 15.0.3-dev.1
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@file:Suppress("MemberVisibilityCanBePrivate", "UNUSED_PARAMETER")
|
@file:Suppress("MemberVisibilityCanBePrivate")
|
||||||
|
|
||||||
package app.revanced.patcher.patch
|
package app.revanced.patcher.patch
|
||||||
|
|
||||||
|
@ -6,5 +6,4 @@ package app.revanced.patcher.patch
|
|||||||
* @param patch The [Patch] that was executed.
|
* @param patch The [Patch] that was executed.
|
||||||
* @param exception The [PatchException] thrown, if any.
|
* @param exception The [PatchException] thrown, if any.
|
||||||
*/
|
*/
|
||||||
@Suppress("MemberVisibilityCanBePrivate")
|
|
||||||
class PatchResult internal constructor(val patch: Patch<*>, val exception: PatchException? = null)
|
class PatchResult internal constructor(val patch: Patch<*>, val exception: PatchException? = null)
|
@ -13,6 +13,7 @@ import com.android.tools.smali.smali.smaliFlexLexer
|
|||||||
import com.android.tools.smali.smali.smaliParser
|
import com.android.tools.smali.smali.smaliParser
|
||||||
import com.android.tools.smali.smali.smaliTreeWalker
|
import com.android.tools.smali.smali.smaliTreeWalker
|
||||||
import java.io.InputStreamReader
|
import java.io.InputStreamReader
|
||||||
|
import java.util.Locale
|
||||||
|
|
||||||
private const val METHOD_TEMPLATE = """
|
private const val METHOD_TEMPLATE = """
|
||||||
.class LInlineCompiler;
|
.class LInlineCompiler;
|
||||||
@ -33,7 +34,7 @@ class InlineSmaliCompiler {
|
|||||||
fun compile(
|
fun compile(
|
||||||
instructions: String, parameters: String, registers: Int, forStaticMethod: Boolean
|
instructions: String, parameters: String, registers: Int, forStaticMethod: Boolean
|
||||||
): List<BuilderInstruction> {
|
): List<BuilderInstruction> {
|
||||||
val input = METHOD_TEMPLATE.format(
|
val input = METHOD_TEMPLATE.format(Locale.ENGLISH,
|
||||||
if (forStaticMethod) {
|
if (forStaticMethod) {
|
||||||
"static"
|
"static"
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user