2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-09-05 16:45:08 +00:00

Use ArrayUtils.EMPTY_STRING_ARRAY constant.

This commit is contained in:
Isira Seneviratne
2020-07-12 13:37:24 +05:30
committed by Nicolas Fella
parent f6187333a8
commit 7458adc7d6
9 changed files with 22 additions and 17 deletions

View File

@@ -38,6 +38,7 @@ import androidx.annotation.RequiresApi;
import androidx.core.app.NotificationCompat;
import androidx.core.content.ContextCompat;
import org.apache.commons.lang3.ArrayUtils;
import org.kde.kdeconnect.Helpers.DeviceHelper;
import org.kde.kdeconnect.Helpers.NotificationHelper;
import org.kde.kdeconnect.MyApplication;
@@ -215,7 +216,7 @@ public class FindMyPhonePlugin extends Plugin {
@Override
public String[] getOutgoingPacketTypes() {
return new String[0];
return ArrayUtils.EMPTY_STRING_ARRAY;
}
@Override