summaryrefslogtreecommitdiffstats
path: root/FMRecord/src/com/codeaurora/fmrecording/FMRecordingService.java
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2014-04-22 15:36:40 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2014-04-22 15:36:40 -0700
commit69e94c64b880f69ffec73e468e146fee3ef40bd9 (patch)
treef46b293a6dd623883d78fc47879f3a3ce10a5564 /FMRecord/src/com/codeaurora/fmrecording/FMRecordingService.java
parent656be2ed475913ef579d1b4929a357ce954f0326 (diff)
parent8fd366b53bafdb99845bec9dcd4eb0b45ab48ad8 (diff)
downloadandroid_hardware_qcom_fm-69e94c64b880f69ffec73e468e146fee3ef40bd9.tar.gz
android_hardware_qcom_fm-69e94c64b880f69ffec73e468e146fee3ef40bd9.tar.bz2
android_hardware_qcom_fm-69e94c64b880f69ffec73e468e146fee3ef40bd9.zip
Merge "FMRecord: Add Chinese language strings resource"
Diffstat (limited to 'FMRecord/src/com/codeaurora/fmrecording/FMRecordingService.java')
-rw-r--r--FMRecord/src/com/codeaurora/fmrecording/FMRecordingService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/FMRecord/src/com/codeaurora/fmrecording/FMRecordingService.java b/FMRecord/src/com/codeaurora/fmrecording/FMRecordingService.java
index 7c89a0c..62f4a94 100644
--- a/FMRecord/src/com/codeaurora/fmrecording/FMRecordingService.java
+++ b/FMRecord/src/com/codeaurora/fmrecording/FMRecordingService.java
@@ -423,7 +423,7 @@ public class FMRecordingService extends Service {
Log.d(TAG, "ContentURI: " + base);
Uri result = resolver.insert(base, cv);
if (result == null) {
- Toast.makeText(this, "Unable to save recorded audio", Toast.LENGTH_SHORT).show();
+ Toast.makeText(this, R.string.unable_to_store, Toast.LENGTH_SHORT).show();
return null;
}
if (getPlaylistId(res) == -1) {
@@ -475,7 +475,7 @@ public class FMRecordingService extends Service {
cv.put(MediaStore.Audio.Playlists.NAME, res.getString(R.string.audio_db_playlist_name));
Uri uri = resolver.insert(MediaStore.Audio.Playlists.getContentUri("external"), cv);
if (uri == null) {
- Toast.makeText(this, "Unable to save recorded audio", Toast.LENGTH_SHORT).show();
+ Toast.makeText(this, R.string.unable_to_store, Toast.LENGTH_SHORT).show();
}
return uri;
}