skittles9823 / QuickSwitch

807 stars 41 forks source link

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

Closed ammargitham closed 2 weeks ago

ammargitham commented 3 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 2 weeks ago

merged in #60