changeset 4:b6a217c850fb

Remove debug logs.
author David Barts <n5jrn@me.com>
date Tue, 09 Feb 2021 08:58:17 -0800
parents 21d2df45d350
children 247e03baf77c
files app/src/main/java/com/bartsent/simpleresizer/EditImage.kt app/src/main/java/com/bartsent/simpleresizer/MainActivity.kt
diffstat 2 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/app/src/main/java/com/bartsent/simpleresizer/EditImage.kt	Tue Feb 09 08:56:00 2021 -0800
+++ b/app/src/main/java/com/bartsent/simpleresizer/EditImage.kt	Tue Feb 09 08:58:17 2021 -0800
@@ -10,7 +10,6 @@
 import android.os.Environment
 import android.provider.MediaStore
 import android.provider.OpenableColumns
-import android.util.Log
 import android.view.MenuItem
 import android.view.View
 import android.widget.EditText
@@ -37,7 +36,6 @@
         super.onCreate(savedInstanceState)
         binding = ActivityEditImageBinding.inflate(layoutInflater)
         setContentView(binding.root)
-        Log.d("EditImage", "onCreate called")
     }
 
     // Cribbed from: https://stackoverflow.com/questions/5568874/how-to-extract-the-file-name-from-uri-returned-from-intent-action-get-content
@@ -71,7 +69,6 @@
 
     override fun onResume() {
         super.onResume()
-        Log.d("EditImage", "onResume called")
 
         // Read the URI, die if we can't.
         val imageUri = intent?.data
--- a/app/src/main/java/com/bartsent/simpleresizer/MainActivity.kt	Tue Feb 09 08:56:00 2021 -0800
+++ b/app/src/main/java/com/bartsent/simpleresizer/MainActivity.kt	Tue Feb 09 08:58:17 2021 -0800
@@ -3,7 +3,6 @@
 import android.app.Activity
 import android.content.Intent
 import android.os.Bundle
-import android.util.Log
 import android.widget.Toast
 import androidx.appcompat.app.AppCompatActivity
 import com.bartsent.simpleresizer.databinding.ActivityMainBinding
@@ -35,10 +34,8 @@
     override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
         showChooser = false
         super.onActivityResult(requestCode, resultCode, data)
-        Log.d("MainActivity", "onActivityResult called, requestCode=$requestCode, resultCode=$resultCode")
         if (requestCode == GET_IMAGE) {
             val imageUri = data?.data
-            Log.d("MainActivity", "imageUri=${imageUri ?: "(null)"}")
             if (resultCode == Activity.RESULT_OK && imageUri != null) {
                 Intent(Intent.ACTION_SEND, imageUri, this, EditImage::class.java).run {
                     startActivity(this)