commit | 3e0f315f8c10bd913fbea06a3817d7523db527b1 | [log] [tgz] |
---|---|---|
author | Chilun <chilunhuang@google.com> | Fri Sep 24 11:58:20 2021 +0800 |
committer | Chilun <chilunhuang@google.com> | Mon Oct 04 17:09:36 2021 +0800 |
tree | cadbfcc09eabc0fed7f3a43f8323f01f8c770c84 | |
parent | abdb320b7096ab2b2082e4096330541759a2c2f1 [diff] |
Use post-execution state for ActivityResultItem onActivityResult was called before onStart when resuming an activity from STOPPED state. Ensure the onActivityResult callback to be called before onResume. But we only fix this after Android S to avoid some app compatibility issues. Bug: 78294732 Bug: 130178098 Test: atest ActivityLifecycleTests Change-Id: I9ff060ff26d3fc517aae0a094fc041887326a963