summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormark <mcampbellsmith@gmail.com>2013-07-08 23:18:53 +1000
committermark <mcampbellsmith@gmail.com>2013-07-08 23:18:53 +1000
commit44169ee78b775da1a93d2ae416a7cd0fc60eb6ee (patch)
tree555711c32177a57e0e0e28d1fa3ef413fdd63552
parent5a76e0609f293765f20787911d23ca81144c28de (diff)
downloaddevice_samsung_smdk4412-common-44169ee78b775da1a93d2ae416a7cd0fc60eb6ee.tar.gz
device_samsung_smdk4412-common-44169ee78b775da1a93d2ae416a7cd0fc60eb6ee.tar.bz2
device_samsung_smdk4412-common-44169ee78b775da1a93d2ae416a7cd0fc60eb6ee.zip
smdk4412-common: fix user configurable In-Call settings when cancelling dialog
Change-Id: Ieaf122246b2c1f4540fe66d7c944ac1e59e670fa
-rw-r--r--DeviceSettings/src/com/cyanogenmod/settings/device/IncallAudio.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/DeviceSettings/src/com/cyanogenmod/settings/device/IncallAudio.java b/DeviceSettings/src/com/cyanogenmod/settings/device/IncallAudio.java
index 44fa1c3..8f973cb 100644
--- a/DeviceSettings/src/com/cyanogenmod/settings/device/IncallAudio.java
+++ b/DeviceSettings/src/com/cyanogenmod/settings/device/IncallAudio.java
@@ -217,10 +217,10 @@ public class IncallAudio extends DialogPreference implements SeekBar.OnSeekBarCh
editor.putString(INCALL_BT_FILE, String.valueOf(volumeBt));
editor.commit();
} else {
- Utils.writeValue(INCALL_EARPIECE_FILE, String.valueOf(mEarpieceOgPercent));
- Utils.writeValue(INCALL_HEADPHONE_FILE, String.valueOf(mHeadphoneOgPercent));
- Utils.writeValue(INCALL_SPEAKER_FILE, String.valueOf(mSpeakerOgPercent));
- Utils.writeValue(INCALL_BT_FILE, String.valueOf(mBtOgPercent));
+ Utils.writeValue(INCALL_EARPIECE_FILE, String.valueOf(mEarpieceOgValue));
+ Utils.writeValue(INCALL_HEADPHONE_FILE, String.valueOf(mHeadphoneOgValue));
+ Utils.writeValue(INCALL_SPEAKER_FILE, String.valueOf(mSpeakerOgValue));
+ Utils.writeValue(INCALL_BT_FILE, String.valueOf(mBtOgValue));
}
}