mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
bump android-luajit-launcher (#12734)
Includes: https://github.com/koreader/android-luajit-launcher/pull/526 https://github.com/koreader/android-luajit-launcher/pull/527 https://github.com/koreader/android-luajit-launcher/pull/528 https://github.com/koreader/android-luajit-launcher/pull/529
This commit is contained in:
@@ -138,12 +138,6 @@ function Device:init()
|
||||
|
||||
local event_map = dofile("frontend/device/android/event_map.lua")
|
||||
|
||||
if android.prop.is_tolino then
|
||||
-- dpad left/right as page back/forward
|
||||
event_map[21] = "LPgBack"
|
||||
event_map[22] = "LPgFwd"
|
||||
end
|
||||
|
||||
self.input = require("device/input"):new{
|
||||
device = self,
|
||||
event_map = event_map,
|
||||
@@ -354,12 +348,7 @@ function Device:retrieveNetworkInfo()
|
||||
return _("Connected to mobile data network")
|
||||
elseif type == C.ANETWORK_ETHERNET then
|
||||
return _("Connected to Ethernet")
|
||||
elseif type == C.ANETWORK_BLUETOOTH then
|
||||
return _("Connected to Bluetooth")
|
||||
elseif type == C.ANETWORK_VPN then
|
||||
return _("Connected to VPN")
|
||||
end
|
||||
return _("Unknown connection")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Submodule platform/android/luajit-launcher updated: 4af40b5127...72f13d5c0a
Reference in New Issue
Block a user