Remove legacy View-based UI

Keep only Compose UI, removing old View-based Activities, Fragments,
and layouts. QRScanActivity and PerAppProxyActivity are retained as
they are still used by Compose UI.
This commit is contained in:
世界
2025-12-30 18:01:54 +08:00
parent c3478efc3c
commit 71b936ba3a
52 changed files with 12 additions and 5779 deletions

View File

@@ -95,21 +95,6 @@
</activity>
<activity
android:name=".ui.MainActivity"
android:exported="false"
android:icon="@mipmap/ic_launcher"
android:launchMode="singleTask">
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/shortcuts" />
<meta-data
android:name="firebase_crashlytics_collection_enabled"
android:value="false" />
</activity>
<activity
android:name=".compose.ComposeActivity"
android:exported="false"
@@ -122,21 +107,6 @@
android:resource="@xml/shortcuts" />
</activity>
<activity
android:name=".ui.ShortcutActivity"
android:excludeFromRecents="true"
android:exported="true"
android:label="@string/quick_toggle"
android:launchMode="singleTask"
android:taskAffinity=""
android:theme="@style/AppTheme.Translucent">
<intent-filter>
<action android:name="android.intent.action.CREATE_SHORTCUT" />
</intent-filter>
</activity>
<activity
android:name="io.nekohasekai.sfa.ui.profile.NewProfileActivity"
android:exported="false" />
<activity
android:name="io.nekohasekai.sfa.compose.NewProfileComposeActivity"
android:exported="false"
@@ -149,25 +119,9 @@
android:name="io.nekohasekai.sfa.compose.GroupsComposeActivity"
android:exported="false"
android:theme="@style/AppTheme" />
<activity
android:name="io.nekohasekai.sfa.ui.profile.EditProfileActivity"
android:exported="false" />
<activity
android:name="io.nekohasekai.sfa.ui.profile.EditProfileContentActivity"
android:exported="false" />
<activity
android:name="io.nekohasekai.sfa.ui.profileoverride.ProfileOverrideActivity"
android:exported="false" />
<activity
android:name="io.nekohasekai.sfa.ui.profileoverride.PerAppProxyActivity"
android:exported="false" />
<activity
android:name="io.nekohasekai.sfa.ui.debug.DebugActivity"
android:exported="false" />
<activity
android:name="io.nekohasekai.sfa.ui.debug.VPNScanActivity"
android:exported="false" />
<activity
android:name="io.nekohasekai.sfa.ui.profile.QRScanActivity"
android:exported="false" />