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

App showing up for unrelated Android intents #720

Closed
Terrance opened this issue Jan 31, 2024 · 7 comments
Closed

App showing up for unrelated Android intents #720

Terrance opened this issue Jan 31, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@Terrance
Copy link

Describe the bug

As of 2.6.0, Image Toolbox is now being shown as a target for Android intents it probably doesn't belong to, including "add new contact" and "add calendar event" intents.

Choosing it in either case seems to just start the app as if from the launcher, so I'm assuming there's no special behaviour here and the app is incorrectly registered for those intents.

To reproduce

So far I've found these two using FairEmail's add/edit contact options and Todo Agenda's widget's add event button.

Expected behavior

Image Toolbox to not be presenting itself as an option.

Screenshots

From the resulting prompts to select capable apps to handle the contact and calendar intents:

Smartphone

  • Device: OnePlus Nord CE
  • OS: Android 13
@Terrance Terrance added the bug Something isn't working label Jan 31, 2024
@T8RIN
Copy link
Owner

T8RIN commented Jan 31, 2024

Looks quite interesting

@T8RIN
Copy link
Owner

T8RIN commented Jan 31, 2024

It would be helpful if you can catch those intents through app manager and show their values

@Terrance
Copy link
Author

Copying from App Manager's interceptor (so hopefully in a useful format for you):

URI	intent://com.android.contacts/contacts/lookup/1291e91d45dcc-15ea-23fa-1383-91f097a9494b..vcf/1533#Intent;scheme=content;action=android.intent.action.EDIT;type=vnd.android.cursor.item/contact;launchFlags=0x3000000;S.email=notifications%40git.luolix.top;end

VERSION	1
ACTION	android.intent.action.EDIT
DATA	content://com.android.contacts/contacts/lookup/1291e91d45dcc-15ea-23fa-1383-91f097a9494b..vcf/1533
TYPE	vnd.android.cursor.item/contact
FLAGS	0x3000000
EXTRA	email	12	notifications@github.com

MATCHING ACTIVITIES	3
0	LABEL  	Contacts
 	NAME   	com.android.contacts.activities.ContactEditorSpringBoardActivity
 	PACKAGE	com.android.contacts
1	LABEL  	Interceptor
 	NAME   	io.github.muntashirakon.AppManager.intercept.ActivityInterceptor
 	PACKAGE	io.github.muntashirakon.AppManager
2	LABEL  	Image Toolbox (Resizer)
 	NAME   	ru.tech.imageresizershrinker.presentation.AppActivity
 	PACKAGE	ru.tech.imageresizershrinker
URI	intent://com.android.calendar/events#Intent;scheme=content;action=android.intent.action.INSERT;launchFlags=0x17200000;l.endTime=1706734800000;l.beginTime=1706731200000;end

VERSION	1
ACTION	android.intent.action.INSERT
DATA	content://com.android.calendar/events
FLAGS	0x17200000
EXTRA	endTime	8	1706734800000
EXTRA	beginTime	8	1706731200000

MATCHING ACTIVITIES	3
0	LABEL  	Interceptor
 	NAME   	io.github.muntashirakon.AppManager.intercept.ActivityInterceptor
 	PACKAGE	io.github.muntashirakon.AppManager
1	LABEL  	Image Toolbox (Resizer)
 	NAME   	ru.tech.imageresizershrinker.presentation.AppActivity
 	PACKAGE	ru.tech.imageresizershrinker
2	LABEL  	Etar
 	NAME   	com.android.calendar.EditEventActivity
 	PACKAGE	ws.xsoh.etar

@T8RIN
Copy link
Owner

T8RIN commented Jan 31, 2024

Is it persited on 2.5.1 ?

@Terrance
Copy link
Author

Downgraded to 2.5.1, doesn't happen there.

@T8RIN
Copy link
Owner

T8RIN commented Jan 31, 2024

Not a fix, broken everything

@T8RIN
Copy link
Owner

T8RIN commented Jan 31, 2024

This should help 😄

@T8RIN T8RIN closed this as completed Jan 31, 2024
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

2 participants