Merge "Allow UiAutomation being used off the main thread" into pi-dev
am: c81ed627ab

Change-Id: I7fe9c3d9eb3f291698501ef23fdd449f41d0e3d1