mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-14 11:01:06 +01:00
16 lines
424 B
Java
16 lines
424 B
Java
|
package nodomain.freeyourgadget.gadgetbridge.util;
|
||
|
|
||
|
import android.os.ParcelUuid;
|
||
|
import android.os.Parcelable;
|
||
|
|
||
|
public class AndroidUtils {
|
||
|
public static ParcelUuid[] toParcelUUids(Parcelable[] uuids) {
|
||
|
if (uuids == null) {
|
||
|
return null;
|
||
|
}
|
||
|
ParcelUuid[] uuids2 = new ParcelUuid[uuids.length];
|
||
|
System.arraycopy(uuids, 0, uuids2, 0, uuids.length);
|
||
|
return uuids2;
|
||
|
}
|
||
|
}
|