sysui: refactor for extension.

refactor status bar transition mode computation
logic into separate method.

Bug: 28942131
Change-Id: I5f46b6964ab431f009afcb9caf41e69e345090dd
(cherry picked from commit d8c64f23ea7020f9043a8e462b0903131560a875)
1 file changed