This change catches exceptions while parsing and ensures that we add something to the queue being analyzed, else we block until timeout for each failure for each iteration leading to test timeouts on devices with APKs that won't parse (some for expected reasons). Fixes: 179430570 Test: atest PackageParsingPerfTest Change-Id: I5287c48a8fa54cd44cf8b7433f8bb2536a3743b3