Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permissions-related crash #62

Open
duncancarroll opened this issue Jul 1, 2019 · 0 comments
Open

Permissions-related crash #62

duncancarroll opened this issue Jul 1, 2019 · 0 comments

Comments

@duncancarroll
Copy link

duncancarroll commented Jul 1, 2019

Library crash when enabling screenshot invocation method.
Phone is a Pixel 3 XL on API 28
Using Buglife 1.5.1

Fatal Exception: java.lang.ClassCastException: com.buglife.sdk.screenrecorder.ScreenRecordingPermissionHelper cannot be cast to com.buglife.sdk.PermissionHelper
       at com.buglife.sdk.ScreenshotContentObserver.start + 76(ScreenshotContentObserver.java:76)
       at com.buglife.sdk.InvocationMethodManager.setUpScreenshotObserver + 118(InvocationMethodManager.java:118)
       at com.buglife.sdk.InvocationMethodManager.setScreenshotInvocationMethodEnabled + 69(InvocationMethodManager.java:69)
       at com.buglife.sdk.InvocationMethodManager.start + 48(InvocationMethodManager.java:48)
       at com.buglife.sdk.Client.startInvocationMethod + 484(Client.java:484)
       at com.buglife.sdk.Client.setInvocationMethod + 191(Client.java:191)
       at com.buglife.sdk.Buglife.setInvocationMethod + 74(Buglife.java:74)
       at audio.breaker.ui.settings.SettingsFragment$onResume$1.onPreferenceChange + 69(SettingsFragment.kt:69)
       at androidx.preference.Preference.callChangeListener + 1101(Preference.java:1101)
       at androidx.preference.TwoStatePreference.onClick + 67(TwoStatePreference.java:67)
       at androidx.preference.Preference.performClick + 1163(Preference.java:1163)
       at androidx.preference.Preference.performClick + 1148(Preference.java:1148)
       at androidx.preference.SwitchPreference.performClick + 213(SwitchPreference.java:213)
       at androidx.preference.Preference$1.onClick + 172(Preference.java:172)
       at android.view.View.performClick + 6597(View.java:6597)
       at android.view.View.performClickInternal + 6574(View.java:6574)
       at android.view.View.access$3100 + 778(View.java:778)
       at android.view.View$PerformClick.run + 25885(View.java:25885)
       at android.os.Handler.handleCallback + 873(Handler.java:873)
       at android.os.Handler.dispatchMessage + 99(Handler.java:99)
       at android.os.Looper.loop + 193(Looper.java:193)
       at android.app.ActivityThread.main + 6718(ActivityThread.java:6718)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run + 493(RuntimeInit.java:493)
       at com.android.internal.os.ZygoteInit.main + 858(ZygoteInit.java:858)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant