As we are using the same activity to show two groups of preference setting(we are using this to be able uses headers on Android version above 2.3, to keep the compatibility), when some preference is changed, the validation is executed. If the current values stored violate the restriction, the notification is shown.
As we are using the same activity to show two groups of preference setting(we are using this to be able uses headers on Android version above 2.3, to keep the compatibility), when some preference is changed, the validation is executed. If the current values stored violate the restriction, the notification is shown.
File: SettingsActivity.java