| commit | 63fd87a13ab71860d7d2bb1029c75e44a6a2ee7f | [log] [tgz] |
|---|---|---|
| author | Suprabh Shukla <suprabh@google.com> | Tue May 18 22:08:01 2021 -0700 |
| committer | Suprabh Shukla <suprabh@google.com> | Tue May 18 22:13:47 2021 -0700 |
| tree | 26f9fbbb63b20db838501e0dadba06321cd6eac3 | |
| parent | 39e7cb2721181acb5deca19ee1bc88962797e1fd [diff] |
Setting result earlier than onPause Setting the result in onPause is too late for delivering it to the requesting activity. Changing to setting the result any time the uncommitted state is written. The state will still be committed in onPause only. Test: Manually with a test app using startActivityForResult. Bug: 188477366 Change-Id: I676c99e7d2a64b644cef60ecd14728d4d49180c3