diff options
Diffstat (limited to 'src/com/android/settings/applications/RunningServiceDetails.java')
-rw-r--r-- | src/com/android/settings/applications/RunningServiceDetails.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/settings/applications/RunningServiceDetails.java b/src/com/android/settings/applications/RunningServiceDetails.java index d57cd4a..6346ec2 100644 --- a/src/com/android/settings/applications/RunningServiceDetails.java +++ b/src/com/android/settings/applications/RunningServiceDetails.java @@ -92,8 +92,8 @@ public class RunningServiceDetails extends Activity & ApplicationInfo.FLAG_SYSTEM) != 0; ApplicationErrorReport.RunningServiceInfo info = new ApplicationErrorReport.RunningServiceInfo(); - if (mActiveItem.mItem.mActiveSince >= 0) { - info.durationMillis = SystemClock.uptimeMillis()-mActiveItem.mFirstRunTime; + if (mActiveItem.mFirstRunTime >= 0) { + info.durationMillis = SystemClock.elapsedRealtime()-mActiveItem.mFirstRunTime; } else { info.durationMillis = -1; } |