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

Possible typo in code #741

Open
AlexandrKozlovskiy opened this issue Jun 15, 2024 · 0 comments
Open

Possible typo in code #741

AlexandrKozlovskiy opened this issue Jun 15, 2024 · 0 comments

Comments

@AlexandrKozlovskiy
Copy link

Hello. In telegram foss sources at

pendingIntent = PendingIntent.getBroadcast(applicationContext, 0, i, PendingIntent.FLAG_MUTABLE);
i noticed,what instead of getService method you call getBroadcast method. Yes,it works,but i think,it should be replaced on properly method of PendingIntent i mean instead of getBroadcast use getService. Also it not understand,why you create and cancel pintent,which you never created. In my opinion this extra code should be deleted. Thanks.

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

No branches or pull requests

1 participant