[Android] Rename clearSearchhistory in clearSearchHistory
Jean-Baptiste Kempf
git at videolan.org
Mon Apr 14 20:13:32 CEST 2014
vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Apr 14 20:10:48 2014 +0200| [b2ac2f5f470adcdf1c54bb34a9eacd836780ea78] | committer: Jean-Baptiste Kempf
Rename clearSearchhistory in clearSearchHistory
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=b2ac2f5f470adcdf1c54bb34a9eacd836780ea78
---
vlc-android/src/org/videolan/vlc/MediaDatabase.java | 2 +-
vlc-android/src/org/videolan/vlc/gui/MainActivity.java | 2 +-
vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/MediaDatabase.java b/vlc-android/src/org/videolan/vlc/MediaDatabase.java
index 7244258..a00644a 100644
--- a/vlc-android/src/org/videolan/vlc/MediaDatabase.java
+++ b/vlc-android/src/org/videolan/vlc/MediaDatabase.java
@@ -653,7 +653,7 @@ public class MediaDatabase {
return history;
}
- public synchronized void clearSearchhistory() {
+ public synchronized void clearSearchHistory() {
mDb.delete(SEARCHHISTORY_TABLE_NAME, null, null);
}
diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index d87b0b0..2c53776 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -666,7 +666,7 @@ public class MainActivity extends SherlockFragmentActivity {
mMenu.showMenu();
break;
case R.id.search_clear_history:
- MediaDatabase.getInstance(this).clearSearchhistory();
+ MediaDatabase.getInstance(this).clearSearchHistory();
break;
}
return super.onOptionsItemSelected(item);
diff --git a/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java b/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java
index a3a4863..7773522 100644
--- a/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java
@@ -144,7 +144,7 @@ public class PreferencesActivity extends PreferenceActivity implements OnSharedP
@Override
public void onClick(DialogInterface dialog, int whichButton) {
MediaDatabase db = MediaDatabase.getInstance(getApplicationContext());
- db.clearSearchhistory();
+ db.clearSearchHistory();
}
})
More information about the Android
mailing list