improved activity end time inference
Authored by: thibautd 2012-05-10
Parent: [r19493]
Child: [r19495]