diff options
Diffstat (limited to 'src/com/android/settings/applications/RunningProcessesView.java')
-rw-r--r-- | src/com/android/settings/applications/RunningProcessesView.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/settings/applications/RunningProcessesView.java b/src/com/android/settings/applications/RunningProcessesView.java index 7dbd8f8..f2d8e9e 100644 --- a/src/com/android/settings/applications/RunningProcessesView.java +++ b/src/com/android/settings/applications/RunningProcessesView.java @@ -115,11 +115,11 @@ public class RunningProcessesView extends FrameLayout } if (uptimeView != null) { - if (mItem.mActiveSince >= 0) { + if (mFirstRunTime >= 0) { //Log.i("foo", "Time for " + mItem.mDisplayLabel // + ": " + (SystemClock.uptimeMillis()-mFirstRunTime)); uptimeView.setText(DateUtils.formatElapsedTime(builder, - (SystemClock.uptimeMillis()-mFirstRunTime)/1000)); + (SystemClock.elapsedRealtime()-mFirstRunTime)/1000)); } else { boolean isService = false; if (mItem instanceof RunningState.MergedItem) { |