mirror of
https://github.com/revanced/smali.git
synced 2025-06-13 04:27:38 +02:00
Fix logic that determine if an immutable list needs to be copied
This commit is contained in:
@ -62,7 +62,7 @@ public abstract class ImmutableListConverter<ImmutableItem, Item> {
|
||||
boolean needsCopy = false;
|
||||
if (iterable instanceof ImmutableList) {
|
||||
for (Item element: iterable) {
|
||||
if (isImmutable(element)) {
|
||||
if (!isImmutable(element)) {
|
||||
needsCopy = true;
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user