summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoey Rizzoli <joey@lineageos.org>2017-11-10 21:18:11 (GMT)
committerArne Coucheron <arco68@gmail.com>2017-12-16 05:58:07 (GMT)
commit0781846809de2e65424fbeb24dbb30fd3791bfc8 (patch)
tree1e78ab6f7f500f9e98a4276a80954ad3e381a406
parent8f3197d857ae3614bf378116485fe263f7528087 (diff)
downloadandroid_packages_apps_Trebuchet-0781846809de2e65424fbeb24dbb30fd3791bfc8.zip
android_packages_apps_Trebuchet-0781846809de2e65424fbeb24dbb30fd3791bfc8.tar.gz
android_packages_apps_Trebuchet-0781846809de2e65424fbeb24dbb30fd3791bfc8.tar.bz2
Trebuchet: allow non-developers to change icon shape
Signed-off-by: Joey Rizzoli <joey@lineageos.org>
-rw-r--r--src/com/android/launcher3/graphics/IconShapeOverride.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/com/android/launcher3/graphics/IconShapeOverride.java b/src/com/android/launcher3/graphics/IconShapeOverride.java
index 223243b..bc1ef05 100644
--- a/src/com/android/launcher3/graphics/IconShapeOverride.java
+++ b/src/com/android/launcher3/graphics/IconShapeOverride.java
@@ -29,7 +29,6 @@ import android.os.SystemClock;
import android.preference.ListPreference;
import android.preference.Preference;
import android.preference.Preference.OnPreferenceChangeListener;
-import android.provider.Settings;
import android.support.annotation.NonNull;
import android.text.TextUtils;
import android.util.Log;
@@ -62,11 +61,6 @@ public class IconShapeOverride {
if (!Utilities.ATLEAST_OREO) {
return false;
}
- // Only supported when developer settings is enabled
- if (Settings.Global.getInt(context.getContentResolver(),
- Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 0) != 1) {
- return false;
- }
try {
if (getSystemResField().get(null) != Resources.getSystem()) {