Cleanup code for control-panes.

This commit is contained in:
Gunther Brunner
2015-08-31 17:04:46 +09:00
parent bd493b210b
commit 4db67dd703
26 changed files with 4 additions and 356 deletions

View File

@@ -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 = ''