Merge "move MediaCodec metrics processing to looper thread" into tm-dev