char property[PROPERTY_VALUE_MAX];
//2 0th IFD TIFF Tags
+#if 0 // STOPSHIP TODO(aray): remove before launch, but for now don't leak product data
//3 Maker
property_get("ro.product.brand", property, EXIF_DEF_MAKER);
strncpy((char *)mExifInfo.maker, property,
strncpy((char *)mExifInfo.software, property,
sizeof(mExifInfo.software) - 1);
mExifInfo.software[sizeof(mExifInfo.software) - 1] = '\0';
+#endif
//3 YCbCr Positioning
mExifInfo.ycbcr_positioning = EXIF_DEF_YCBCR_POSITIONING;
1, exifInfo->width);
writeExifIfd(&pCur, EXIF_TAG_IMAGE_HEIGHT, EXIF_TYPE_LONG,
1, exifInfo->height);
+#if 0 // STOPSHIP TODO(aray): remove before launch, but don't leak product data
writeExifIfd(&pCur, EXIF_TAG_MAKE, EXIF_TYPE_ASCII,
strlen((char *)exifInfo->maker) + 1, exifInfo->maker, &LongerTagOffest, pIfdStart);
writeExifIfd(&pCur, EXIF_TAG_MODEL, EXIF_TYPE_ASCII,
1, exifInfo->orientation);
writeExifIfd(&pCur, EXIF_TAG_SOFTWARE, EXIF_TYPE_ASCII,
strlen((char *)exifInfo->software) + 1, exifInfo->software, &LongerTagOffest, pIfdStart);
+#endif
writeExifIfd(&pCur, EXIF_TAG_DATE_TIME, EXIF_TYPE_ASCII,
20, exifInfo->date_time, &LongerTagOffest, pIfdStart);
writeExifIfd(&pCur, EXIF_TAG_YCBCR_POSITIONING, EXIF_TYPE_SHORT,
}
pstMem->ionClient = 0;
}
-