Support XMP data, fixed read file on another thread

bug:7293391
Change-Id: I634857dea3c4d0d204c3fb40f0eec9dc1a9af263
2 files changed