Offload initial headless app query to handler thread.

Query package manager for the headless system app check on the handler
thread to avoid impacting boot time.

Bug: 157941190
Test: verify cache is still populated
Change-Id: Idb446e68c0ad4e1e693b45297d5297be855849bf
1 file changed