LineageParts: Reenable expanded desktop settings
Change-Id: Ibc7a248ce1c3e5b68a8fa32d3236401b4c55769c
diff --git a/src/org/lineageos/lineageparts/applications/ExpandedDesktopPrefs.java b/src/org/lineageos/lineageparts/applications/ExpandedDesktopPrefs.java
index 355e6ed..f48c555 100644
--- a/src/org/lineageos/lineageparts/applications/ExpandedDesktopPrefs.java
+++ b/src/org/lineageos/lineageparts/applications/ExpandedDesktopPrefs.java
@@ -25,16 +25,13 @@
import android.support.v7.preference.PreferenceCategory;
import android.support.v7.preference.PreferenceScreen;
import android.view.WindowManagerGlobal;
-/*
import android.view.WindowManagerPolicyControl;
-*/
import org.lineageos.lineageparts.R;
import org.lineageos.lineageparts.SettingsPreferenceFragment;
import lineageos.preference.SettingsHelper;
-/*
public class ExpandedDesktopPrefs extends SettingsPreferenceFragment
implements Preference.OnPreferenceChangeListener, SettingsHelper.OnSettingsChangeListener {
@@ -135,4 +132,3 @@
updateExpandedDesktopStyle();
}
}
-*/
diff --git a/src/org/lineageos/lineageparts/applications/ExpandedDesktopSettings.java b/src/org/lineageos/lineageparts/applications/ExpandedDesktopSettings.java
index 98e2c5d..de5dc48 100644
--- a/src/org/lineageos/lineageparts/applications/ExpandedDesktopSettings.java
+++ b/src/org/lineageos/lineageparts/applications/ExpandedDesktopSettings.java
@@ -33,9 +33,7 @@
import android.view.View;
import android.view.ViewGroup;
import android.view.WindowManagerGlobal;
-/*
import android.view.WindowManagerPolicyControl;
-*/
import android.widget.AdapterView;
import android.widget.BaseAdapter;
import android.widget.FrameLayout;
@@ -59,7 +57,6 @@
import java.util.List;
import java.util.Map;
-/*
public class ExpandedDesktopSettings extends SettingsPreferenceFragment
implements AdapterView.OnItemClickListener, ApplicationsState.Callbacks,
SwitchBar.OnSwitchChangeListener {
@@ -464,7 +461,6 @@
* To get from that number to the expected value of 1 we need to negate
* and subtract 2.
*/
- /*
return index >= 0 ? index : -index - 2;
}
@@ -592,4 +588,3 @@
}
}
}
-*/