mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 03:53:28 +02:00
Add reason of why device and control are undefined sometimes.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user