sysui: refactor for reuse

Bug: 27099709
Change-Id: I44d3abc7dbed0b655efeb1769fa6a2543bc8322e
1 file changed