Closed sv-ohorvath closed 4 years ago
android.content.ActivityNotFoundException
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1809)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1523)
at android.app.Activity.startActivityForResult(Activity.java:4225)
at androidx.fragment.app.FragmentActivity.startActivityForResult(FragmentActivity.java:6)
at androidx.core.app.ActivityCompat.startActivityForResult(ActivityCompat.java:2)
at androidx.fragment.app.FragmentActivity.startActivityFromFragment(FragmentActivity.java:2)
at androidx.fragment.app.Fragment.startActivity(Fragment.java:4)
at androidx.fragment.app.Fragment.startActivity(Fragment.java:1)
at org.mozilla.fenix.settings.PairFragment$showPermissionsNeededDialog$$inlined$apply$lambda$1.onClick(PairFragment.kt:18)
at androidx.appcompat.app.AlertController$ButtonHandler.handleMessage(AlertController.java:3)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
The data
needs to be set for the URI. Opening a PR
For QA: see #15097 description for test cases 😄
Verified as fixed on Nightly 9/18. Devices: Pixel 4(android 10), HTC Desire 820 (android 6.0.1), Huawei P20 lite (android 9), Nexus 5 (android 5.1)
Steps to reproduce
Expected behavior
App settings are displayed.
Actual behavior
App crashes. Crash report: https://crash-stats.mozilla.org/report/index/7cd7537f-274e-4198-9401-6ac410200914
@ android.content.ActivityNotFoundException: at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java)
Device information
┆Issue is synchronized with this Jira Task