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] Starting activity from TileService using an Intent is not allowed on Android 14 #1228

Open
UjuiUjuMandan opened this issue Jan 2, 2025 · 0 comments · May be fixed by #1231
Open

[BUG] Starting activity from TileService using an Intent is not allowed on Android 14 #1228

UjuiUjuMandan opened this issue Jan 2, 2025 · 0 comments · May be fixed by #1231
Labels

Comments

@UjuiUjuMandan
Copy link

UjuiUjuMandan commented Jan 2, 2025

Describe the Bug
Quick tile.

To Reproduce
Steps to reproduce the behavior:

  1. Click the quick tile.

Expected Behavior

Continuing:

@meenbeese You should not open an activity, but ... emmm... connect.

What Custom Configuration Do You Use?
Not related.

Screenshots
Not related.

Smartphone (please complete the following information):

  • Device: Pixel 7
  • OS: Android 15
  • Version: Orbot 17.3.2-RC-1-tor-0.4.8.12

Crash Logs (Advanced)

2025-01-02 17:21:02.247  9783-9783  AndroidRuntime org.torproject.android      E  FATAL EXCEPTION: main
Process: org.torproject.android, PID: 9783
java.lang.UnsupportedOperationException: startActivityAndCollapse: Starting activity from TileService using an Intent is not allowed.
	at android.service.quicksettings.TileService.startActivityAndCollapse(TileService.java:355)
	at org.torproject.android.ConnectFragment$$ExternalSyntheticApiModelOutline0.m(D8$$SyntheticClass:0)
	at org.torproject.android.ui.OrbotTileService.onClick(OrbotTileService.kt:18)
	at android.service.quicksettings.TileService$H.handleMessage(TileService.java:494)
	at android.os.Handler.dispatchMessage(Handler.java:109)
	at android.os.Looper.loopOnce(Looper.java:232)
	at android.os.Looper.loop(Looper.java:317)
	at android.app.ActivityThread.main(ActivityThread.java:8787)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:871)

Additional Context

@meenbeese meenbeese linked a pull request Jan 5, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant