On the Nexus One (at least in 2.1-update1, and I think in 2.1), there is a setting under Sound & Display: \"Pulse notification light\". This doesn\'t seem to be present
I know I'm going to die painfully for using an undocumented API (or rather, undocumented system setting name), but here is the magic line:
android.provider.Settings.System.putInt(context.getContentResolver(),
"notification_light_pulse", on ? 1 : 0);
Found using sqlite3
on my own device.
Here is this solution in a convenient Locale plugin: http://chris.boyle.name/projects/ptlp