aboutsummaryrefslogtreecommitdiff
path: root/media
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2020-10-02 15:48:26 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2020-10-02 15:51:14 +0530
commitcf03c554785ee822be3408edcfb81fa4cf03d0e5 (patch)
treef503c31d5e5041dc92dccfa7f2d2b836edce662d /media
parentd792fa5135897a57383fbd147c369edc646fa817 (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 'media')
0 files changed, 0 insertions, 0 deletions