skittles9823 / QuickSwitch

867 stars 40 forks source link

Fix permission error when switching recents provider via --ch param #57

Closed ammargitham closed 4 months ago

ammargitham commented 8 months ago

When using the -ch param in the terminal and rebooting the launcher crashed due to permission denial. This was because the privapp-permissions-x.xml file was created with empty permissions. The permissions were empty because APKPATH was empty for Magisk since the code is in an if block.

This PR removes that if block and fixes the privapp-permissions-x.xml file.

Also, the zipsigner had a small mistake which is also fixed in this.

skittles9823 commented 4 months ago

merged in #60