Merge "Use DeviceProfile to determine whether to exclude tasks from Recent" into tm-dev