Commit Graph

233 Commits

Author SHA1 Message Date
世界
15daef6ad2 Fix NetworkCapabilities field access for API compatibility
- mUnderlyingNetworks: Added in Android 13 (not 12), use findFieldIfExists
  for Android 12 (APEX may upgrade), findField for Android 13+
- mOwnerUid: Added in Android 11, add SDK >= R check
- mTransportInfo: Added in Android 10, add SDK >= Q check

Fixes NullPointerException on devices running Android < 13 where
setUnderlyingNetworks method doesn't exist.
2026-01-11 18:05:41 +08:00
世界
99e087e7c1 Fix ConnectivityService hook with updated APEX modules 2026-01-11 16:35:48 +08:00
世界
5e746241b2 Add fallback for system getInstalledPackages 2026-01-11 10:35:22 +08:00
世界
cd83cbfe9e Add vpn hide xposed module 2026-01-10 21:31:04 +08:00
世界
aa7b996688 Refine tablet UI and QRS layout 2026-01-10 02:07:06 +08:00
世界
a954ec306c Fix platform interface 2026-01-10 02:06:59 +08:00
世界
1daa056e7b Update platform interface usage 2026-01-07 19:43:18 +08:00
世界
4de1d0144e Fix Start FAB showing during Stopping state 2026-01-03 17:04:24 +08:00
世界
7a5c3640c6 Improve QRS scan 2026-01-03 17:04:24 +08:00
世界
aaa3ef044a Refactor QR scan and share and add QRS support 2026-01-03 17:04:24 +08:00
世界
4a2ffcd080 Fix binder transaction overflow in RootPackageManager
Fetch installed packages in chunks of 50 to avoid exceeding the 1MB binder transaction limit on devices with many apps.
2026-01-03 17:04:24 +08:00
世界
6464348e78 Fix situations where Clash mode is too long 2026-01-03 17:04:24 +08:00
世界
cb9ee66251 Move uptime display into stop button 2026-01-03 17:04:24 +08:00
世界
932775a002 Add missing Chinese translations 2025-12-30 19:54:31 +08:00
世界
9dea064353 Refactor string resources: rename and reorganize
- Rename error strings to use error_ prefix consistently
- Rename success strings to use success_ prefix
- Rename failure strings to use failed_ prefix
- Reorganize strings by feature groups with section comments
- Remove unused shortcuts.xml and manifest references
- Update all Kotlin code references
2025-12-30 19:24:10 +08:00
世界
be1f6a2711 Remove unused string resources
Clean up 52 unused string resources from both English and Chinese
translations after removing legacy View-based UI.
2025-12-30 18:55:28 +08:00
世界
778cbc6fb0 Refactor: remove Compose prefix from Activity names
- Rename ComposeActivity to MainActivity
- Rename EditProfileComposeActivity to EditProfileActivity
- Rename NewProfileComposeActivity to NewProfileActivity
- Rename GroupsComposeActivity to GroupsActivity
- Move data models to compose/model package
- Update all references in AndroidManifest.xml and source files
2025-12-30 18:38:51 +08:00
世界
71b936ba3a 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.
2025-12-30 18:01:54 +08:00
世界
c3478efc3c Fix excessive bottom padding 2025-12-30 17:49:23 +08:00
世界
81720c4d6f Fix connections sheet header spacing 2025-12-30 16:58:25 +08:00
世界
c225e8a1ac Fix nested scroll flickering in ConnectionDetailsScreen
Add nestedScroll handling to prevent scroll conflicts with ModalBottomSheet when scrolling past content bounds.
2025-12-30 16:55:36 +08:00
世界
9ad564c868 Add search functionality to connections
- Add performSearch() method to Connection with support for plain text
  and typed search (network:, inbound:, outbound:, rule:, package:, etc.)
- Add search state management in ConnectionsViewModel
- Move filter/sort/search controls to header in ComposeActivity
- Add collapsible search bar with AnimatedVisibility
2025-12-28 18:23:48 +08:00
世界
87be81e673 Add connections management feature
Implement connections panel accessible from status bar showing active
and closed connections with filtering/sorting options, traffic stats,
and the ability to close individual or all connections.
2025-12-28 15:30:20 +08:00
世界
60ce084862 Improve uptime 2025-12-27 14:32:18 +08:00
世界
265902a011 Fix sing-box:// URL scheme import in ComposeActivity
The deep link handling was missing after migrating to Compose UI.
2025-12-27 13:00:49 +08:00
世界
d29b6255b7 Refactor: groups 2025-12-27 12:55:27 +08:00
世界
c053b7ef3a Fix duplicate snackbar when clicking Restart
Dismiss any existing snackbar before showing a new one to prevent
multiple "Restart to take effect" snackbars from queuing up.
2025-12-26 18:25:06 +08:00
世界
b8344b766f Add missing install permissions to other flavor manifest 2025-12-26 16:47:38 +08:00
世界
7a1080d3c4 Migrate Gradle build files to Kotlin DSL 2025-12-26 16:24:57 +08:00
世界
64e44b78e6 Compress native libraries in APK to reduce size 2025-12-26 15:48:21 +08:00
世界
3672bbb251 Fix lint errors 2025-12-25 17:54:55 +08:00
世界
08f51d5469 Add alternative support for QUERY_ALL_PACKAGES in play flavor 2025-12-25 02:32:26 +08:00
世界
104da5d312 Trigger managed mode scan when enabling per-app proxy 2025-12-24 16:50:14 +08:00
世界
b1f0ba2417 Fix dashboard card order after reset 2025-12-24 16:33:19 +08:00
世界
0376ceb9d9 Fix log screen search input and always show toolbar actions
- Fix search TextField cursor issue by immediately updating searchQuery
  in uiState, keeping debounce only for log filtering
- Always show toolbar buttons regardless of log list empty state
2025-12-24 16:29:57 +08:00
世界
456d35d969 Split support for Android API 21 and 23 2025-12-24 16:25:11 +08:00
世界
cf771e1071 Fix log screen crash on API 23 2025-12-22 14:48:03 +08:00
世界
f04b10a366 Fix silent install default method on older Android versions 2025-12-22 14:39:08 +08:00
世界
8631d79cb3 Fix status bar color in Compose theme
Use surface color instead of primary to match TopAppBar
2025-12-22 14:35:24 +08:00
世界
d7be884674 Add DocumentsProvider for working directory
Expose the service's running directory to file managers via Storage
Access Framework, allowing users to browse and manage files directly.
2025-12-19 18:05:07 +08:00
世界
72c7794ba9 Improve update system 2025-12-19 18:05:07 +08:00
世界
2da0674c33 Improve per-app proxy 2025-12-19 18:05:07 +08:00
世界
386a401c00 Disable start button when no profile is selected 2025-12-19 18:05:07 +08:00
世界
6862bef2f8 Add switch toggle to Per-App Proxy setting 2025-12-19 18:05:07 +08:00
世界
edf3491f61 Default update track to beta for pre-release versions and use primary color for update badges 2025-12-19 18:05:07 +08:00
世界
d69a6b38b9 Fix editor toolbar being hidden behind soft keyboard 2025-12-19 18:05:07 +08:00
世界
d76ccd0ed3 Auto-select newly created profiles
Previously, profiles were only auto-selected when no profile was
selected. Now any new profile (created manually or imported) is
immediately selected, improving user experience.
2025-12-19 18:05:07 +08:00
世界
7b39c1dd5a Add battery optimization badge to Service menu item
Show a theme-colored badge on the Service settings when battery
optimization is not ignored. Also shorten button text to "Ignore".
2025-12-19 18:05:07 +08:00
世界
ec6543ccfb Apply consistent button style to profiles card 2025-12-19 18:05:07 +08:00
世界
e2e2c2ca7b Add app settings with update track and auto-check options
- Add AppSettingsScreen with update track selection and auto-check toggle
- Remove checkUpdateAvailable() as all vendors now support update checking
- Add missing Chinese translations for update-related strings
2025-12-16 18:25:10 +08:00