Fix duplicated "public void setMagneticTargets"

This is needed by the parent commit: "keyguard: enable magnetic target if no custom targets defined"

Partially same function was already there by AOKP ribbon commit

Change-Id: Idaaf7a2d12eec3a128b1d518d706c90627f3f69a