[TIMOB-18062] Android: Making code clearer for AttributedString