only disable emoji fonts on Lollipop and lower
This commit is contained in:
parent
0930fab72b
commit
3410fad62c
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ public class PreferencesFragment extends PreferenceFragment implements SharedPre
|
|||
addPreferencesFromResource(preference);
|
||||
|
||||
Preference emojiPreference = findPreference("emojiCompat");
|
||||
if(emojiPreference != null && Build.VERSION.SDK_INT <= Build.VERSION_CODES.M) {
|
||||
if(emojiPreference != null && Build.VERSION.SDK_INT <= Build.VERSION_CODES.LOLLIPOP) {
|
||||
//disable emoji fonts on Android 5 because they cause problems
|
||||
((PreferenceCategory)findPreference("categoryAppearance")).removePreference(emojiPreference);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue