Allow additional tags when restoring TaskRecord.

Factory method can override the new method to handle additional tags for
the convenience of restoring additional states.

W/o this change the subclass factory will have to copy the logic from
base class to add additional tags.

Bug: 70029361
Test: go/wm-smoke on sailfish w/o Pip steps. TaskRecordTests pass.
Change-Id: Idc87896479566a2c03c3f87c62b4a83a843a026e
1 file changed