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
java.lang.IllegalStateException: Reply already submitted #2
Comments
Can you please share how |
@Bhat015
|
I've fixed the issue, can I send a pull request? |
Sure |
@a-v-ebrahimi Issue is fixed. |
Thanks, it does now crash now, |
You need to add the below permission in android mainfest file to use
Also, please check if the battery is already optimized before calling |
I would recommend you to use it like this
|
When I call OptimizeBattery.stopOptimizingBatteryUsage(), I receive this error, I've added android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS to manifest :
The text was updated successfully, but these errors were encountered: