aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/build.gradle4
-rw-r--r--app/src/debug/res/values/strings.xml3
-rw-r--r--app/src/main/AndroidManifest.xml2
-rw-r--r--app/src/main/res/layout/activity_search.xml4
4 files changed, 10 insertions, 3 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 89c6e95d..95131470 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -29,6 +29,10 @@ android {
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
+ debug {
+ applicationIdSuffix '.debug'
+ versionNameSuffix ' (DEBUG)'
+ }
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
diff --git a/app/src/debug/res/values/strings.xml b/app/src/debug/res/values/strings.xml
new file mode 100644
index 00000000..e852a950
--- /dev/null
+++ b/app/src/debug/res/values/strings.xml
@@ -0,0 +1,3 @@
+<resources>
+ <string name="application_name" translatable="false">Infinity (Debug)</string>
+</resources> \ No newline at end of file
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index c5bd8ebf..4b97efb8 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -419,7 +419,7 @@
<provider
android:name="androidx.core.content.FileProvider"
- android:authorities="ml.docilealligator.infinityforreddit.provider"
+ android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
diff --git a/app/src/main/res/layout/activity_search.xml b/app/src/main/res/layout/activity_search.xml
index 3e68d158..f6269887 100644
--- a/app/src/main/res/layout/activity_search.xml
+++ b/app/src/main/res/layout/activity_search.xml
@@ -5,7 +5,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/coordinator_layout_search_activity"
- tools:application=".SearchActivity">
+ tools:application="ml.docilealligator.infinityforreddit.activities.SearchActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_search_activity"
@@ -119,7 +119,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
- app:layoutManager=".customviews.LinearLayoutManagerBugFixed" />
+ app:layoutManager="ml.docilealligator.infinityforreddit.customviews.LinearLayoutManagerBugFixed" />
</LinearLayout>