Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e20cce04 authored by Mark Harman's avatar Mark Harman
Browse files

Revert use of isEmpty(), as requires Android 15 for CharSequence.

parent e5b3b328
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2275,7 +2275,8 @@ public class MyApplicationInterface extends BasicApplicationInterface {
                    }*/
                }

                if( subtitles.isEmpty() ) {
                // Android warning that we should replace with isEmpty(), but that requires Android 15 for CharSequence.isEmpty()
                if( subtitles.length() == 0 ) {
                    return;
                }
                long video_time_from = video_time - offset_ms;