java.lang.SecurityException: Permission Denial: starting Intent { act=android.bluetooth.adapter.action.REQUEST_DISCOVERABLE cmp=com.android.settings/com.transsion.bluetooth.RequestPermissionActivity (has extras) } from ProcessRecord{8309ea4 16688:org.fdro
ANDROID_VERSION: '13'
APP_VERSION_NAME: 1.16.3
AVAILABLE_MEM_SIZE: 67195719680
BRAND: Infinix
DATE: '2023-06-10'
Message-ID: $2b$12$73842f23ded9b051a7757u6WStg2atsn36NFAOe3d6H4EUF6xb1Fi
PACKAGE_NAME: org.fdroid.fdroid
PHONE_MODEL: Infinix X6831
STACK_TRACE_HASH: 9353e713
USER_COMMENT: Hsjisgwo
STACK_TRACE:
java.lang.SecurityException: Permission Denial: starting Intent { act=android.bluetooth.adapter.action.REQUEST_DISCOVERABLE cmp=com.android.settings/com.transsion.bluetooth.RequestPermissionActivity (has extras) } from ProcessRecord{8309ea4 16688:org.fdroid.fdroid/u0a236} (pid=16688, uid=10236) requires android.permission.BLUETOOTH_CONNECT
at android.os.Parcel.createExceptionOrNull(Parcel.java:3021)
at android.os.Parcel.createException(Parcel.java:3005)
at android.os.Parcel.readException(Parcel.java:2988)
at android.os.Parcel.readException(Parcel.java:2930)
at android.app.IActivityTaskManager$Stub$Proxy.startActivity(IActivityTaskManager.java:3753)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1808)
at android.app.Activity.startActivityForResult(Activity.java:5501)
at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.java:597)
at android.app.Activity.startActivityForResult(Activity.java:5459)
at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.java:583)
at org.fdroid.fdroid.nearby.SwapWorkflowActivity.sendFDroidBluetooth(SwapWorkflowActivity.java:691)
at org.fdroid.fdroid.nearby.SwapWorkflowActivity.lambda$setUpUseBluetoothButton$7(SwapWorkflowActivity.java:1348)
at org.fdroid.fdroid.nearby.SwapWorkflowActivity.$r8$lambda$RtF8W4tEZu7SLjOemrcJkcaXwu8(Unknown Source:0)
at org.fdroid.fdroid.nearby.SwapWorkflowActivity$$ExternalSyntheticLambda3.onClick(Unknown Source:2)
at android.view.View.performClick(View.java:7540)
at com.google.android.material.button.MaterialButton.performClick(MaterialButton.java:1194)
at android.view.View.performClickInternal(View.java:7513)
at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
at android.view.View$PerformClick.run(View.java:29583)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:204)
at android.os.Looper.loop(Looper.java:291)
at android.app.ActivityThread.main(ActivityThread.java:8129)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:588)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1019)
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.server.wm.ActivityTaskSupervisor.checkStartAnyActivityPermission(ActivityTaskSupervisor.java:1201)
at com.android.server.wm.ActivityStarter.executeRequest(ActivityStarter.java:1680)
at com.android.server.wm.ActivityStarter.execute(ActivityStarter.java:1337)
at com.android.server.wm.ActivityTaskManagerService.startActivityAsUser(ActivityTaskManagerService.java:1389)
at com.android.server.wm.ActivityTaskManagerService.startActivityAsUser(ActivityTaskManagerService.java:1327)
@