GermainZ/DynamicAlarmIcon — pull request #1 by chrisch1974 (2014-07-31 20:37:12+00:00)
Title: Compatibility with HTC Sense

This is a compatibility fix for HTC Sense devices. On Sense the class for updateAlarm is called HtcPhoneStatusBarPolicy. Depending on the existing of it there is a difference which method gets hooked. I also moved getting of NEXT_ALARM_FORMATTED to the delayed updateAlarmIcon as the WorldClock on Sense is also sending the ALARM_CHANGED intent before setting the NEXT_ALARM_FORMATTED value. The delay for updating of 5ms was too less on Sense so it was changed to 100 (only on Sense devices).