diff options
author | Scott Mertz <scott@cyngn.com> | 2016-05-25 15:52:22 -0700 |
---|---|---|
committer | Scott Mertz <scott@cyngn.com> | 2016-05-25 16:06:47 -0700 |
commit | 34acda1ba010a3c572b9e940a03ae82faf77b3fa (patch) | |
tree | 839f590b539bb832b72d2c9e4d1e4597e10dd90f | |
parent | 9b2e90cb5154333dd4da89379bba109afa64f4be (diff) | |
download | frameworks_base-34acda1ba010a3c572b9e940a03ae82faf77b3fa.zip frameworks_base-34acda1ba010a3c572b9e940a03ae82faf77b3fa.tar.gz frameworks_base-34acda1ba010a3c572b9e940a03ae82faf77b3fa.tar.bz2 |
Add CM version to dropbox entries
Change-Id: Ie318f8b18294a5c7c26ba344a546de81564cc64d
-rw-r--r-- | core/java/com/android/server/BootReceiver.java | 1 | ||||
-rwxr-xr-x | services/core/java/com/android/server/am/ActivityManagerService.java | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/core/java/com/android/server/BootReceiver.java b/core/java/com/android/server/BootReceiver.java index 92d5aea..6103ebc 100644 --- a/core/java/com/android/server/BootReceiver.java +++ b/core/java/com/android/server/BootReceiver.java @@ -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: ") diff --git a/services/core/java/com/android/server/am/ActivityManagerService.java b/services/core/java/com/android/server/am/ActivityManagerService.java index 72f8f0e..a78b7f1 100755 --- a/services/core/java/com/android/server/am/ActivityManagerService.java +++ b/services/core/java/com/android/server/am/ActivityManagerService.java @@ -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"); |