[Android] MainActivity: fix protected vs public on onDestroy
Jean-Baptiste Kempf
git at videolan.org
Sun Jun 24 21:41:54 CEST 2012
android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jun 24 21:37:55 2012 +0200| [e682b0e61f83465976a61c741ef28200bad5cea3] | committer: Jean-Baptiste Kempf
MainActivity: fix protected vs public on onDestroy
> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=e682b0e61f83465976a61c741ef28200bad5cea3
---
vlc-android/src/org/videolan/vlc/gui/MainActivity.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index 0ebc836..f413545 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -208,7 +208,7 @@ public class MainActivity extends SherlockFragmentActivity {
}
@Override
- public void onDestroy() {
+ protected void onDestroy() {
unregisterReceiver(messageReceiver);
super.onDestroy();
}
More information about the Android
mailing list