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

Resources occupied after closing this app properly and openning another app #19

Closed
Dthird opened this issue Nov 16, 2016 · 5 comments
Closed
Labels

Comments

@Dthird
Copy link

Dthird commented Nov 16, 2016

Steps to trigger the problem

  1. open the Flashlight app.
  2. click the button to let flashlight on and reclick the button to let the flashlight off in order.
  3. click the HOME button and open an app which using the flashlight resources(e.g. Camera).

What happens when you follow the steps

The app open in Step 3 will report errors or be hanging. Below is a screenshot:
s61116-094106

Bugs behind the problem

It does not release the flashlight or relevant services in a proper way.

The version of the software being used

Version 1.20 - Added on 2016-09-27

Environments

  • Device: m2 note
  • Android version: 5.1
@tibbi tibbi added the bug label Nov 16, 2016
@srbhmshr344
Copy link

i have done the testing with moto g3 (Android 6)its working fine.

@tibbi
Copy link
Member

tibbi commented Nov 16, 2016

Everything around cameras works so much differently per Android version and manufacturer, that I just cannot fix some of the bugs without having a device with the particular issue :/

@Dthird
Copy link
Author

Dthird commented Nov 17, 2016

Not only the around cameras will trigger this error, but also other flashlight apps(like Camera your team developed, Open Flashlight, Search Light, etc. in F-Droid) will cause similar problem. You can use these apps in the Step3 for further testing.

@avipars
Copy link

avipars commented Jun 13, 2017

Try downloading one of the popular flashlight apps on the market and then install and try to use this app. Then you should get this problem.

I couldn't reproduce it on my friend's device as well.

@trubitsyn
Copy link
Contributor

trubitsyn commented Jun 13, 2017

Yes, I get this, but Simple Flashlight seems to be closing resources fine. EasyLight breaks Simple Flashlight in my case but if I try to start EasyLight after Simple Flashlight on-off, everything works.

@tibbi tibbi closed this as completed in 93c4cd7 Nov 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants