mod: resume framework in kpdf.sh

This commit is contained in:
Qingping Hou
2012-04-07 10:05:27 +08:00
parent 99f3d405b0
commit 9d11916bbd
3 changed files with 2 additions and 2 deletions

View File

@@ -14,4 +14,5 @@ killall slider_watcher
./slider_watcher $SLIDER_EVENT_PIPE &
./reader.lua $1 2> /mnt/us/kindlepdfviewer/crash.log
killall -cont cvm
echo 1 > /proc/eink_fb/update_display

View File

@@ -173,6 +173,6 @@ fb:setOrientation(Screen.native_rotation_mode)
input.closeAll()
if optarg["d"] ~= "emu" then
os.execute("killall -cont cvm")
--os.execute("killall -cont cvm")
os.execute('echo "send '..KEY_MENU..'" > /proc/keypad;echo "send '..KEY_MENU..'" > /proc/keypad')
end

View File

@@ -1219,7 +1219,6 @@ function UniReader:addAllCommands()
Screen.kpv_rotation_mode = Screen.cur_rotation_mode
fb:setOrientation(Screen.native_rotation_mode)
os.execute("killall -cont cvm")
print("resumed")
end)
self.commands:add(KEY_OUTOF_SCREEN_SAVER,nil,"slider",
"toggle screen saver",