From 2c70f80838030291f89b546a5d536f39b28a0f66 Mon Sep 17 00:00:00 2001 From: Mugurell Date: Thu, 3 Feb 2022 11:42:51 +0200 Subject: [PATCH] [fenix] For https://github.com/mozilla-mobile/fenix/issues/22722 - Rename fragment_crash_reporter to view_crash_reporter Rename in a separate patch for git to not merge this to previous changes and in such think that the the old file was deleted and a new one was created. --- .../main/java/org/mozilla/fenix/crashes/CrashContentView.kt | 6 +++--- ...{fragment_crash_reporter.xml => view_crash_reporter.xml} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename app/src/main/res/layout/{fragment_crash_reporter.xml => view_crash_reporter.xml} (100%) diff --git a/app/src/main/java/org/mozilla/fenix/crashes/CrashContentView.kt b/app/src/main/java/org/mozilla/fenix/crashes/CrashContentView.kt index 87a562a146..c22a67d009 100644 --- a/app/src/main/java/org/mozilla/fenix/crashes/CrashContentView.kt +++ b/app/src/main/java/org/mozilla/fenix/crashes/CrashContentView.kt @@ -10,7 +10,7 @@ import android.view.LayoutInflater import androidx.annotation.VisibleForTesting import androidx.constraintlayout.widget.ConstraintLayout import org.mozilla.fenix.R -import org.mozilla.fenix.databinding.FragmentCrashReporterBinding +import org.mozilla.fenix.databinding.ViewCrashReporterBinding import org.mozilla.fenix.ext.increaseTapArea /** @@ -24,7 +24,7 @@ class CrashContentView @JvmOverloads constructor( defStyleAttr: Int = 0 ) : ConstraintLayout(context, attrs, defStyleAttr) { @VisibleForTesting - internal lateinit var binding: FragmentCrashReporterBinding + internal lateinit var binding: ViewCrashReporterBinding @VisibleForTesting val isBindingInitialized get() = ::binding.isInitialized @VisibleForTesting @@ -60,7 +60,7 @@ class CrashContentView @JvmOverloads constructor( @VisibleForTesting internal fun inflate() { - binding = FragmentCrashReporterBinding.inflate(LayoutInflater.from(context), this, true) + binding = ViewCrashReporterBinding.inflate(LayoutInflater.from(context), this, true) } @VisibleForTesting diff --git a/app/src/main/res/layout/fragment_crash_reporter.xml b/app/src/main/res/layout/view_crash_reporter.xml similarity index 100% rename from app/src/main/res/layout/fragment_crash_reporter.xml rename to app/src/main/res/layout/view_crash_reporter.xml