Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 34acda1b authored by Scott Mertz's avatar Scott Mertz
Browse files

Add CM version to dropbox entries

Change-Id: Ie318f8b18294a5c7c26ba344a546de81564cc64d
parent 9b2e90cb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -97,6 +97,7 @@ public class BootReceiver extends BroadcastReceiver {
        final DropBoxManager db = (DropBoxManager) ctx.getSystemService(Context.DROPBOX_SERVICE);
        final SharedPreferences prefs = ctx.getSharedPreferences("log_files", Context.MODE_PRIVATE);
        final String headers = new StringBuilder(512)
            .append("CM Version: ").append(SystemProperties.get("ro.cm.version")).append("\n")
            .append("Build: ").append(Build.FINGERPRINT).append("\n")
            .append("Hardware: ").append(Build.BOARD).append("\n")
            .append("Revision: ")
+2 −0
Original line number Diff line number Diff line
@@ -12571,6 +12571,7 @@ public final class ActivityManagerService extends ActivityManagerNative
        synchronized (sb) {
            bufferWasEmpty = sb.length() == 0;
            appendDropBoxProcessHeaders(process, processName, sb);
            sb.append("CM Version: ").append(cyanogenmod.os.Build.CYANOGENMOD_VERSION).append("\n");
            sb.append("Build: ").append(Build.FINGERPRINT).append("\n");
            sb.append("System-App: ").append(isSystemApp).append("\n");
            sb.append("Uptime-Millis: ").append(info.violationUptimeMillis).append("\n");
@@ -12840,6 +12841,7 @@ public final class ActivityManagerService extends ActivityManagerNative
        if (subject != null) {
            sb.append("Subject: ").append(subject).append("\n");
        }
        sb.append("CM Version: ").append(cyanogenmod.os.Build.CYANOGENMOD_VERSION).append("\n");
        sb.append("Build: ").append(Build.FINGERPRINT).append("\n");
        if (Debug.isDebuggerConnected()) {
            sb.append("Debugger: Connected\n");