Revert "Merge "QuietHours: clean up and consolidate code" into cm-10.2"

This reverts commit 32ad0663d0361a31c3be30c3f68164cf668be3f9.