# HG changeset patch # User David Barts # Date 1612889897 28800 # Node ID b6a217c850fba87cc0d6776db15ee9c92feff47d # Parent 21d2df45d35053942abdcf7b282e4ec32f7418ee Remove debug logs. diff -r 21d2df45d350 -r b6a217c850fb app/src/main/java/com/bartsent/simpleresizer/EditImage.kt --- 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 diff -r 21d2df45d350 -r b6a217c850fb app/src/main/java/com/bartsent/simpleresizer/MainActivity.kt --- 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)