Turn screen on for call-waiting calls

Normal incoming calls get the screen powered on through the window
flag FLAG_TURN_SCREEN_ON.  However, this only works when the window
is being created or sent to foreground. But for call-waiting cases where
the screen is off and in-call is in foreground, the screen remains off
since the flag is not triggered.

Solution is to look for the case where the screen is off and the new
incoming call is a call-waiting call...and in that case finish() the
activity and create it again.  Since the screen is off, there is no
concern over jank from bouncing the activity.

bug:11031245
Change-Id: Ic0c206d57c9d1ce5beebff49a07c7877f6d1a423
2 files changed
tree: cff83b16ffc484e47aaaf41acd70263685c1afa1
  1. InCallUI/