Skip to content

Commit

Permalink
Merge pull request #8 from IRA-Team/dev
Browse files Browse the repository at this point in the history
Fixed bug with crash Android 4.4
  • Loading branch information
hluhovskyi committed Oct 30, 2015
2 parents dfd12cb + 17a37ea commit 9f32ea1
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ private static void bindPreferenceSummaryToValue(Preference preference) {

protected boolean isValidFragment(String fragmentName) {
return PreferenceFragment.class.getName().equals(fragmentName)
|| SyncPreferenceFragment.class.getName().equals(fragmentName);
|| SyncPreferenceFragment.class.getName().equals(fragmentName)
|| CachePreferenceFragment.class.getName().equals(fragmentName);
}

@Override
Expand Down Expand Up @@ -155,6 +156,8 @@ public void onCreate(Bundle savedInstanceState) {
builder.create().show();
return false;
});


}

@Override
Expand All @@ -167,4 +170,6 @@ public boolean onOptionsItemSelected(MenuItem item) {
return super.onOptionsItemSelected(item);
}
}


}

0 comments on commit 9f32ea1

Please sign in to comment.