boinc icon indicating copy to clipboard operation
boinc copied to clipboard

Android app v8.0.2 : crash when editing GUI auth key on device with no auth

Open rwaldura opened this issue 5 months ago • 3 comments

Describe the bug App crashes when editing the GUI auth key on device with no protection. 8.0.0 release notes mention: Use device protection (fingerprint, face ID) when show or edit password.

Steps To Reproduce

  1. Do not setup any on-device auth: no fingerprint, no PIN.
  2. Install BOINC client 8.0.2 to Android phone.
  3. Open BOINC app, go to Preferences, tap the "GUI Authentication Key" field.
  4. App crashes with: ActivityNotFoundException: No Activity found to handle Intent { act=android.settings.BIOMETRIC_ENROLL }

Expected behavior App does not crash; I can edit the key.

System Information

  • OS: WW_Phone-user 8.0.0 OPR1.170623.032 15.0610.1909.39-0 release-keys gms versionName=24.33.33 (040400-666381490)
  • BOINC Version: 8.0.2
  • Device: ASUS_Z01KD_2

Additional context

09-09 15:51:04.723  1635  7040 I ActivityManager: START u0 {act=android.settings.BIOMETRIC_ENROLL (has extras)} from uid 10043
09-09 15:51:04.724  8570  8570 D AndroidRuntime: Shutting down VM
09-09 15:51:04.725  8570  8570 E AndroidRuntime: FATAL EXCEPTION: main
09-09 15:51:04.725  8570  8570 E AndroidRuntime: Process: edu.berkeley.boinc, PID: 8570
09-09 15:51:04.725  8570  8570 E AndroidRuntime: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.settings.BIOMETRIC_ENROLL (has extras) }
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1943)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at android.app.Instrumentation.execStartActivity(Instrumentation.java:1617)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at android.app.Activity.startActivityForResult(Activity.java:4513)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at androidx.activity.ComponentActivity.startActivityForResult(SourceFile:2)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at androidx.core.app.b$b.b(Unknown Source:0)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at androidx.core.app.b.p(Unknown Source:0)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at androidx.activity.ComponentActivity$b.f(Unknown Source:160)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at androidx.activity.result.e$a.b(Unknown Source:31)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at androidx.activity.result.c.a(Unknown Source:1)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at androidx.fragment.app.w.V0(Unknown Source:27)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at androidx.fragment.app.Fragment.O1(Unknown Source:8)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at androidx.fragment.app.Fragment.N1(Unknown Source:1)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at t2.k0.u2(Unknown Source:50)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at t2.k0.i2(Unknown Source:0)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at t2.h0.a(Unknown Source:6)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at androidx.preference.Preference.a0(Unknown Source:20)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at androidx.preference.Preference.b0(Unknown Source:0)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at androidx.preference.Preference$a.onClick(Unknown Source:2)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at android.view.View.performClick(View.java:6256)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at android.view.View$PerformClick.run(View.java:24717)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:789)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:98)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:169)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6585)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
09-09 15:51:04.725  8570  8570 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
09-09 15:51:04.728  1635  7040 W ActivityManager:   Force finishing activity edu.berkeley.boinc/.BOINCActivity

rwaldura avatar Sep 09 '24 23:09 rwaldura