Code snippets used in my conference talk: "Say Cheese! Elevate your camera flows with Jetpack Compose"
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
| object MiuiCheck { | |
| /** | |
| * Check if the device is running on MIUI. | |
| * | |
| * By default, HyperOS is excluded from the check. | |
| * If you want to include HyperOS in the check, set excludeHyperOS to false. | |
| * | |
| * @param excludeHyperOS Whether to exclude HyperOS | |
| * @return True if the device is running on MIUI, false otherwise |