Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Correctly hide in-call panel when dialpad is shown
Browse files Browse the repository at this point in the history
Cherry pick of Ia673f7c08abfdf240c792ce6a457c743f0db0b8e

Fixing issue 5497680 Device shows background Incall screen for
fraction of sec in DTMF call pad screen, if power button is turned
ON.

We're calling setInCallScreenMode(NORMAL) from onResume(), which
should take care of dialpad status correctly.

Bug: 5497680
Change-Id: Ib8346cfd5b1c98190d66603b24ceddf234754496
  • Loading branch information
Daisuke Miyakawa authored and The Android Automerger committed Feb 14, 2012
1 parent 5c7d316 commit 512552d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/com/android/phone/InCallScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -3622,7 +3622,11 @@ private void setInCallScreenMode(InCallScreenMode newMode) {
break;

case NORMAL:
mInCallPanel.setVisibility(View.VISIBLE);
if (isDialerOpened()) {
mInCallPanel.setVisibility(View.GONE);
} else {
mInCallPanel.setVisibility(View.VISIBLE);
}
mManageConferenceUtils.setPanelVisible(false);
mManageConferenceUtils.stopConferenceTime();
break;
Expand Down

0 comments on commit 512552d

Please sign in to comment.