mirror of
https://github.com/revanced/smali.git
synced 2025-05-04 16:44:25 +02:00
Fix an issue with how encoded booleans are written
git-svn-id: https://smali.googlecode.com/svn/trunk@401 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
parent
cf483d2e13
commit
6389c5bc6b
@ -79,7 +79,7 @@ public class BooleanEncodedValue extends EncodedValue {
|
||||
if (out.annotates()) {
|
||||
out.annotate("value_type=" + ValueType.VALUE_BOOLEAN.name() + ",value=" + Boolean.toString(value));
|
||||
}
|
||||
out.writeByte(ValueType.VALUE_BOOLEAN.value | (value?1:0 << 5));
|
||||
out.writeByte(ValueType.VALUE_BOOLEAN.value | ((value?1:0) << 5));
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
|
Loading…
x
Reference in New Issue
Block a user