commit | 006ee3fef6a9903a0e80fd8d99acd194985ce8b6 | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Fri Nov 09 08:36:01 2018 -0800 |
committer | Vishnu Nair <vishnun@google.com> | Fri Nov 09 16:56:17 2018 +0000 |
tree | 34b266f20e549c1684a67875b873c993936059ad | |
parent | 8e3554a156f069bab111789f1cbc9a69090a505d [diff] |
AM: Fix deadlock when calling AMS from ATMS/WM Instead of calling AMS synchronously, release the wm lock and pass it to AMS. Wait for AMS to notify us when its done. Fixes: 119265867, 119275681 Test: adb shell am start-activity -S -W com.google.android.apps.maps/com.google.android.maps.MapsActivity Test: atest CtsSampleHostTestCases Change-Id: Idc2895c14ccd92524e88ce3dda24b3d0e8dce2c1