Merge "logd: refactor mLast setting into a GetOldest function"