diff options
author | Roman Birg <roman@cyngn.com> | 2014-09-11 10:17:01 -0700 |
---|---|---|
committer | Roman Birg <roman@cyngn.com> | 2014-09-11 10:17:01 -0700 |
commit | 0c59015fa2be370118723ed0851c2bbd32b7e87b (patch) | |
tree | 37c50ffefe98dc12733d30efa1aaaa31b59ec7c5 | |
parent | 91acd308b63713ec75bbed0f688cb160e11923eb (diff) | |
download | packages_apps_InCallUI-0c59015fa2be370118723ed0851c2bbd32b7e87b.tar.gz packages_apps_InCallUI-0c59015fa2be370118723ed0851c2bbd32b7e87b.tar.bz2 packages_apps_InCallUI-0c59015fa2be370118723ed0851c2bbd32b7e87b.zip |
InCallUI: fix smartcover always showing answer fragment
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 febe634c..6d461254 100644 --- a/src/com/android/incallui/InCallActivity.java +++ b/src/com/android/incallui/InCallActivity.java @@ -507,8 +507,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] |