package io.flutter.plugins.imagepicker; import java.util.Arrays; import java.util.Iterator; import o.hvV; /* loaded from: classes6.dex */ class ExifDataCopier { /* JADX INFO: Access modifiers changed from: package-private */ public void copyExif(String str, String str2) { try { hvV hvv = new hvV(str); hvV hvv2 = new hvV(str2); Iterator it = Arrays.asList("FNumber", "ExposureTime", "ISOSpeedRatings", "GPSAltitude", "GPSAltitudeRef", "FocalLength", "GPSDateStamp", "WhiteBalance", "GPSProcessingMethod", "GPSTimeStamp", "DateTime", "Flash", "GPSLatitude", "GPSLatitudeRef", "GPSLongitude", "GPSLongitudeRef", "Make", "Model", "Orientation").iterator(); while (it.hasNext()) { setIfNotNull(hvv, hvv2, (String) it.next()); } hvv2.e(); } catch (Exception unused) { } } private static void setIfNotNull(hvV hvv, hvV hvv2, String str) { if (hvv.a(str) != null) { hvv2.d(str, hvv.a(str)); } } }