Rewrite the Icon object in TextSelection

Now we are putting a TextClassification object in TextSelection.

So we need to have the same rewrite logic.

Bug: 173512834
Test: atest TextSelectionTest + added CTS.

Change-Id: Ia1939053ec8ec0163e592b89d7b96d95eda9b4f0
3 files changed