commit | 64714a02b2a1d8d4b42c3998d83615593e180779 | [log] [tgz] |
---|---|---|
author | Andrey Epin <ayepin@google.com> | Mon Oct 31 13:16:18 2022 -0700 |
committer | Andrey Epin <ayepin@google.com> | Mon Oct 31 13:16:18 2022 -0700 |
tree | ba47ef33324059e8735e2b66da81f2735052ef1e | |
parent | c1fee021cc14739480a1b8f95987904b796d646d [diff] |
Ignore onPostListReady call if the activity has been destroyed ResolverActivity#onPostListReady is called asynchronously on the main thread and it is possible for it to be executed after activity’s onDestroy call. A check for activity’s status is added to the method. Test: atest FrameworksCoreTests:ChooserActivityTest Fix: 254787909 Change-Id: I96d98a03d86881845868a67e33ea8ee7c9dc6631