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

Keep app alive at Android15 background #547

Open
4 tasks done
CanglanXYA opened this issue Nov 17, 2024 · 1 comment
Open
4 tasks done

Keep app alive at Android15 background #547

CanglanXYA opened this issue Nov 17, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@CanglanXYA
Copy link

需求 / Requirement

Keep app alive under Android 15 environment

原因 / Reason

A15 introduce some new background policies for cracking down on rogue apps but also damaging the foss app's background's ability accidentally.

I cant keep this app alive for background downloading even after enabling "Allow background usage" and modifying "Stand by" developer option at A15's correspondent setting page.

I dont want to put my things away and stay at this app for 15mins only for downloading some big archives

建议实现 / Suggested implemention

  1. Make a lasting notification as an indicator like other "foss" program ( a classic example: telegram-foss, use a "push service" notification banner for background activity)
  2. Display some useful info granted by user like download content or speed, mark this notification as sensitive so when screen locked no one would see it.
  3. For disguise and privacy, let that notification display some weather info , user typed info......

备注 / Addition details

thx for your patience and development ! Im not an experienced Android developer so I cant provide the details of a15 changes, sorry for that.

自查步骤 / Verify steps

  • 您已仔细查看并知情 常见问题 中的内容 / You have checked Q&A carefully
  • 您已搜索过 Issue Tracker,没有找到类似内容 / I have searched on Issue Tracker, No duplicate or related open issue has been found
  • 您确保这个 Issue 只提及一个问题。如果您有多个功能请求,烦请发起多个 Issue / Ensure there is only one feature request in this issue. Please make mutiply issue for mutiply bugs
  • 您确保已使用最新版本测试,并且该问题在最新版本中仍未实现 / This feature have not supported in latest version
@CanglanXYA CanglanXYA added the enhancement New feature or request label Nov 17, 2024
@CanglanXYA
Copy link
Author

In short, I encountered this "frozen problem" after I put it into background for downloading archives everytime. Today I test this on normal download task and this problem emerged again.

I cant find any meaningful log at jhentai or logfox

There is no other service to freeze it, my a15 standby policy is "active" for jhentai.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant