Actually, I had already mentioned this issue in the comments of #310, but I assumed the two issues shared the same root cause, so I didn't submit it as a separate issue.
I've now identified the root cause. A similar fix has been applied here for reference:
surf5726/documentsui-shortcut#4
The problem occurs because the word "shortcuts" appears in the Activity class name. In this case, the class name is ch.rmy.android.http_shortcuts.activities.main.MainActivity.
To fix this, you would need to move the main activity to a package path that doesn't contain "shortcuts". One possible approach is to rename the package or extract the main activity into a separate module, though this may affect the current code structure.
Steps To Reproduce
N/A
Expected behavior
The icon should be automatically cropped by the system into a rounded rectangle, consistent with the display of system apps and other apps that support adaptive icons.
Actual behavior
The app's adaptive icon is completely uncropped. The areas that should be cropped out (the margins around all four sides) remain fully visible, resulting in an uncropped complete square that is inconsistent with system apps and other apps that support adaptive icons.
Screenshots

Context
- Device models: Huawei MatePad 11 2022, Honor 9X
- System versions: HarmonyOS 4.2 (Android 12), HarmonyOS 3.0 (Android 10)
- App Version: 4.5.0
Actually, I had already mentioned this issue in the comments of #310, but I assumed the two issues shared the same root cause, so I didn't submit it as a separate issue.
I've now identified the root cause. A similar fix has been applied here for reference:
surf5726/documentsui-shortcut#4
The problem occurs because the word "shortcuts" appears in the Activity class name. In this case, the class name is
ch.rmy.android.http_shortcuts.activities.main.MainActivity.To fix this, you would need to move the main activity to a package path that doesn't contain "shortcuts". One possible approach is to rename the package or extract the main activity into a separate module, though this may affect the current code structure.
Steps To Reproduce
N/A
Expected behavior
The icon should be automatically cropped by the system into a rounded rectangle, consistent with the display of system apps and other apps that support adaptive icons.
Actual behavior
The app's adaptive icon is completely uncropped. The areas that should be cropped out (the margins around all four sides) remain fully visible, resulting in an uncropped complete square that is inconsistent with system apps and other apps that support adaptive icons.
Screenshots
Context