diff options
| author | 2022-10-31 13:16:18 -0700 | |
|---|---|---|
| committer | 2022-10-31 13:16:18 -0700 | |
| commit | 64714a02b2a1d8d4b42c3998d83615593e180779 (patch) | |
| tree | ba47ef33324059e8735e2b66da81f2735052ef1e /libs/androidfw/AssetsProvider.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions