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

[BUG] Crash when sharing photo opened with Gallery #571

Open
powermaker450 opened this issue Jan 9, 2025 · 0 comments
Open

[BUG] Crash when sharing photo opened with Gallery #571

powermaker450 opened this issue Jan 9, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@powermaker450
Copy link

Describe the bug
When opening an image from any file manager and selecting "Share", the app crashes

To Reproduce
Steps to reproduce the behavior:

  1. Open any file manager on your device
  2. Open any image, selecting Gallery as the photo viewer
  3. Click on "Share"
  4. App crashes

Expected behavior
App should open up the share menu with the image that was opened

Smartphone:

  • Device: Google Pixel 9 Pro XL
  • OS: Android 15 (GrapheneOS)
  • Version 3.1.0

Additional context
Tested with the latest Github artifact, app still crashes.
I use Material Files as my file manager, but this should work with any file manager when using Gallery as the image viewer.

Crash log:

type: crash
osVersion: google/komodo/komodo:15/AP4A.241205.013/2024123000:user/release-keys
flags: dev options enabled
package: com.dot.gallery:310204, targetSdk 35
process: com.dot.gallery
processUptime: 1563 + 220 ms
installer: com.looker.droidify

java.lang.IllegalArgumentException: Uri lacks 'file' scheme: content://me.zhanghai.android.files.file_provider/file%253A%252F%252F%252Fstorage%252Femulated%252F0%252FPictures%252FEternity%252FGreentext-28032909.jpg
	at x8.b.Y(Unknown Source:68)
	at l5.W.v(Unknown Source:43)
	at m8.a.i(Unknown Source:7)
	at G8.K.run(Unknown Source:106)
	at P0.M.V(Unknown Source:23)
	at P0.N.run(Unknown Source:2)
	at android.os.Handler.handleCallback(Handler.java:991)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loopOnce(Looper.java:232)
	at android.os.Looper.loop(Looper.java:317)
	at android.app.ActivityThread.main(ActivityThread.java:8826)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591)
	at com.android.internal.os.ExecInit.main(ExecInit.java:50)
	at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
	at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:369)
	Suppressed: L8.e: [P0.x0@49376f6, e0.e@94ccaf7, t0{Cancelling}@d93dd64, M@4c1ebcd]
@powermaker450 powermaker450 added the bug Something isn't working label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant