diff options
author | Christine Chen <christinech@google.com> | 2013-09-10 15:30:37 -0700 |
---|---|---|
committer | Christine Chen <christinech@google.com> | 2013-09-10 15:31:50 -0700 |
commit | a060bb9eac9ea333b4a3e3ff46631b578b9cd6ef (patch) | |
tree | 219868582f77010328246c76d90bde09c1c8d6bc /InCallUI/src/com/android/incallui/InCallActivity.java | |
parent | 60fc683f685060c575ae070d8573e9d21462c57d (diff) |
Removes call buttons when there is no active call.
Bug: 10678069
Change-Id: Ic9356dff4a1f00fb1aea01f3bd553e2e8844ed83
Diffstat (limited to 'InCallUI/src/com/android/incallui/InCallActivity.java')
-rw-r--r-- | InCallUI/src/com/android/incallui/InCallActivity.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/InCallUI/src/com/android/incallui/InCallActivity.java b/InCallUI/src/com/android/incallui/InCallActivity.java index 38e2a48b6..7d7ca4bad 100644 --- a/InCallUI/src/com/android/incallui/InCallActivity.java +++ b/InCallUI/src/com/android/incallui/InCallActivity.java @@ -273,6 +273,7 @@ public class InCallActivity extends Activity { if (mCallButtonFragment == null) { mCallButtonFragment = (CallButtonFragment) getFragmentManager() .findFragmentById(R.id.callButtonFragment); + mCallButtonFragment.getView().setVisibility(View.INVISIBLE); } if (mCallCardFragment == null) { |