summaryrefslogtreecommitdiffstats
path: root/AriesParts/src
diff options
context:
space:
mode:
authorShawn Alty <shawn.alty@gmail.com>2011-12-27 21:58:43 -0600
committerShawn Alty <shawn.alty@gmail.com>2011-12-27 21:58:43 -0600
commit55a827b2707a18727d57e403c86bc06e768d8803 (patch)
tree85f6e902cadc99cbb2a55acca3095b8edd518d50 /AriesParts/src
parentc5a2454a28e87a779873c369053078e7cc81c663 (diff)
downloaddevice_samsung_aries-common-55a827b2707a18727d57e403c86bc06e768d8803.zip
device_samsung_aries-common-55a827b2707a18727d57e403c86bc06e768d8803.tar.gz
device_samsung_aries-common-55a827b2707a18727d57e403c86bc06e768d8803.tar.bz2
more renaming for device settings compatibility
Diffstat (limited to 'AriesParts/src')
-rw-r--r--AriesParts/src/com/cyanogenmod/settings/device/DeviceSettings.java (renamed from AriesParts/src/com/cyanogenmod/settings/device/AriesParts.java)6
-rw-r--r--AriesParts/src/com/cyanogenmod/settings/device/Hspa.java2
-rw-r--r--AriesParts/src/com/cyanogenmod/settings/device/TouchKeyBacklightTimeout.java2
-rw-r--r--AriesParts/src/com/cyanogenmod/settings/device/TvOutService.java2
4 files changed, 6 insertions, 6 deletions
diff --git a/AriesParts/src/com/cyanogenmod/settings/device/AriesParts.java b/AriesParts/src/com/cyanogenmod/settings/device/DeviceSettings.java
index 37660ab..8cb2555 100644
--- a/AriesParts/src/com/cyanogenmod/settings/device/AriesParts.java
+++ b/AriesParts/src/com/cyanogenmod/settings/device/DeviceSettings.java
@@ -11,7 +11,7 @@ import android.preference.ListPreference;
import android.preference.Preference;
import android.preference.PreferenceActivity;
-public class AriesParts extends PreferenceActivity {
+public class DeviceSettings extends PreferenceActivity {
public static final String KEY_COLOR_TUNING = "color_tuning";
public static final String KEY_BACKLIGHT_TIMEOUT = "backlight_timeout";
@@ -61,7 +61,7 @@ public class AriesParts extends PreferenceActivity {
@Override
public boolean onPreferenceChange(Preference preference, Object newValue) {
boolean enable = (Boolean) newValue;
- Intent i = new Intent(AriesParts.this, TvOutService.class);
+ Intent i = new Intent(DeviceSettings.this, TvOutService.class);
i.putExtra(TvOutService.EXTRA_COMMAND, enable ? TvOutService.COMMAND_ENABLE : TvOutService.COMMAND_DISABLE);
startService(i);
return true;
@@ -76,7 +76,7 @@ public class AriesParts extends PreferenceActivity {
public boolean onPreferenceChange(Preference preference, Object newValue) {
if (mTvOut._isEnabled()) {
int newSystem = Integer.valueOf((String) newValue);
- Intent i = new Intent(AriesParts.this, TvOutService.class);
+ Intent i = new Intent(DeviceSettings.this, TvOutService.class);
i.putExtra(TvOutService.EXTRA_COMMAND, TvOutService.COMMAND_CHANGE_SYSTEM);
i.putExtra(TvOutService.EXTRA_SYSTEM, newSystem);
startService(i);
diff --git a/AriesParts/src/com/cyanogenmod/settings/device/Hspa.java b/AriesParts/src/com/cyanogenmod/settings/device/Hspa.java
index 779e733..d866309 100644
--- a/AriesParts/src/com/cyanogenmod/settings/device/Hspa.java
+++ b/AriesParts/src/com/cyanogenmod/settings/device/Hspa.java
@@ -30,7 +30,7 @@ public class Hspa implements OnPreferenceChangeListener {
}
SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(context);
- sendIntent(context, sharedPrefs.getString(AriesParts.KEY_HSPA, "23"));
+ sendIntent(context, sharedPrefs.getString(DeviceSettings.KEY_HSPA, "23"));
}
@Override
diff --git a/AriesParts/src/com/cyanogenmod/settings/device/TouchKeyBacklightTimeout.java b/AriesParts/src/com/cyanogenmod/settings/device/TouchKeyBacklightTimeout.java
index 0bcb0fd..2f8beda 100644
--- a/AriesParts/src/com/cyanogenmod/settings/device/TouchKeyBacklightTimeout.java
+++ b/AriesParts/src/com/cyanogenmod/settings/device/TouchKeyBacklightTimeout.java
@@ -24,7 +24,7 @@ public class TouchKeyBacklightTimeout implements OnPreferenceChangeListener {
}
SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(context);
- Utils.writeValue(FILE, sharedPrefs.getString(AriesParts.KEY_BACKLIGHT_TIMEOUT, "1600"));
+ Utils.writeValue(FILE, sharedPrefs.getString(DeviceSettings.KEY_BACKLIGHT_TIMEOUT, "1600"));
}
@Override
diff --git a/AriesParts/src/com/cyanogenmod/settings/device/TvOutService.java b/AriesParts/src/com/cyanogenmod/settings/device/TvOutService.java
index 5392669..408587d 100644
--- a/AriesParts/src/com/cyanogenmod/settings/device/TvOutService.java
+++ b/AriesParts/src/com/cyanogenmod/settings/device/TvOutService.java
@@ -92,7 +92,7 @@ public class TvOutService extends Service {
if (intent != null) {
String command = intent.getStringExtra("command");
if (COMMAND_ENABLE.equals(command)) {
- mSystem = Integer.parseInt(mPref.getString(AriesParts.KEY_TVOUT_SYSTEM, "2")); // Default = PAL
+ mSystem = Integer.parseInt(mPref.getString(DeviceSettings.KEY_TVOUT_SYSTEM, "2")); // Default = PAL
enable();
}
else if (COMMAND_DISABLE.equals(command)) {