amartinz / DeviceControl

GNU General Public License v3.0
182 stars 94 forks source link

CPU frequency UI update bug #15

Closed chris54721 closed 8 years ago

chris54721 commented 8 years ago

This line throws a java.lang.NumberFormatException: Invalid int: "XXXX MHz". Sometimes this causes the min/max frequencies to change when they shouldn't.

The reason for that should be pretty obvious; can't make a PR right now, but I can do so later if needed.

EDIT: of course this happens with this line as well

amartinz commented 8 years ago

thanks again :)

it seems that my custom preference library does not work like the real listpreference does and i needed to do extra changes than just dropping the library in.

https://github.com/Evisceration/DeviceControl/commit/0e1fc3c5d70e511a14fb575aadf117cba34cb1ef should fix it

chris54721 commented 8 years ago

Great :+1: