diff options
author | Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> | 2013-07-09 16:46:36 +0530 |
---|---|---|
committer | Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> | 2013-07-22 17:30:07 +0530 |
commit | f5aaf1aff5c0af0155036f58d3de99563d70a053 (patch) | |
tree | 4c7649ccbb9d781e0e64033f1319edb28c98ec46 /fmapp | |
parent | c96f2d1c71281f9ec2294004f39dba671b5a77b0 (diff) | |
download | android_hardware_qcom_fm-f5aaf1aff5c0af0155036f58d3de99563d70a053.tar.gz android_hardware_qcom_fm-f5aaf1aff5c0af0155036f58d3de99563d70a053.tar.bz2 android_hardware_qcom_fm-f5aaf1aff5c0af0155036f58d3de99563d70a053.zip |
FM: Show recording file path.
- Show a toast message where the FM recording file stored
while FM recording stopped.
CRs-Fixed: 497432
Change-Id: I22ebf360ce41bdfaa239b186e03dc700b3886628
Diffstat (limited to 'fmapp')
-rw-r--r-- | fmapp/res/values/strings.xml | 1 | ||||
-rw-r--r-- | fmapp/src/com/codeaurora/fmradio/FMRadioService.java | 2 |
2 files changed, 3 insertions, 0 deletions
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 20f0262..5f2b42b 100644 --- a/fmapp/src/com/codeaurora/fmradio/FMRadioService.java +++ b/fmapp/src/com/codeaurora/fmradio/FMRadioService.java @@ -983,6 +983,8 @@ public class FMRadioService extends Service 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(); |