Project Information
- Repository: https://github.com/ExploiTR/YouP3
- Project Name: YouP3.
Describe the bug.
I had downloaded and launched the app for the first time. I used it for a couple of minutes and exited it. I launched the app again, and it kept crashing.
How to reproduce.
- Download and launch the app.
- Exit the app
- Launch the app again
- See error.
Expected behavior.
I expected that I could close and launch the app at anytime without any hassle.
Test Environment.
Device: Redmi Note 5 Pro
OS: Android 9.0
Software version: Youp3 v1.0.3
Screen recording.
Logcat
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3722)
at android.app.ActivityThread.access$1700(ActivityThread.java:200)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1704)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6810)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
Caused by: java.lang.SecurityException: Permission Denial: startForeground from pid=19403, uid=10418 requires android.permission.FOREGROUND_SERVICE
at android.os.Parcel.createException(Parcel.java:1953)
at android.os.Parcel.readException(Parcel.java:1921)
at android.os.Parcel.readException(Parcel.java:1871)
at android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:5144)
at android.app.Service.startForeground(Service.java:695)
at downloader.utils.DownloadExecutorService.onStartCommand(DownloadExecutorService.java:74)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3700)
... 8 more
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.server.am.ActivityManagerService.enforcePermission(ActivityManagerService.java:9569)
at com.android.server.am.ActiveServices.setServiceForegroundInnerLocked(ActiveServices.java:1226)
at com.android.server.am.ActiveServices.setServiceForegroundLocked(ActiveServices.java:901)
at com.android.server.am.ActivityManagerService.setServiceForeground(ActivityManagerService.java:21042)
at android.app.IActivityManager$Stub.onTransact$setServiceForeground$(IActivityManager.java:10581)
Hi @harry-heightz, thanks for making this report.
I am unable to reproduce the error on OS 6 and 7. Must be unique to OS 9 -- from the stack trace the application is being denied some sort of access permissions.
Still at a loss at what may have caused this.
I look forward to more of your reports
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Chat with us on Discord.
[utopian-moderator]
Thank you for your review, @fego! Keep up the good work!
Hey, @harry-heightz!
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Get higher incentives and support Utopian.io!
SteemPlus or Steeditor). Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!
Hi @harry-heightz!
Feel free to join our @steem-ua Discord serverYour post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation! Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!