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

Security: java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.VIEW #14304

Open
Sunnie2304 opened this issue Jan 3, 2025 · 1 comment
Assignees
Labels
bug feature: authentication Authentication or accounts related stable-3.30

Comments

@Sunnie2304
Copy link

Cause of error

Exception in thread "main" java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.VIEW dat=https://help.nextcloud.com/... cmp=team.opay.pay.merchant.service/com.opay.webview.WebFoundationActivity } from ProcessRecord{dba60cd 6396:com.nextcloud.client/u0a109} (pid=6396, uid=10109) not exported from uid 10280
    at android.os.Parcel.readException(Parcel.java:1954)
    at android.os.Parcel.readException(Parcel.java:1900)
    at android.app.IActivityManager$Stub$Proxy.startActivity(IActivityManager.java:4394)
    at android.app.Instrumentation.execStartActivity(Instrumentation.java:1631)
    at android.app.Activity.startActivityForResult(Activity.java:4762)
    at android.app.Activity.startActivityForResult(Activity.java:4702)
    at android.app.Activity.startActivity(Activity.java:5123)
    at android.app.Activity.startActivity(Activity.java:5091)
    at com.owncloud.android.utils.DisplayUtils.startIntentIfAppAvailable(DisplayUtils.java:802)
    at com.owncloud.android.utils.DisplayUtils.startLinkIntent(DisplayUtils.java:797)
    at com.owncloud.android.utils.DisplayUtils.startLinkIntent(DisplayUtils.java:791)
    at com.owncloud.android.utils.DisplayUtils.startLinkIntent(DisplayUtils.java:786)
    at com.owncloud.android.ui.activity.SettingsActivity.lambda$setupHelpPreference$15(SettingsActivity.java:539)
    at com.owncloud.android.ui.activity.SettingsActivity.$r8$lambda$VF-2scGoaaGNgJlqtWjsn2ccPJE(Unknown Source:0)
    at com.owncloud.android.ui.activity.SettingsActivity$$ExternalSyntheticLambda9.onPreferenceClick(D8$$SyntheticClass:0)
    at android.preference.Preference.performClick(Preference.java:1169)
    at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:257)
    at android.widget.AdapterView.performItemClick(AdapterView.java:321)
    at android.widget.AbsListView.performItemClick(AbsListView.java:1217)
    at android.widget.AbsListView$PerformClick.run(AbsListView.java:3203)
    at android.widget.AbsListView$3.run(AbsListView.java:4151)
    at android.os.Handler.handleCallback(Handler.java:808)
    at android.os.Handler.dispatchMessage(Handler.java:101)
    at android.os.Looper.loop(Looper.java:166)
    at android.app.ActivityThread.main(ActivityThread.java:7425)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)

App information

  • ID: com.nextcloud.client
  • Version: 30300690
  • Build flavor: generic

Device information

  • Brand: HONOR
  • Device: HWBND-H
  • Model: BND-L21
  • Id: HONORBND-L21
  • Product: BND-L21

Firmware

  • SDK: 26
  • Release: 8.0.0
  • Incremental: 338(C185)
@tobiasKaminsky
Copy link
Member

cmp=team.opay.pay.merchant.service/com.opay.webview.WebFoundationActivity

Our app tries to find a valid browser to open up help url.
It seems now that it finds only above App, which is obviously not correct.

Do you have

  • no browser installed?
  • http links set to open with above app?

@tobiasKaminsky tobiasKaminsky self-assigned this Jan 6, 2025
@joshtrichards joshtrichards added feature: authentication Authentication or accounts related stable-3.30 labels Jan 6, 2025
@joshtrichards joshtrichards changed the title Security Security: java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.VIEW Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug feature: authentication Authentication or accounts related stable-3.30
Projects
None yet
Development

No branches or pull requests

3 participants