Fix non-desugared method being used

Search for "Not supported at all minSDK levels" here: https://developer.android.com/studio/write/java8-support-table
This commit is contained in:
Stypox 2024-03-27 17:30:23 +01:00
parent 58ae7fbccb
commit bed3516687
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ public class DownloadManagerService extends Service {
mission.threadCount = threads;
mission.source = source;
mission.nearLength = nearLength;
mission.recoveryInfo = recovery.toArray(MissionRecoveryInfo[]::new);
mission.recoveryInfo = recovery.toArray(new MissionRecoveryInfo[0]);
if (ps != null)
ps.setTemporalDir(DownloadManager.pickAvailableTemporalDir(this));