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

Exported the preferences activity in the main AndroidManifest.xml #1283

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

drogga
Copy link
Contributor

@drogga drogga commented Jul 15, 2024

No description provided.

@gzsombor
Copy link
Member

Sorry for the usual delays, again, my bad!

What do you want to achieve with this change? Based on my knowledge - https://developer.android.com/guide/topics/manifest/activity-element#exported - that flag is only needed to set to true, if you want to trigger this activity from other programs? Is there some specific scenario, where this setting is beneficial for the preference activity?

@drogga
Copy link
Contributor Author

drogga commented Jul 16, 2024

@gzsombor > Yes.


tools:targetApi="jelly_bean">
is this really necessary and does it actually do anything in this repo, especially given that the minSDKversion of this one is 19 = 4.4 KitKat (hugher than JB) ? (there are also other places mentioning JB in code)

@gzsombor
Copy link
Member

@gzsombor > Yes.

Sorry, I still don't get, what is your goal to have this flag set to true?

tools:targetApi="jelly_bean">

is this really necessary and does it actually do anything in this repo, especially given that the minSDKversion of this one is 19 = 4.4 KitKat (hugher than JB) ? (there are also other places mentioning JB in code)

Based on a quick google search for the documentation you are right, these tools:targetApi annotations are not doing too much

@drogga
Copy link
Contributor Author

drogga commented Jul 16, 2024

It won't hurt if the preferences activity is exported and launchable without root by other apps, actually it doesn't makes any sense to not be exported, why would it be, what does it achieve - nothing, but being exported I can use not only a shortcut, but an automation software (like Tasker) to trigger some things, without root, which I don't have on my daily driver. It would be too much complicated and long to explain what I want to do, just because I've changed an activity state with a param/attribute/flag.

@gzsombor gzsombor merged commit 5ba41ba into SkyTubeTeam:master Jul 16, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants