move document parsing into AndroidAsync

Change-Id: If240160f837f4f2347fae6845e999257e205ca48