summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/settings
diff options
context:
space:
mode:
authorHyunyoung Song <hyunyoungs@google.com>2018-12-17 23:38:43 -0800
committerHyunyoung Song <hyunyoungs@google.com>2018-12-19 17:16:56 -0800
commita7a9583bb8ffbee7a760c7e6ab8c99f63dddd145 (patch)
treedd20ded871fbd2b43f373debd69d0a8f7e41cfb7 /src/com/android/launcher3/settings
parentafe57dd0ef4c3f92e550f7e88c7139ed14670b28 (diff)
downloadandroid_packages_apps_Trebuchet-a7a9583bb8ffbee7a760c7e6ab8c99f63dddd145.tar.gz
android_packages_apps_Trebuchet-a7a9583bb8ffbee7a760c7e6ab8c99f63dddd145.tar.bz2
android_packages_apps_Trebuchet-a7a9583bb8ffbee7a760c7e6ab8c99f63dddd145.zip
Remove IconShapeOverride
Bug: 120736782 Change-Id: Iee44f10ff2b9ec447ae74d9ad6a0aa3668c401d6
Diffstat (limited to 'src/com/android/launcher3/settings')
-rw-r--r--src/com/android/launcher3/settings/SettingsActivity.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/com/android/launcher3/settings/SettingsActivity.java b/src/com/android/launcher3/settings/SettingsActivity.java
index 77682e55e..6e7188f3c 100644
--- a/src/com/android/launcher3/settings/SettingsActivity.java
+++ b/src/com/android/launcher3/settings/SettingsActivity.java
@@ -32,11 +32,9 @@ import com.android.launcher3.LauncherFiles;
import com.android.launcher3.R;
import com.android.launcher3.Utilities;
import com.android.launcher3.config.FeatureFlags;
-import com.android.launcher3.graphics.IconShapeOverride;
import com.android.launcher3.uioverrides.plugins.PluginManagerWrapper;
import com.android.launcher3.util.SecureSettingsObserver;
-import androidx.preference.ListPreference;
import androidx.preference.Preference;
import androidx.preference.PreferenceFragment;
import androidx.preference.PreferenceFragment.OnPreferenceStartFragmentCallback;
@@ -185,13 +183,6 @@ public class SettingsActivity extends Activity
case ADD_ICON_PREFERENCE_KEY:
return Utilities.ATLEAST_OREO;
- case IconShapeOverride.KEY_PREFERENCE:
- if (!IconShapeOverride.isSupported(getActivity())) {
- return false;
- }
- IconShapeOverride.handlePreferenceUi((ListPreference) preference);
- return true;
-
case ALLOW_ROTATION_PREFERENCE_KEY:
if (getResources().getBoolean(R.bool.allow_rotation)) {
// Launcher supports rotation by default. No need to show this setting.