AsyncTask.wait was being called outside of a synchronize block, causing an IllegalMonitorStateException. This replaces the wait with a Thread.sleep. BUG=b.android.com/203846 Change-Id: Ib370f702c1e0f76657292955de2406ce7f065e69
Change-Id: I5d4bc5f41a08225a618f68b7afb3b5b3037d96d6