🚀 OShin New CI Build!
Refactor: Update dependencies and replace G2RoundedCornerShape with ContinuousRoundedRectangle
This commit updates several dependencies and replaces the usage of with from the library.
Key Changes:
- Dependency Updates ():
- : ->
- : -> (removed from diff, likely same or handled elsewhere)
- : ->
- : ->
- : ->
- : ->
- Shape Replacement:
- In , , , and , all instances of have been replaced with . This affects the styling of various UI elements like dialogs, image previews, and TopAppBar.
- Icon Update ():
- The app icon's color scheme has been changed from a purple/magenta theme to a warm orange/yellow sunrise theme.
- Comments in the XML have been updated to reflect the new color descriptions.
- Update:
- Added and to the file.
🔗 查看本次提交
Refactor: Update dependencies and replace G2RoundedCornerShape with ContinuousRoundedRectangle
This commit updates several dependencies and replaces the usage of with from the library.
Key Changes:
- Dependency Updates ():
- : ->
- : -> (removed from diff, likely same or handled elsewhere)
- : ->
- : ->
- : ->
- : ->
- Shape Replacement:
- In , , , and , all instances of have been replaced with . This affects the styling of various UI elements like dialogs, image previews, and TopAppBar.
- Icon Update ():
- The app icon's color scheme has been changed from a purple/magenta theme to a warm orange/yellow sunrise theme.
- Comments in the XML have been updated to reflect the new color descriptions.
- Update:
- Added and to the file.
🔗 查看本次提交
GitHub
Refactor: Update dependencies and replace G2RoundedCornerShape with C… · suqi8/OShin@6f8a023
…ontinuousRoundedRectangle
This commit updates several dependencies and replaces the usage of `G2RoundedCornerShape` with `ContinuousRoundedRectangle` from the `com.kyant.capsule` library.
**Key ...
This commit updates several dependencies and replaces the usage of `G2RoundedCornerShape` with `ContinuousRoundedRectangle` from the `com.kyant.capsule` library.
**Key ...
🚀 OShin New CI Build!
feat: Integrate Hilt for dependency injection
This commit introduces Hilt for dependency injection into the application.
Key Changes:
- Gradle Configuration:
- Added plugin to the root and .
- Added Hilt dependencies (, ) to and .
- Application Class:
- Annotated with to enable Hilt in the application.
- Activity Integration:
- Annotated with to enable Hilt injection in the activity.
- DI Module for Preferences:
- Created in to provide .
- This module uses and to make available as a singleton throughout the application.
- uses to get the application context for initializing .
🔗 查看本次提交
feat: Integrate Hilt for dependency injection
This commit introduces Hilt for dependency injection into the application.
Key Changes:
- Gradle Configuration:
- Added plugin to the root and .
- Added Hilt dependencies (, ) to and .
- Application Class:
- Annotated with to enable Hilt in the application.
- Activity Integration:
- Annotated with to enable Hilt injection in the activity.
- DI Module for Preferences:
- Created in to provide .
- This module uses and to make available as a singleton throughout the application.
- uses to get the application context for initializing .
🔗 查看本次提交
GitHub
feat: Integrate Hilt for dependency injection · suqi8/OShin@8c113f9
This commit introduces Hilt for dependency injection into the application.
**Key Changes:**
- **Gradle Configuration:**
- Added `com.google.dagger.hilt.android` plugin to the root `build.grad...
**Key Changes:**
- **Gradle Configuration:**
- Added `com.google.dagger.hilt.android` plugin to the root `build.grad...
🚀 OShin New CI Build!
Refactor(UI): Modularize main screen and navigation logic
This commit refactors the main UI structure by separating concerns into more modular components.
Key Changes:
- (New):
- Introduced a new composable to manage the application's navigation graph using .
- Handles all navigation routes previously defined in .
- Incorporates the logic.
- Includes the privacy dialog logic and UMeng analytics initialization based on privacy settings.
- Defines custom enter/exit/popEnter/popExit transitions for navigation.
- (New):
- Created composable to encapsulate the layout, including the and the bottom navigation bar ().
- Manages the for horizontal swiping between main sections.
- Implements logic to show/hide the bottom navigation bar based on scroll state and page changes.
- Utilizes for styling the .
- Defines composable to host the content of each main tab.
- (New):
- Extracted the composable and its related into a separate file.
- The dialog prompts users (primarily Chinese language users) to verify by inputting a GitHub URL for the module, checking against specific repository paths.
- Verification status is stored in SharedPreferences to avoid showing the dialog repeatedly for the same app version.
- :
- Significantly simplified.
- The composable (which previously contained the and main screen logic) has been removed.
- now directly calls within the and .
- UMeng pre-initialization is removed as full initialization is now handled in based on privacy consent.
- :
- In the modifier, and are added around the drawing operations. This ensures that the canvas state (like transformations or clips applied for the shadow) doesn't leak and affect subsequent drawing operations. This is a common fix for unexpected drawing behavior when manually drawing shadows or complex effects on a Canvas.
- Relocation:
- The definition was moved from to and imported where needed (, ). This improves modularity by keeping the definition closer to its primary usage area.
- Minor Cleanups:
- Removed unused imports (e.g., in ).
- Standardized some imports.
This refactoring aims to improve code organization, readability, and maintainability by separating navigation, main screen layout, and specific dialog logic into distinct, manageable units.
🔗 查看本次提交
Refactor(UI): Modularize main screen and navigation logic
This commit refactors the main UI structure by separating concerns into more modular components.
Key Changes:
- (New):
- Introduced a new composable to manage the application's navigation graph using .
- Handles all navigation routes previously defined in .
- Incorporates the logic.
- Includes the privacy dialog logic and UMeng analytics initialization based on privacy settings.
- Defines custom enter/exit/popEnter/popExit transitions for navigation.
- (New):
- Created composable to encapsulate the layout, including the and the bottom navigation bar ().
- Manages the for horizontal swiping between main sections.
- Implements logic to show/hide the bottom navigation bar based on scroll state and page changes.
- Utilizes for styling the .
- Defines composable to host the content of each main tab.
- (New):
- Extracted the composable and its related into a separate file.
- The dialog prompts users (primarily Chinese language users) to verify by inputting a GitHub URL for the module, checking against specific repository paths.
- Verification status is stored in SharedPreferences to avoid showing the dialog repeatedly for the same app version.
- :
- Significantly simplified.
- The composable (which previously contained the and main screen logic) has been removed.
- now directly calls within the and .
- UMeng pre-initialization is removed as full initialization is now handled in based on privacy consent.
- :
- In the modifier, and are added around the drawing operations. This ensures that the canvas state (like transformations or clips applied for the shadow) doesn't leak and affect subsequent drawing operations. This is a common fix for unexpected drawing behavior when manually drawing shadows or complex effects on a Canvas.
- Relocation:
- The definition was moved from to and imported where needed (, ). This improves modularity by keeping the definition closer to its primary usage area.
- Minor Cleanups:
- Removed unused imports (e.g., in ).
- Standardized some imports.
This refactoring aims to improve code organization, readability, and maintainability by separating navigation, main screen layout, and specific dialog logic into distinct, manageable units.
🔗 查看本次提交
GitHub
Refactor(UI): Modularize main screen and navigation logic · suqi8/OShin@4e27df1
This commit refactors the main UI structure by separating concerns into more modular components.
**Key Changes:**
- **`AppNavHost.kt` (New):**
- Introduced a new composable `AppNavHost` to ma...
**Key Changes:**
- **`AppNavHost.kt` (New):**
- Introduced a new composable `AppNavHost` to ma...
❤4
🚀 OShin New CI Build!
feat(Settings): Bypass duplicate fingerprint error and remove feature hooks
This commit introduces a bypass for the duplicate fingerprint error during enrollment and removes the extensive, now-obsolete feature flag hooking mechanism for .
Key Changes:
- Bypass Duplicate Fingerprint Error ():
- A new hook is added for .
- It targets the method.
- When a duplicate fingerprint is detected (help code ), the hook intercepts the error, prevents the original error-handling logic, and instead programmatically calls via the activity's . This forces the enrollment to complete successfully, allowing the same fingerprint to be registered multiple times.
- Removal of Feature Flag Hooks:
- The entire hook file () has been deleted. This file contained a very large number of individual hooks for and to forcibly enable or disable specific OS features.
- The corresponding UI file () that provided switches for these hooks has also been deleted.
- The navigation entry and search index entries for this feature page have been removed from and , respectively, completing the feature's removal.
- An entry point to this feature page in has been removed.
This refactoring streamlines the module by removing a complex and potentially unstable set of hooks, while adding a targeted fix for a common user request regarding fingerprint enrollment.
🔗 查看本次提交
feat(Settings): Bypass duplicate fingerprint error and remove feature hooks
This commit introduces a bypass for the duplicate fingerprint error during enrollment and removes the extensive, now-obsolete feature flag hooking mechanism for .
Key Changes:
- Bypass Duplicate Fingerprint Error ():
- A new hook is added for .
- It targets the method.
- When a duplicate fingerprint is detected (help code ), the hook intercepts the error, prevents the original error-handling logic, and instead programmatically calls via the activity's . This forces the enrollment to complete successfully, allowing the same fingerprint to be registered multiple times.
- Removal of Feature Flag Hooks:
- The entire hook file () has been deleted. This file contained a very large number of individual hooks for and to forcibly enable or disable specific OS features.
- The corresponding UI file () that provided switches for these hooks has also been deleted.
- The navigation entry and search index entries for this feature page have been removed from and , respectively, completing the feature's removal.
- An entry point to this feature page in has been removed.
This refactoring streamlines the module by removing a complex and potentially unstable set of hooks, while adding a targeted fix for a common user request regarding fingerprint enrollment.
🔗 查看本次提交
GitHub
feat(Settings): Bypass duplicate fingerprint error and remove feature… · suqi8/OShin@952f343
… hooks
This commit introduces a bypass for the duplicate fingerprint error during enrollment and removes the extensive, now-obsolete feature flag hooking mechanism for `com.android.settings`.
**...
This commit introduces a bypass for the duplicate fingerprint error during enrollment and removes the extensive, now-obsolete feature flag hooking mechanism for `com.android.settings`.
**...
❤1
🚀 OShin New CI Build!
feat(UI): Remove HUD background from Home and Module screens
This commit removes the animated HUD style background effect from the Home and Module screens.
Key Changes:
- :
- The composable, which rendered a grid and a scanning line animation, has been deleted.
- The call to has been removed from the composable.
- :
- The call to has been removed from the composable.
This change simplifies the UI by removing a purely cosmetic animated element from the background of the main screens.
🔗 查看本次提交
feat(UI): Remove HUD background from Home and Module screens
This commit removes the animated HUD style background effect from the Home and Module screens.
Key Changes:
- :
- The composable, which rendered a grid and a scanning line animation, has been deleted.
- The call to has been removed from the composable.
- :
- The call to has been removed from the composable.
This change simplifies the UI by removing a purely cosmetic animated element from the background of the main screens.
🔗 查看本次提交
GitHub
feat(UI): Remove HUD background from Home and Module screens · suqi8/OShin@5fb4a8c
This commit removes the animated "HUD" style background effect from the Home and Module screens.
**Key Changes:**
- **`Main_Home.kt`:**
- The `HUDBackground` composable, whi...
**Key Changes:**
- **`Main_Home.kt`:**
- The `HUDBackground` composable, whi...
🚀 OShin New CI Build!
feat: Replace LiquidGlass with new Backdrop library and refactor UI
This commit completely replaces the library with a new, more modular library for creating glassmorphism and other complex UI effects. The main screen UI and several components have been refactored to use this new library.
### Key Changes:
#### 1. Library Replacement: ->
- Removed : All files related to the library have been deleted. This includes modifiers, providers, states, samplers, and effect definitions for refraction, highlight, and shadow.
- Added : A new, comprehensive library has been introduced. This library provides a more powerful and flexible API for building layered UI effects.
- Core Concepts:
- : A unified interface for defining background content.
- : A new modifier that applies a , along with various effects like , , , and (blur, lens, color controls).
- : A specific implementation that captures and displays content from a .
- Effects: A rich set of composable effects are now available under , including , (refraction), and various adjustments.
- Shaders: New AGSL shaders () have been added to power the new effects, such as and .
- Shadows & Highlights: New implementations for , , and are provided with a more robust and flexible modifier-based application.
#### 2. Main Screen Refactoring ()
- Haze Integration: Replaced on the with the from the library for a blurred background effect.
- Bottom Navigation Rework ():
- The custom composable has been completely rewritten to use the new library.
- Removed implementation and replaced it with to create the glass effect.
- Introduced and to create a more fluid, physics-based animation for the tab indicator, including interactive highlighting and gesture handling.
- The bottom bar is now composed of multiple layers using to achieve complex effects like shadows, highlights, and lens refraction on the active tab indicator.
#### 3. Component Refactoring
- (New):
- A new reusable button component that uses the library to create a glass-like appearance.
- It's now used for the back and refresh buttons in and , replacing the previous implementation.
- :
- The confirmation dialog has been completely redesigned.
- It no longer uses or .
- It's now a custom dialog composable that uses to create a blurred, glass-like modal background, applying effects like , , and .
#### 4. Build Configuration
- :
- Enabled Kotlin's context parameters () which are required by the new library's API design.
🔗 查看本次提交
feat: Replace LiquidGlass with new Backdrop library and refactor UI
This commit completely replaces the library with a new, more modular library for creating glassmorphism and other complex UI effects. The main screen UI and several components have been refactored to use this new library.
### Key Changes:
#### 1. Library Replacement: ->
- Removed : All files related to the library have been deleted. This includes modifiers, providers, states, samplers, and effect definitions for refraction, highlight, and shadow.
- Added : A new, comprehensive library has been introduced. This library provides a more powerful and flexible API for building layered UI effects.
- Core Concepts:
- : A unified interface for defining background content.
- : A new modifier that applies a , along with various effects like , , , and (blur, lens, color controls).
- : A specific implementation that captures and displays content from a .
- Effects: A rich set of composable effects are now available under , including , (refraction), and various adjustments.
- Shaders: New AGSL shaders () have been added to power the new effects, such as and .
- Shadows & Highlights: New implementations for , , and are provided with a more robust and flexible modifier-based application.
#### 2. Main Screen Refactoring ()
- Haze Integration: Replaced on the with the from the library for a blurred background effect.
- Bottom Navigation Rework ():
- The custom composable has been completely rewritten to use the new library.
- Removed implementation and replaced it with to create the glass effect.
- Introduced and to create a more fluid, physics-based animation for the tab indicator, including interactive highlighting and gesture handling.
- The bottom bar is now composed of multiple layers using to achieve complex effects like shadows, highlights, and lens refraction on the active tab indicator.
#### 3. Component Refactoring
- (New):
- A new reusable button component that uses the library to create a glass-like appearance.
- It's now used for the back and refresh buttons in and , replacing the previous implementation.
- :
- The confirmation dialog has been completely redesigned.
- It no longer uses or .
- It's now a custom dialog composable that uses to create a blurred, glass-like modal background, applying effects like , , and .
#### 4. Build Configuration
- :
- Enabled Kotlin's context parameters () which are required by the new library's API design.
🔗 查看本次提交
GitHub
feat: Replace LiquidGlass with new Backdrop library and refactor UI · suqi8/OShin@4763be0
This commit completely replaces the `com.kyant.liquidglass` library with a new, more modular `com.kyant.backdrop` library for creating glassmorphism and other complex UI effects. The main screen UI...
🚀 OShin New CI Build!
feat(UI): Implement configurable haze effect on FunPage TopAppBar
This commit introduces a configurable glassmorphism/blur effect (haze) to the within the composable.
Key Changes in :
- Haze Effect Integration:
- The now uses the modifier from the library.
- A a few layers below the is designated as the to provide the content that will be blurred.
- The effect is configured with a vertical gradient, starting fully intense at the top and fading out.
- User Configuration:
- The properties of the haze effect are now loaded from (settings).
- Users can customize the following parameters:
- Alpha: (float, default: )
- Blur Radius: (int, default: )
- Noise Factor: (float, default: )
- Dependencies & Imports:
- Added necessary imports for the Haze library ().
- Added imports for () and to read the preference values.
🔗 查看本次提交
feat(UI): Implement configurable haze effect on FunPage TopAppBar
This commit introduces a configurable glassmorphism/blur effect (haze) to the within the composable.
Key Changes in :
- Haze Effect Integration:
- The now uses the modifier from the library.
- A a few layers below the is designated as the to provide the content that will be blurred.
- The effect is configured with a vertical gradient, starting fully intense at the top and fading out.
- User Configuration:
- The properties of the haze effect are now loaded from (settings).
- Users can customize the following parameters:
- Alpha: (float, default: )
- Blur Radius: (int, default: )
- Noise Factor: (float, default: )
- Dependencies & Imports:
- Added necessary imports for the Haze library ().
- Added imports for () and to read the preference values.
🔗 查看本次提交
GitHub
feat(UI): Implement configurable haze effect on FunPage TopAppBar · suqi8/OShin@ab767c0
This commit introduces a configurable glassmorphism/blur effect ("haze") to the `TopAppBar` within the `FunPage` composable.
**Key Changes in `FunPage.kt`:**
- **Haze Effect Int...
**Key Changes in `FunPage.kt`:**
- **Haze Effect Int...
🚀 OShin New CI Build!
Refactor(Settings): Disable fingerprint animation hook
This commit comments out the hook for .
Key Changes:
- In , the entire hook block targeting has been commented out. This hook was previously responsible for modifying fingerprint enrollment animations ( and ) by replacing them with custom animations from the module's assets.
This change temporarily disables the custom fingerprint enrollment animation feature.
🔗 查看本次提交
Refactor(Settings): Disable fingerprint animation hook
This commit comments out the hook for .
Key Changes:
- In , the entire hook block targeting has been commented out. This hook was previously responsible for modifying fingerprint enrollment animations ( and ) by replacing them with custom animations from the module's assets.
This change temporarily disables the custom fingerprint enrollment animation feature.
🔗 查看本次提交
GitHub
Refactor(Settings): Disable fingerprint animation hook · suqi8/OShin@492c19c
This commit comments out the hook for `com.oplus.settings.feature.fingerprint.NewFingerEnrollActivity`.
**Key Changes:**
- In `settings.kt`, the entire hook block targeting `NewFingerEnrollActivi...
**Key Changes:**
- In `settings.kt`, the entire hook block targeting `NewFingerEnrollActivi...