[Android] NativeCrashActivity: put information about the build in the log

Adrien Maglo git at videolan.org
Fri May 16 11:23:58 CEST 2014


vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Fri May 16 11:23:47 2014 +0200| [47184d4e10ef9184b51432bfc342aacfb2770c66] | committer: Adrien Maglo

NativeCrashActivity: put information about the build in the log

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=47184d4e10ef9184b51432bfc342aacfb2770c66
---

 vlc-android/src/org/videolan/vlc/gui/NativeCrashActivity.java |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/NativeCrashActivity.java b/vlc-android/src/org/videolan/vlc/gui/NativeCrashActivity.java
index 5609bc6..a41fd9a 100644
--- a/vlc-android/src/org/videolan/vlc/gui/NativeCrashActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/NativeCrashActivity.java
@@ -57,9 +57,13 @@ public class NativeCrashActivity extends Activity {
         mSendLog.setOnClickListener(new Button.OnClickListener() {
             @Override
             public void onClick(View v) {
+                String buildDate = "Build date: " + Util.readAsset("builddate.txt", "Unknown");
+                String builder = "Builder: "  + Util.readAsset("builder.txt", "unknown");
+                String revision = "Revision: " + Util.readAsset("revision.txt", "Unknown revision");
                 AsyncHttpRequest asyncHttpRequest = new AsyncHttpRequest();
                 asyncHttpRequest.execute(Build.BRAND, Build.MANUFACTURER, Build.PRODUCT, Build.MODEL,
-                                         Build.DEVICE, Build.VERSION.RELEASE, mLog);
+                                         Build.DEVICE, Build.VERSION.RELEASE,
+                                         buildDate, builder, revision, mLog);
             }
         });
 



More information about the Android mailing list