mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Cleanup code for control-panes.
This commit is contained in:
@@ -15,7 +15,6 @@ 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) {
|
||||
run('am start -a android.intent.action.MAIN -n com.android.settings/.Settings\\$' +
|
||||
activity)
|
||||
@@ -59,11 +58,6 @@ module.exports = function ShellCtrl($scope) {
|
||||
openSetting('DevelopmentSettingsActivity')
|
||||
}
|
||||
|
||||
|
||||
//'am start -n com.android.settings/.Settings\$PowerUsageSummaryActivity'
|
||||
//'am start -a android.intent.action.POWER_USAGE_SUMMARY'
|
||||
|
||||
|
||||
$scope.clear = function () {
|
||||
$scope.command = ''
|
||||
$scope.data = ''
|
||||
|
||||
Reference in New Issue
Block a user