Commit 1e5fb0a4 authored by Edward Wang's avatar Edward Wang
Browse files

Don't hardcode Media database cleared in PreferencesActivity

parent c19e2f53
......@@ -114,6 +114,7 @@
<string name="advanced_debugging">Advanced debugging</string>
<string name="quit">Quit application</string>
<string name="clear_media_db">Clear media database</string>
<string name="media_db_cleared">Media database cleared!</string>
<string name="detect_headset">Detect headset</string>
<string name="detect_headset_detail">Pause on headset removed; resume on headset inserted</string>
<string name="enable_wheel_bar">Enable wheel bar</string>
......@@ -166,7 +166,7 @@ public class PreferencesActivity extends PreferenceActivity {
public boolean onPreferenceClick(Preference preference) {
Toast.makeText(getBaseContext(), "Media database cleared!", Toast.LENGTH_SHORT).show();
Toast.makeText(getBaseContext(), R.string.media_db_cleared, Toast.LENGTH_SHORT).show();
return true;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment