This module disables the desk dock feature on your device.
If anyone's wondering how this is useful, I made it for my Xperia Z1's magnetic cable, Sony sells the cable in a dock, so using the cable by itself puts the device in dock mode, which forces rotation regardless of my choice, and if the cable disconnects while my device is in car mode, it switches off car mode, which is kind of annoying while driving.
Tested on my Z1, I coded it with 4.2 in mind, may or may not work on 4.1 / 4.3, trying it won't do any harm.
The mod is open source: https://github.com/MohammadAG/Xposed-Disable-Desk-Dock
You may not publish this on the Play Store or any other market.
- Initial release.
If you found this mod useful, consider donating with PayPal.