ActivityManager icon indicating copy to clipboard operation
ActivityManager copied to clipboard

[BUG] Can't create shortcuts in Xiaomi's hyperOS.

Open yominra opened this issue 10 months ago • 3 comments

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.

yominra avatar Feb 21 '25 16:02 yominra

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:

  1. Build the app from the source code, run it in the debug on the device, and collect logs.
  2. Collect logs with https://github.com/F0x1d/LogFox in ADB or Shizuku mode if you don't have root.
  3. Create a bug report: https://developer.android.com/studio/debug/bug-report

sdex avatar Feb 23 '25 15:02 sdex

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...).

drogga avatar Feb 24 '25 12:02 drogga

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.

aivyh123 avatar Oct 22 '25 09:10 aivyh123