How can I disable the button on the earphones? I keep accidentally pressing the button on the earbuds when it's in my pocket.

Any of these would be great for me:


Disable the button only when the device is locked
Disable the button always
Headset blocker will disable those buttons.  It's a widget, not an app.