fixed key update preference not turning off

This commit is contained in:
Adithya Abraham Philip
2015-12-21 01:28:28 +05:30
parent 7baa649e47
commit 7d05a22ae5
4 changed files with 57 additions and 43 deletions

View File

@@ -476,6 +476,8 @@ public class SettingsActivity extends AppCompatPreferenceActivity {
private boolean checkContactsPermission(String authority) {
if (!ContactsContract.AUTHORITY.equals(authority)) {
// provides convenience of not using separate checks for keyserver and contact sync
// in initializeSyncCheckBox
return true;
}