Skip to content

Commit

Permalink
Remove the need for busybox
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Leivenzon authored and Josh Leivenzon committed Nov 30, 2017
1 parent d0f11fd commit 8f1efdf
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 2 deletions.
59 changes: 59 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.idea/

*.iml
.gradle
/local.properties
Expand All @@ -8,3 +10,60 @@
/build
/captures
.externalNativeBuild

# Built application files
*.apk
*.ap_

# Files for the ART/Dalvik VM
*.dex

# Java class files
*.class

# Generated files
bin/
gen/
out/

# Gradle files
.gradle/
build/

# Local configuration file (sdk path, etc)
local.properties

# Proguard folder generated by Eclipse
proguard/

# Log Files
*.log

# Android Studio Navigation editor temp files
.navigation/

# Android Studio captures folder
captures/

# Intellij
*.iml
.idea/workspace.xml
.idea/tasks.xml
.idea/gradle.xml
.idea/dictionaries
.idea/libraries

# Keystore files
*.jks

# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild

# Google Services (e.g. APIs or Firebase)
google-services.json

# Freeline
freeline.py
freeline/
freeline_project_description.json

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/src/main/java/tk/superl2/ctroller/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class MainActivity : AppCompatActivity(), View.OnClickListener {
Start().execute(applicationInfo.nativeLibraryDir)
findViewById<Button>(R.id.start_button).text = "STOP CTROLLER"
} else if (findViewById<Button>(R.id.start_button).text == "STOP CTROLLER") {
Shell.SU.run("killall ctroller.so")
Shell.SU.run("echo \$(ps | grep lib_ctroller_.so) | cut -d' ' -f2 | xargs kill")
findViewById<Button>(R.id.start_button).text = "START CTROLLER"
}
}
Expand Down

0 comments on commit 8f1efdf

Please sign in to comment.