mirror of
https://github.com/revanced/smali.git
synced 2025-06-13 04:27:38 +02:00
fix Precoditions.checkValueArg()
This commit is contained in:
@ -145,7 +145,7 @@ public class Preconditions {
|
||||
}
|
||||
|
||||
public static void checkValueArg(int valueArg, int maxValue) {
|
||||
if (valueArg > 0) {
|
||||
if (valueArg > maxValue) {
|
||||
throw new IllegalArgumentException(
|
||||
String.format("Invalid value_arg value %d for an encoded_value. Expecting 0..%d, inclusive",
|
||||
valueArg, maxValue));
|
||||
|
Reference in New Issue
Block a user