Merge "FM: Save Speaker on/off state"
diff --git a/fmapp/res/values/strings.xml b/fmapp/res/values/strings.xml
index b1dd448..f293047 100644
--- a/fmapp/res/values/strings.xml
+++ b/fmapp/res/values/strings.xml
@@ -261,5 +261,6 @@
<string name="rt_plus_tags">Tags</string>
<string name="enter_RxRePeatCount">Enter RxRePeat count</string>
<string name="set_RxRePeatCount">Config RxRePeat count</string>
+ <string name="save_record_file">FM Recorded file saved to "<xliff:g id="record_file">%1$s</xliff:g>"</string>
</resources>
diff --git a/fmapp/src/com/codeaurora/fmradio/FMRadioService.java b/fmapp/src/com/codeaurora/fmradio/FMRadioService.java
index fc791d1..d467162 100644
--- a/fmapp/src/com/codeaurora/fmradio/FMRadioService.java
+++ b/fmapp/src/com/codeaurora/fmradio/FMRadioService.java
@@ -983,6 +983,8 @@
if (Environment.MEDIA_MOUNTED.equals(state)) {
try {
this.addToMediaDB(mSampleFile);
+ Toast.makeText(this,getString(R.string.save_record_file, mSampleFile.getAbsolutePath()),
+ Toast.LENGTH_LONG).show();
}
catch(Exception e) {
e.printStackTrace();