diff options
Diffstat (limited to 'src/com/android/launcher3/WeightWatcher.java')
-rw-r--r-- | src/com/android/launcher3/WeightWatcher.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/android/launcher3/WeightWatcher.java b/src/com/android/launcher3/WeightWatcher.java index 2eac063c0..70b8afea8 100644 --- a/src/com/android/launcher3/WeightWatcher.java +++ b/src/com/android/launcher3/WeightWatcher.java @@ -213,7 +213,11 @@ public class WeightWatcher extends LinearLayout { public void update() { //Log.v("WeightWatcher.ProcessWatcher", // "MSG_UPDATE pss=" + mMemInfo.currentPss); - mText.setText("(" + mMemInfo.name + "/" + mPid + ") up " + getUptimeString() + mText.setText("(" + mPid + + (mPid == android.os.Process.myPid() + ? "/A" // app + : "/S") // service + + ") up " + getUptimeString() + " P=" + mMemInfo.currentPss + " U=" + mMemInfo.currentUss ); |