diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2020-10-02 15:48:26 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2020-10-02 15:51:14 +0530 |
commit | cf03c554785ee822be3408edcfb81fa4cf03d0e5 (patch) | |
tree | f503c31d5e5041dc92dccfa7f2d2b836edce662d /autofill-parser/src/main | |
parent | d792fa5135897a57383fbd147c369edc646fa817 (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>
Diffstat (limited to 'autofill-parser/src/main')
0 files changed, 0 insertions, 0 deletions