Refactor SplitSelectStateController to add testing

Bug: 266482558
Change-Id: I2d62a3a310043710d66a26bc533df2309084b81e
4 files changed