Skip to content

Commit

Permalink
* wake device with motion detection fix (added back missing power opt…
Browse files Browse the repository at this point in the history
…ions)
  • Loading branch information
thanksmister committed Jun 20, 2021
1 parent f79d471 commit 9537950
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion WallPanelApp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ apply plugin: 'com.google.firebase.crashlytics'
def versionMajor = 0
def versionMinor = 9
def versionPatch = 5
def versionBuild = 5 // bump for dog food builds, public betas, etc.
def versionBuild = 6 // bump for dog food builds, public betas, etc.

def CODE() {
Properties properties = new Properties()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1035,6 +1035,7 @@ class WallPanelService : LifecycleService(), MQTTModule.MQTTListener {
override fun onMotionDetected() {
Timber.i("Motion detected")
if (configuration.cameraMotionWake) {
configurePowerOptions()
wakeScreen()
}
publishMotionDetected()
Expand Down

0 comments on commit 9537950

Please sign in to comment.