OShin | O神「自动构建 CI Build」
1.51K subscribers
2 photos
771 files
678 links
OPPO/OneOlus 系统辅助应用

Channel/频道
@OPatchA
Chat/聊天
@OPatchB
Download Telegram
🚀 **OShin New CI Build!**

Feat(launcher): Add custom blur corner radius and reorganize settings

This commit introduces a new feature to customize the blur corner radius in the launcher and reorganizes the launcher settings UI for better clarity.

### Key Changes:

* **Custom Blur Corner Radius:**
* A new hook has been added for .
* This hook intercepts the method call and replaces the radius value with a user-defined value from preferences, which is specified in .
* A corresponding slider has been added to the settings UI, allowing users to adjust the blur corner radius from -1dp (default) to 100dp.

* **Settings Reorganization:**
* The launcher settings have been grouped into logical sections: Desktop settings, Dock settings, and Animation and layout settings.
* New string resources have been added to support these new section titles.

* **Refinement:**
* The slider's range has been adjusted from to to match its default value.
* The logic for reading the preference has been updated to use instead of for consistency.
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/4d1f907281761a4301dcccbd02ffb42c2e7354b6)
🚀 **OShin New CI Build!**

Refactor(launcher): Remove obsolete icon size hook

This commit removes the experimental and non-functional hook for adjusting launcher icon and text size.

The hooker, which attempted to modify the method in the launcher, has been deleted. Correspondingly, the UI slider for this feature has been removed from the launcher settings screen, and the hook is no longer loaded in the main .

The hook has also been moved to be loaded within the main hooker for better organization.
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/32385d6562bf7107be8dbe05dfbbfed5dd778b6d)
🚀 **OShin New CI Build!**

Refactor(SystemUI): Improve field lookup in Wifi status bar hook

This commit refactors the hook for the Wi-Fi status bar indicator to make the field lookup more specific.

The calls to for and have been updated to explicitly use the current view . This ensures that the reflection correctly targets the fields within the specific context, improving the reliability of the hook.
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/cc86b50d9677f15f557ee83bd7fa743d204fe4e3)
🚀 **OShin New CI Build!**

Refactor(SystemUI): Improve status bar clock update mechanism

This commit refactors the high-frequency update logic for the status bar clock to be more efficient and robust.

### Key Changes:

* **Timer and Handler Implementation:** The update mechanism is now managed by a single, static and instance. This prevents the creation of multiple timers and ensures updates are safely posted to the main thread.
* **WeakReference for Clock View:** A is now used to hold the clock . This prevents potential memory leaks by allowing the view to be garbage-collected if it's no longer in use.
* **Direct Text Updates:** Instead of invoking the original method via reflection, the timer now directly calculates the new time string and sets it on the .
* **Conditional Update:** The high-frequency update is only initiated if the user sets an update speed greater than 0.
* **Default Update Speed:** The default value for the clock update speed has been changed from to , making the high-frequency update an opt-in feature.
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/37d99cdffd42173e6c41643ead4b8ed1a7d64938)
1
🚀 **OShin New CI Build!**

Fix(proguard): Update rules to prevent over-obfuscation

This commit updates the ProGuard rules to prevent excessive obfuscation that was causing runtime crashes.

The rules have been expanded to explicitly keep necessary classes and packages, including:
*
*
*

Additionally, the and attributes are now preserved, and the rule has been added to ensure better stability after obfuscation.
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/4e8012718d7afbcac9a36d3647f99935f686ce1e)
🚀 **OShin New CI Build!**

Refactor(models): Enhance declarative UI models and add KDoc

This commit refactors the data models for the declarative UI to improve structure, clarity, and extensibility. It also adds comprehensive KDoc comments to all model classes.

### Key Changes:

* **New Model:**
* A new sealed interface and its implementations (, ) have been created in a dedicated file.
* This provides a robust, declarative way to define visibility rules for UI elements based on the state of other elements.

* **Refactored :**
* is now a sealed interface, serving as the base for all top-level page components like , , and .
* The property has been moved up to the interface, allowing any page-level component to have its visibility controlled conditionally.

* **Improved Model Definitions:**
* All data models (, , , , etc.) have been updated with detailed KDoc documentation explaining their purpose, properties, and relationships.
* The structure of the models has been refined for better logical grouping and consistency.

* **Clarified :**
* The logic, which was previously nested inside , has been extracted into the new file.
* The KDoc for each UI component model (e.g., , , ) now clearly describes its function and properties.
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/c9d8a5f7e21e608d3fc2dc89fb4609609161b731)
🚀 **OShin New CI Build!**

Merge pull request #63 from Liberations/mydev

Force Download Latest Update Package
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/5863fa66bf0895b57fbd0bf83bc60db971d01315)
🚀 **OShin New CI Build!**

Merge pull request #64 from Liberations/mydev

feat(ota):add OTA download URL extraction and clipboard copy
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/c1fb9306c04d4eabc0dfb915dfe40198b2eb01c9)