Keep track of background tasks

Also merge wake lock and wifi lock into one, and make it exposed to
termux-wake-lock and termux-wake-unlock commands.
This commit is contained in:
Fredrik Fornwall
2016-12-04 04:37:13 +01:00
parent 9fe0e49473
commit 9c19540759
3 changed files with 55 additions and 40 deletions

View File

@@ -50,8 +50,8 @@
<string name="styling_install">Install</string>
<string name="notification_action_exit">Exit</string>
<string name="notification_action_wakelock">Wake</string>
<string name="notification_action_wifilock">Wifi</string>
<string name="notification_action_wake_lock">Acquire wakelock</string>
<string name="notification_action_wake_unlock">Release wakelock</string>
<string name="file_received_title">Save file in ~/downloads/</string>
<string name="file_received_edit_button">Edit</string>