Skip to content

Commit

Permalink
Merge pull request #636 from XomaDev/xiaomi-update-docs
Browse files Browse the repository at this point in the history
Xiaomi: Update Solution for devs Docs
  • Loading branch information
petrnalevka authored Jun 5, 2023
2 parents cc8b566 + 9bc2565 commit 64520bb
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions _vendors-content/xiaomi/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,21 @@ manufacturer:

### Check Autostart permission

There is a way to check the state of Autostart permission on MIUI devices programtically.
Devices (MIUI 10, 11, 12) are working for it.
There is a way to check if the Autostart has been enabled,
<br>
[https://github.com/XomaDev/MIUI-autostart](https://github.com/XomaDev/MIUI-autostart)

https://github.com/XomaDev/MIUI-autostart

This has been tested on devices:

- MIUI 10 (firebase)
- MIUI 11 (physical device 11.0.9)
- MIUI 12 (physical device 12.5)
- MIUI 13 (untested, but work)
- MIUI 14 (physical device 14.0.2)


### Usage

```java
// make sure device is MIUI device, else an
Expand Down

0 comments on commit 64520bb

Please sign in to comment.