Removing some support lib dependencies

Change-Id: I028ed591cc9cf0af94fe6e09fadcd255f07cdee5
This commit is contained in:
Sunny Goyal
2017-06-09 08:42:39 -07:00
parent e6711ceeb6
commit de57cafbb2
4 changed files with 6 additions and 7 deletions

View File

@@ -26,7 +26,6 @@ import android.preference.Preference;
import android.preference.PreferenceFragment;
import android.provider.Settings;
import android.provider.Settings.System;
import android.support.v4.os.BuildCompat;
import com.android.launcher3.graphics.IconShapeOverride;
@@ -85,7 +84,7 @@ public class SettingsActivity extends Activity {
}
Preference iconBadgingPref = findPreference(ICON_BADGING_PREFERENCE_KEY);
if (!BuildCompat.isAtLeastO()) {
if (!Utilities.isAtLeastO()) {
getPreferenceScreen().removePreference(
findPreference(SessionCommitReceiver.ADD_ICON_PREFERENCE_KEY));
getPreferenceScreen().removePreference(iconBadgingPref);