Repository navigation
feat: add Shevery native Privilege API support and complete Kazakh localization - #1636
Open
HmnDev-Tech wants to merge 4 commits into
Open
HmnDev-Tech wants to merge 4 commits into
HmnDev-Tech wants to merge 4 commits into
Conversation
## Type of change - [ ] Bug fix - [ ] New feature - [x] UI / visual update - [ ] Performance improvement - [x] Refactoring / cleanup - [ ] Translations - [ ] Build / CI tooling
- Integrate Shevery-API client runtime and provider (.shevery) - Declare com.hamondev.shevery.permission.PRIVILEGED_API permission - Add SHEVERY backend to PrivilegedMode and ShellUtils - Add SheveryUtils helper for fast-pull binder acquisition and command execution - Support starting and stopping Shevery server via public automation intents
…and plurals - Replace Russian and English untranslated strings in Kazakh resources with authentic translations - Translate all base application strings to Kazakh (values-kk and values-kk-rKZ) - Translate search keywords string-arrays and plural forms - Ensure format specifiers and XML escaping pass strict translation validation
…d Shizuku API library
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request introduces native support for Shevery via the Shevery Privilege API and provides a complete, high-quality Kazakh (
kkandkk-rKZ) localization across the application.1. Native Shevery Support
moe.shizuku.manager.permission.API_V23permission in favor of its dedicated permissioncom.hamondev.shevery.permission.PRIVILEGED_APIand provider authority${applicationId}.shevery.SheveryProviderto allow low-latency, lock-free privileged binder acquisition and command execution.PrivilegedMode.SHEVERYto selectable backends inPrivilegedMode.kt.ShellUtils.kt(isSheveryEnabled,isAvailable,hasPermission,runCommandBlocking,newProcess).EssentialsApp.ktviaSheveryUtils.initialize().SheveryUtils.toggleShevery(using Shevery public automation intentscom.hamondev.shevery.action.START_SERVERandSTOP_SERVER).WRITE_SECURE_SETTINGSpermission grant support through Shevery inPermissionUIHelperandMainViewModel.com.hamondev.shevery.**.2. Complete Kazakh (
kk/kk-rKZ) Localizationvalues-kk/strings.xmlandvalues-kk-rKZ/strings.xml.string-array name="keywords_*") and plural forms (plurals).scripts/validate_strings.py --strictwith 0 errors.Type of change
Checklist
Before submitting, please make sure:
develop(notmain).SettingsRepositoryfor keys and getter/setter methods.FeatureRegistry.ktfor search indexing.ui/core/.res/values/strings.xmland drawables use rounded variants.