diff options
| author | Roman Birg <roman@cyngn.com> | 2014-09-11 10:17:01 -0700 |
|---|---|---|
| committer | LorDClockaN <davor@losinj.com> | 2014-09-11 22:19:34 +0200 |
| commit | 860defbd93edaf8b784f341e11d69d68ac8e9078 (patch) | |
| tree | 79545711519de99f70516b035d872d178c14fd02 | |
| parent | 16b33c01e4bc0ac88648676b8eac359f0e2bd1b9 (diff) | |
InCallUI: fix smartcover always showing answer fragmentkitkat
It seems the deleted lines were causing the issue as InCallUI properly handles logic for
showing and hiding the fragment itself.
Change-Id: I1d45b49ae48931adf48faa555296a467373e9247
Signed-off-by: Roman Birg <roman@cyngn.com>
| -rw-r--r-- | src/com/android/incallui/InCallActivity.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/com/android/incallui/InCallActivity.java b/src/com/android/incallui/InCallActivity.java index ff958e92..b61da898 100644 --- a/src/com/android/incallui/InCallActivity.java +++ b/src/com/android/incallui/InCallActivity.java @@ -460,8 +460,6 @@ public class InCallActivity extends Activity { } protected void showSmartCover(boolean show) { - mAnswerFragment.getView().setVisibility(show ? View.INVISIBLE : View.VISIBLE); - DisplayMetrics metrics = getResources().getDisplayMetrics(); final int windowHeight = mCoverWindowCoords[2] - mCoverWindowCoords[0]; final int windowWidth = metrics.widthPixels - mCoverWindowCoords[1] |
