Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue when removing last element of List #1476

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

KingLucius
Copy link
Contributor

@KingLucius KingLucius commented Jan 7, 2025

This fixes the new extension issue after bumping to sdk 35 (when running on A14 and lower)

According to https://developer.android.com/about/versions/15/behavior-changes-15#openjdk-api-changes
There is a Collision with MutableList.removeFirst() and MutableList.removeLast() extension functions in kotlin-stdlib
leads to:

java.lang.NoSuchMethodError: No virtual method
removeFirst()Ljava/lang/Object; in class Ljava/util/ArrayList;

@fire-light42 fire-light42 merged commit e2852d2 into recloudstream:master Jan 9, 2025
2 checks passed
@KingLucius KingLucius deleted the removeLastApi35 branch January 9, 2025 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants