View Single Post
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#84
Originally Posted by coderus View Post
MT-Toggles mod by CODeRUS (it's me )


Changes:
#all
+ added automatically restarting sysuid durung installation/uninstallation
#mt-toggles
+ long press actions
- removed ugly (sorry, Mohammad) SWITCHER_ON/OFF images from bottom
#all toggles
+ changed icons
#bluetooth-toggle
+ changed press behaviour: short press switching between on/off, long press switching on Discoverable mode (green icon)

Install:
= inception/openmode same as before
* but no need in manual restarting sysuid anymore
+ all toggles require mt-toggles version >= 0.0.2 (upgrade it first)
+ also added restricted-system-ui depend in mt-toggles

P.S. to Mohammad, please teach me how to make commit changes in git, or i can just upload my edited sources.
git clone, edit changes, git commit -a, git push

The on/off switch change won't go into upstream, sorry!
It's a developer set thing, the developer of the toggle can return false by isToggle() to not show the switch.

The hold patch should be fine, as long as it's done in mt-toggles properly.

I'm not sure about the icons, they're a bit inconsistent with the rest of the UI.

Anyway, I'm glad someone's hacking on my sources
 

The Following 6 Users Say Thank You to MohammadAG For This Useful Post: