diff options
author | Chiao Cheng <chiaocheng@google.com> | 2013-07-18 19:38:07 -0700 |
---|---|---|
committer | Chiao Cheng <chiaocheng@google.com> | 2013-07-19 12:23:47 -0700 |
commit | f09116f03ffed67363438f32682e692016876321 (patch) | |
tree | 2420835d60fdaaea55d491f5deabe8bb2222662b /InCallUI/src/com/android/incallui/InCallActivity.java | |
parent | cda2dcfccac2498ed52c2fb4c290899b4df22da5 (diff) |
Connecting answer call action in UI to service.
Also starting pinging animation for glow pad.
Change-Id: Ifac94582b8448c288a07577db02633bf9452ee56
Diffstat (limited to 'InCallUI/src/com/android/incallui/InCallActivity.java')
-rw-r--r-- | InCallUI/src/com/android/incallui/InCallActivity.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/InCallUI/src/com/android/incallui/InCallActivity.java b/InCallUI/src/com/android/incallui/InCallActivity.java index ea06af8bd..67fe1ca70 100644 --- a/InCallUI/src/com/android/incallui/InCallActivity.java +++ b/InCallUI/src/com/android/incallui/InCallActivity.java @@ -17,6 +17,7 @@ package com.android.incallui; import android.app.Activity; +import android.app.FragmentTransaction; import android.content.Intent; import android.os.Bundle; import android.util.Log; @@ -54,17 +55,16 @@ public class InCallActivity extends Activity { // Inflate everything in incall_screen.xml and add it to the screen. setContentView(R.layout.incall_screen); - // Initialize the UI - //findViewById(R.id.callCard); - //findViewById(R.id.inCallTouchUi); - //ViewStub stub = (ViewStub) findViewById(R.id.dtmf_twelve_key_dialer_stub); - logD("onCreate(): exit"); } @Override protected void onResume() { logD("onResume()..."); + final AnswerFragment answerFragment = new AnswerFragment(); + final FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction(); + fragmentTransaction.add(R.id.main, answerFragment); + fragmentTransaction.commit(); super.onResume(); } |