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/fragment_translation.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 '')
-rw-r--r-- | app/src/main/res/layout/fragment_translation.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/res/layout/fragment_translation.xml b/app/src/main/res/layout/fragment_translation.xml index a0cb2ea7..99e3580a 100644 --- a/app/src/main/res/layout/fragment_translation.xml +++ b/app/src/main/res/layout/fragment_translation.xml @@ -5,5 +5,5 @@ android:layout_height="match_parent" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/recycler_view_translation_fragment" - app:layoutManager=".customviews.LinearLayoutManagerBugFixed" + app:layoutManager="ml.docilealligator.infinityforreddit.customviews.LinearLayoutManagerBugFixed" tools:context=".settings.TranslationFragment" />
\ No newline at end of file |