Merge "Merge "Correct lastId on onCreate with unexpected state" into oc-dev am: aed0c10d52 am: d1942b3abe" into oc-dr1-dev-plus-aosp