[BUG] Can't create shortcuts in Xiaomi's hyperOS.
I cannot create any shortcut of activities in HyperOS. When I try to create a shortcut, it will forcely returned to the previous activity. I'm using Xiaomi 13.Wish developers can solve this BUG. I can provide more infomations if possible.
I don't have a hyperOS device so I can't check if it works. Most likely the app silently crashes and restarts itself. You can collect the logs in 3 ways, choose which is best for you:
- Build the app from the source code, run it in the debug on the device, and collect logs.
- Collect logs with https://github.com/F0x1d/LogFox in ADB or Shizuku mode if you don't have root.
- Create a bug report: https://developer.android.com/studio/debug/bug-report
IDT it's a bug, to me it looks more like a permission thing - such brands and their firmwares/ROMs uaually require a special permission to be granted/allowed for each individual app to be able create shortcuts (we have/had multiple tickets due to this in the Activity Launcher repo, there's even a guide with screenshots in one of the tickets which was posted not so long ago by a user, but IDK if I should link it here...).
Settings → Application Settings → Application Management → Activity Manager → Permission Management → Allow Adding Desktop Shortcuts I have solved a similar problem through this method on MIUI 14. For your reference.