fix(ft8): restore Look4Sat Pro label/icon, add AppCompat theme

User reported the app installed as "FT8CN" with the FT8CN icon and
FT8 not opening. Root causes (verified by aapt badging on the release
APK):
1. module values/strings.xml carried <string name="app_name">FT8CN
   which won the resource merge -> application-label became FT8CN.
   Removed it; dialogs that referenced R.string.app_name now use a
   module-local ft8cn_app_name (HelpDialog/ClearCacheDataDialog).
2. module shipped its own mipmap ic_launcher* (8 files) which
   overrode our launcher icon -> deleted all of them.
3. MainActivity extends AppCompatActivity but the module's
   <application> lost android:theme when the conflicting attributes
   were stripped -> startup crash. Re-added android:theme=Theme.Ft8CN
   (MaterialComponents) on the module application element.
Verified: processReleaseManifest/Resources + ft8 javac + app kotlin
BUILD SUCCESSFUL. Plan: .hermes/plans/2026-08-05_150000-v455-fix-plan.md
This commit is contained in:
mckero committed 2026-08-05 06:52:13 +00:00
1 parent 84d11f289f
commit bf4cd5c07c
16 files changed
+4 -14

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application>
<application android:theme="@style/Theme.Ft8CN">
<activity
android:name=".grid_tracker.GridTrackerMainActivity"
android:screenOrientation="sensorLandscape"
@@ -90,7 +90,7 @@ public class ClearCacheDataDialog extends Dialog {
scrollView = (ScrollView) findViewById(R.id.helpScrollView);
upImageView.setVisibility(View.INVISIBLE);
downImageView.setVisibility(View.INVISIBLE);
appNameTextView.setText(GeneralVariables.getStringFromResource(R.string.app_name));
appNameTextView.setText(GeneralVariables.getStringFromResource(R.string.ft8cn_app_name));
buildVersionTextView.setText(BuildConfig.VERSION_NAME);
Button cancelButton=(Button) findViewById(R.id.cancelClearButton);
@@ -89,7 +89,7 @@ public class HelpDialog extends Dialog {
scrollView = (ScrollView) findViewById(R.id.helpScrollView);
upImageView.setVisibility(View.INVISIBLE);
downImageView.setVisibility(View.INVISIBLE);
appNameTextView.setText(GeneralVariables.getStringFromResource(R.string.app_name));
appNameTextView.setText(GeneralVariables.getStringFromResource(R.string.ft8cn_app_name));
buildVersionTextView.setText(BuildConfig.VERSION_NAME);
scrollView.setOnScrollChangeListener(new View.OnScrollChangeListener() {
@@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>
@@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 982 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

+1 -1
View File
@@ -1,5 +1,5 @@
<resources>
<string name="app_name">FT8CN</string>
<string name="ft8cn_app_name">FT8CN</string>
<string name="nav_menu_title_call_list">Content</string>
<string name="nav_menu_title_decode_list">Decode</string>
<string name="nav_menu_title_my_calling">Calling</string>