Skip to content

Commit

Permalink
android: handle download complete broadcast events (#1367)
Browse files Browse the repository at this point in the history
  • Loading branch information
pazos committed May 8, 2021
1 parent 197f283 commit 80bcdf5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ffi/input_android.lua
Expand Up @@ -216,6 +216,8 @@ function input.waitForEvent(sec, usec)
commandHandler(C.AEVENT_POWER_CONNECTED, 0)
elseif message[0] == C.AEVENT_POWER_DISCONNECTED then
commandHandler(C.AEVENT_POWER_DISCONNECTED, 0)
elseif message[0] == C.AEVENT_DOWNLOAD_COMPLETE then
commandHandler(C.AEVENT_DOWNLOAD_COMPLETE, 0)
end
end
end
Expand Down

0 comments on commit 80bcdf5

Please sign in to comment.