Skip to content

Comments

manager: Refactor OEM detection for shortcut permission#3201

Merged
YuKongA merged 4 commits intomainfrom
aosp_based
Feb 4, 2026
Merged

manager: Refactor OEM detection for shortcut permission#3201
YuKongA merged 4 commits intomainfrom
aosp_based

Conversation

@YuKongA
Copy link
Collaborator

@YuKongA YuKongA commented Feb 4, 2026

  • Introduce OemHelper.kt to centralize detection of MIUI, HyperOS, and ColorOS using system properties.
  • Replace Build.MANUFACTURER checks with the new helper functions for more reliable OEM identification when handling shortcut permissions.
  • This is important when the user's device is running a custom ROM based on AOSP.

- Introduce `OemHelper.kt` to centralize detection of MIUI, HyperOS, and ColorOS using system properties.
- Replace `Build.MANUFACTURER` checks with the new helper functions for more reliable OEM identification when handling shortcut permissions.
- This is important when the user's device is running a custom ROM based on AOSP.
Copilot AI review requested due to automatic review settings February 4, 2026 02:45

This comment was marked as outdated.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@YuKongA YuKongA merged commit d047ee7 into main Feb 4, 2026
21 checks passed
@YuKongA YuKongA deleted the aosp_based branch February 4, 2026 02:57
KOWX712 pushed a commit to KOWX712/KernelSU that referenced this pull request Feb 4, 2026
- Introduce `OemHelper.kt` to centralize detection of MIUI, HyperOS, and
ColorOS using system properties.
- Replace `Build.MANUFACTURER` checks with the new helper functions for
more reliable OEM identification when handling shortcut permissions.
- This is important when the user's device is running a custom ROM based
on AOSP.
PhuScam pushed a commit to PhuScam/KernelSU that referenced this pull request Feb 5, 2026
- Introduce `OemHelper.kt` to centralize detection of MIUI, HyperOS, and
ColorOS using system properties.
- Replace `Build.MANUFACTURER` checks with the new helper functions for
more reliable OEM identification when handling shortcut permissions.
- This is important when the user's device is running a custom ROM based
on AOSP.
u9521 added a commit to u9521/KernelSU that referenced this pull request Feb 16, 2026
- Introduce `OemHelper.kt` to centralize detection of MIUI, HyperOS, and
ColorOS using system properties.
- Replace `Build.MANUFACTURER` checks with the new helper functions for
more reliable OEM identification when handling shortcut permissions.
- This is important when the user's device is running a custom ROM based
on AOSP.

Co-authored-by: YuKongA <[email protected]>
Signed-off-by: u9521 <[email protected]>
PhuScam pushed a commit to PhuScam/KernelSU that referenced this pull request Feb 18, 2026
- Introduce `OemHelper.kt` to centralize detection of MIUI, HyperOS, and
ColorOS using system properties.
- Replace `Build.MANUFACTURER` checks with the new helper functions for
more reliable OEM identification when handling shortcut permissions.
- This is important when the user's device is running a custom ROM based
on AOSP.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant