Hide option for showing notification count from libtaskbar
@@ -77,7 +77,7 @@ public class RecentAppsFragment extends SettingsFragment implements SharedPrefer
bindPreferenceSummaryToValue(findPreference(PREF_CENTERED_ICONS));
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
- if(U.isAndroidTV(getActivity()))
+ if(U.isLibrary(getActivity()) || U.isAndroidTV(getActivity()))
getPreferenceScreen().removePreference(findPreference(PREF_NOTIFICATION_COUNT));
else
findPreference(PREF_NOTIFICATION_COUNT).setOnPreferenceClickListener(this);
