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

Allow direct installation of downloaded APKs #1130

Merged
merged 2 commits into from
Dec 30, 2021

Conversation

Fs00
Copy link
Contributor

@Fs00 Fs00 commented Oct 26, 2021

This PR adds a required permission to the manifest so that downloaded APKs can be installed directly by tapping on the download notification on Android 6+.

I've also extracted download-related methods that were in UiUtils in a separate DownloadUtils class (I felt they were out of place while looking at the code) and renamed the receiver responsibile for intercepting clicks on pending download notifications.

Fixes #1067

@Fs00
Copy link
Contributor Author

Fs00 commented Dec 30, 2021

@maniac103 I see this has been parked for quite some time, are there any doubts/uncertainties around the proposed changes?

@maniac103
Copy link
Collaborator

Uh, I completely forgot about this. I'd prefer to keep the class renaming out, or at least keep the old name for EventReceiver since the intention is to keep it reusable for other purposes.

@Fs00
Copy link
Contributor Author

Fs00 commented Dec 30, 2021

or at least keep the old name for EventReceiver since the intention is to keep it reusable for other purposes.

Removed the change, let me know if there's anything else

@maniac103 maniac103 merged commit 5e1549b into slapperwan:master Dec 30, 2021
@Fs00 Fs00 deleted the downloads branch December 30, 2021 19:46
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.

Cannot install apk's in Octodroid after downloading
2 participants