Merge "Initialize mMetaData correctly, fix ref count"
am: 7ef724dc97

Change-Id: I0fe395437e4d0b1cab3be5e9a9e4de1c8271c2fa