Keep the screen awake when playing videos or file page. #187
No reviewers
Labels
No labels
android: closed alpha
android: open beta
app-parity
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
creator
Epic
good first issue
hacktoberfest
help wanted
icebox
Invalid
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
product review
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
LBRYCommunity/lbry-android!187
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-151"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #151
Thanks a lot @shockr on discord for the quick tutorial.
This pr Implements a Java module to keep the screen awake.
Theres a bit of dupplication code on the Java module, but thats the only way I managed to work, I''ve refactor the code to just be one function with a Boolean flag and that didn't work for me.
You can active it by using
NativeModules.UtilityModule.keepAwakeOn();and disable it by usingNativeModules.UtilityModule.keepAwakeOff();Could you check out the latest master and then merge with your fork so that the Travis build passes on the next commit? Thanks.
Hi @akinwale branch fixed/rebased. There was a commit that didn't belong to this branch.
Looks good. One more thing, please update your branch with the latest master so that the Travis build passes.
Thanks.
Branch rebased @akinwale
Is there a problem if the build fails?, because I've added a new module and works locally, could be that the issue if it fails again ?
@dan1d Sorry for the late reply. Was off during the past week. There's a file missing in your fork which is causing the builds to fail. I assume you would have to do a fast-forward on your fork to match up with the latest master. See https://help.github.com/articles/syncing-a-fork/
I'll merge your changes into a fixed PR with a successful build.
Merged in https://github.com/lbryio/lbry-android/pull/204.