FM: Switch file extension to aac
Change-Id: I7e44a8835c450697765c41fafdf325c1e2043b49
diff --git a/fmapp2/src/com/caf/fmradio/FMRadioService.java b/fmapp2/src/com/caf/fmradio/FMRadioService.java
index 3efc57d..39f99c1 100644
--- a/fmapp2/src/com/caf/fmradio/FMRadioService.java
+++ b/fmapp2/src/com/caf/fmradio/FMRadioService.java
@@ -1223,11 +1223,11 @@
try {
if (getResources().getBoolean(R.bool.def_save_name_format_enabled)) {
String suffix = getResources().getString(R.string.def_save_name_suffix);
- suffix = "".equals(suffix) ? ".3gpp" : suffix;
+ suffix = "".equals(suffix) ? ".aac" : suffix;
String prefix = getResources().getString(R.string.def_save_name_prefix) + '-';
mSampleFile = createTempFile(prefix, suffix, sampleDir);
} else {
- mSampleFile = File.createTempFile("FMRecording", ".3gpp", sampleDir);
+ mSampleFile = File.createTempFile("FMRecording", ".aac", sampleDir);
}
} catch (IOException e) {
Log.e(LOGTAG, "Not able to access SD Card");