|
|
@ -21,11 +21,11 @@ local Device = Generic:new{
|
|
|
|
hasDPad = no,
|
|
|
|
hasDPad = no,
|
|
|
|
isAndroid = yes,
|
|
|
|
isAndroid = yes,
|
|
|
|
hasEinkScreen = function() return android.isEink() end,
|
|
|
|
hasEinkScreen = function() return android.isEink() end,
|
|
|
|
|
|
|
|
hasColorScreen = function() return not android.isEink() end,
|
|
|
|
hasFrontlight = yes,
|
|
|
|
hasFrontlight = yes,
|
|
|
|
firmware_rev = android.app.activity.sdkVersion,
|
|
|
|
firmware_rev = android.app.activity.sdkVersion,
|
|
|
|
display_dpi = android.lib.AConfiguration_getDensity(android.app.config),
|
|
|
|
display_dpi = android.lib.AConfiguration_getDensity(android.app.config),
|
|
|
|
hasClipboard = yes,
|
|
|
|
hasClipboard = yes,
|
|
|
|
hasColorScreen = yes,
|
|
|
|
|
|
|
|
hasOTAUpdates = canUpdateApk,
|
|
|
|
hasOTAUpdates = canUpdateApk,
|
|
|
|
--[[
|
|
|
|
--[[
|
|
|
|
Disable jit on some modules on android to make koreader on Android more stable.
|
|
|
|
Disable jit on some modules on android to make koreader on Android more stable.
|
|
|
|