Skip to content

fix(lorie): rename resources to avoid host collisions#1061

Merged
twaik merged 3 commits into
masterfrom
fix/lorie-resource-collisions
Jul 24, 2026
Merged

fix(lorie): rename resources to avoid host collisions#1061
twaik merged 3 commits into
masterfrom
fix/lorie-resource-collisions

Conversation

@twaik

@twaik twaik commented Jul 24, 2026

Copy link
Copy Markdown
Member

No description provided.

twaik added 3 commits July 24, 2026 16:35
…ions

Same-named mipmap/string/style resources (ic_launcher*, app_name, AppTheme)
let the host app's version silently win when :lorie is embedded as a
library, producing the wrong launcher icon, label and theme.
…ions

view_terminal_toolbar_extra_keys.xml, view_terminal_toolbar_text_input.xml
and ic_settings.xml collide with same-named termux-app resources; the
host's layout won and crashed X11ToolbarViewPager with a ClassCastException
(and would NPE on the text-input tab too).
LoriePreferences and TouchInputHandler resolve lorie_pref_*/lorie_notification_*
strings via Resources.getIdentifier(), which the shrinker can't see statically,
so shrinkResources was stripping them and preference/notification labels went blank.
@twaik
twaik merged commit 9444393 into master Jul 24, 2026
1 check passed
@twaik
twaik deleted the fix/lorie-resource-collisions branch July 24, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant