[Android] src: Clean up the VLCApplication file
Edward Wang
git at videolan.org
Fri Jun 22 17:31:19 CEST 2012
android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Fri Jun 22 11:31:02 2012 -0400| [1cef3171201611f61ca3d4386facd3e87f30e894] | committer: Edward Wang
src: Clean up the VLCApplication file
> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=1cef3171201611f61ca3d4386facd3e87f30e894
---
.../src/org/videolan/vlc/VLCApplication.java | 25 ++++++++++++++++----
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/VLCApplication.java b/vlc-android/src/org/videolan/vlc/VLCApplication.java
index 2667182..239df2e 100644
--- a/vlc-android/src/org/videolan/vlc/VLCApplication.java
+++ b/vlc-android/src/org/videolan/vlc/VLCApplication.java
@@ -1,21 +1,38 @@
+/*****************************************************************************
+ * VLCApplication.java
+ *****************************************************************************
+ * Copyright © 2010-2012 VLC authors and VideoLAN
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ *****************************************************************************/
package org.videolan.vlc;
import android.app.Application;
import android.content.Context;
public class VLCApplication extends Application {
-
private static VLCApplication instance;
-
+
@Override
public void onCreate() {
super.onCreate();
instance = this;
}
-
+
public static Context getAppContext()
{
return instance;
}
-
}
More information about the Android
mailing list