commit | bbafbd59fd237e2ace27256d96b377080989b135 | [log] [tgz] |
---|---|---|
author | Eugene Susla <eugenesusla@google.com> | Thu May 23 16:59:41 2019 -0700 |
committer | Eugene Susla <eugenesusla@google.com> | Thu May 23 20:12:57 2019 -0700 |
tree | f4ef4c060e99b080655fc623c24fdaa0c236fe8a | |
parent | 350911342ec5122278b1edc3eedeea6687fca458 [diff] |
Fix PermissionsHostTest and make activity result capturing more robust The Activity instance that gets onActivityResult/onPermissionResult in not always the same as the one that called startActivityForResult/requestPermission. This was both a cause of some flakes and a recent breakage. Bug: 128423549 Test: atest android.appsecurity.cts.PermissionsHostTest Change-Id: Ic85f646020ee61023667d29875e065493e638bc2