[1/2] InCallUI: unify flip action handler

We cannot share the code since DeskClock is only using
the app API but we can at least share the file :)

PS2
NPE derp

Change-Id: I1c5bfc36c18d00f91dcb5d2dcfe646543efdb205
merge changes from Omni 4.4 into local branch