Skip to content

Commit

Permalink
Don't copy any resources
Browse files Browse the repository at this point in the history
  • Loading branch information
robertapengelly committed Mar 8, 2023
1 parent 0edf54b commit 18a391a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 21 deletions.
17 changes: 0 additions & 17 deletions .idea/deploymentTargetDropDown.xml

This file was deleted.

8 changes: 4 additions & 4 deletions app/src/main/java/com/cod5/pdos_pdandro/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ class MainActivity : AppCompatActivity(), OnClickListener {
}, 1000, 1000)
}

private fun isEqual(is1: InputStream, is2: InputStream) : Boolean {
/*private fun isEqual(is1: InputStream, is2: InputStream) : Boolean {
is1.use { src ->
is2.use { dest ->
var ch : Int
Expand All @@ -734,14 +734,14 @@ class MainActivity : AppCompatActivity(), OnClickListener {
}
}
return true;
}
}*/

/* copy files and run native executable */
fun init_app(dir: File) {
val s = applicationContext.applicationInfo.nativeLibraryDir
val c = "$s/libpdos.so"

try {
/*try {
val file = File(dir, "pdos.exe")
if (file.exists()) {
Expand Down Expand Up @@ -825,7 +825,7 @@ class MainActivity : AppCompatActivity(), OnClickListener {
}
} catch (e: Exception) {
//
}
}*/

if (dir.canWrite()) {
c.runCommand(dir)
Expand Down

0 comments on commit 18a391a

Please sign in to comment.