diff options
author | Sergei Kozelko <KozelkoS@yandex.ru> | 2022-09-25 08:15:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-25 08:15:38 +0000 |
commit | 4947bc1be5ae386f62e9d5018c54fd763c9805c5 (patch) | |
tree | 2633bbdddeb10f38d92819fefb8db64702460f6d /app/src/main/res/layout/activity_customize_theme.xml | |
parent | fad978432e2f8c3a676d137d9683bf1f470da1f0 (diff) | |
download | infinity-for-reddit-4947bc1be5ae386f62e9d5018c54fd763c9805c5.tar infinity-for-reddit-4947bc1be5ae386f62e9d5018c54fd763c9805c5.tar.gz infinity-for-reddit-4947bc1be5ae386f62e9d5018c54fd763c9805c5.tar.bz2 infinity-for-reddit-4947bc1be5ae386f62e9d5018c54fd763c9805c5.tar.lz infinity-for-reddit-4947bc1be5ae386f62e9d5018c54fd763c9805c5.tar.xz infinity-for-reddit-4947bc1be5ae386f62e9d5018c54fd763c9805c5.tar.zst infinity-for-reddit-4947bc1be5ae386f62e9d5018c54fd763c9805c5.zip |
Fix crash in debug build by using fully qualified class name for layoutmanager (#1130)
When the class name is relative, Android tries to resolve it against applicationId.
However it does not match the package because of `.debug` suffix so it tries
to load the wrong class. This results in ClassNotFoundException and a crash.
Using fully qualified class name fixes it as the system can use the class name
as is.
Diffstat (limited to 'app/src/main/res/layout/activity_customize_theme.xml')
-rw-r--r-- | app/src/main/res/layout/activity_customize_theme.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/res/layout/activity_customize_theme.xml b/app/src/main/res/layout/activity_customize_theme.xml index bd67a775..275131c1 100644 --- a/app/src/main/res/layout/activity_customize_theme.xml +++ b/app/src/main/res/layout/activity_customize_theme.xml @@ -38,7 +38,7 @@ android:id="@+id/recycler_view_customize_theme_activity" android:layout_width="match_parent" android:layout_height="match_parent" - app:layoutManager=".customviews.LinearLayoutManagerBugFixed" + app:layoutManager="ml.docilealligator.infinityforreddit.customviews.LinearLayoutManagerBugFixed" app:layout_behavior="@string/appbar_scrolling_view_behavior" /> </androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file |