summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/trebuchet/preference/PreferencesProvider.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/cyanogenmod/trebuchet/preference/PreferencesProvider.java')
-rw-r--r--src/com/cyanogenmod/trebuchet/preference/PreferencesProvider.java14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/com/cyanogenmod/trebuchet/preference/PreferencesProvider.java b/src/com/cyanogenmod/trebuchet/preference/PreferencesProvider.java
index 0af36bd40..d66bab20e 100644
--- a/src/com/cyanogenmod/trebuchet/preference/PreferencesProvider.java
+++ b/src/com/cyanogenmod/trebuchet/preference/PreferencesProvider.java
@@ -20,7 +20,6 @@ import android.content.Context;
import android.content.SharedPreferences;
import com.cyanogenmod.trebuchet.LauncherApplication;
-import com.cyanogenmod.trebuchet.R;
import com.cyanogenmod.trebuchet.Workspace;
import com.cyanogenmod.trebuchet.AppsCustomizePagedView;
@@ -122,18 +121,7 @@ public final class PreferencesProvider {
}
public static class Dock {
- public static int getNumberHotseatIcons(Context context) {
- final SharedPreferences preferences = context.getSharedPreferences(PREFERENCES_KEY, 0);
- return preferences.getInt("ui_dock_hotseat_size", context.getResources().getInteger(R.integer.hotseat_cell_count));
- }
- public static int getDefaultHotseatIcon(Context context, int def) {
- final SharedPreferences preferences = context.getSharedPreferences(PREFERENCES_KEY, 0);
- return preferences.getInt("ui_dock_hotseat_apps_index", def);
- }
- public static void setDefaultHotseatIcon(Context context, int val) {
- final SharedPreferences preferences = context.getSharedPreferences(PREFERENCES_KEY, 0);
- preferences.edit().putInt("ui_dock_hotseat_apps_index", val).apply();
- }
+
}
public static class Icons {