Add reason of why device and control are undefined sometimes.

This commit is contained in:
Gunther Brunner
2014-09-02 18:20:27 +09:00
parent ce604d8211
commit fe7452e9f7
4 changed files with 13 additions and 8 deletions

View File

@@ -12,8 +12,11 @@ module.exports = function ShellCtrl($scope) {
})
}
// TODO: Move this to server side
// TODO: Android 2.x doesn't support openSetting(), account for that on the UI
function openSetting(activity) {
// TODO: CHECK THIS
run('am start -a android.intent.action.MAIN -n com.android.settings/.Settings\\$' +
activity)
}