diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2020-10-02 15:48:26 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2020-10-13 12:03:49 +0530 |
commit | c70c1792f6ebb2e34fc4c7331c08b0de7e9129b4 (patch) | |
tree | d3e187f59e5bc2ad186bf24d7bec90e7da54b149 /gradle/wrapper/gradle-wrapper.properties | |
parent | 8355db86f529d892dfd87b2b4643dedcf4f1faaa (diff) |
all: refactor ActivityResultContracts usages to adhere to API requirements
The newest versions of AndroidX Activity and Fragments correctly enforce the
requirement for all contracts to be registered at class init or before
the lifecycle has reached `Lifecycle.State.STARTED`. To comply with these requirements,
move all instances of `registerForActivityResult` being called at arbitrary points
in the code to be done at class init.
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
(cherry picked from commit cf03c554785ee822be3408edcfb81fa4cf03d0e5)
Diffstat (limited to 'gradle/wrapper/gradle-wrapper.properties')
0 files changed, 0 insertions, 0 deletions