History log of /packages/apps/InCallUI/src/com/android/incallui/AnswerFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
871698737d5d9fdd878ead5399da465f0d887924 10-Oct-2013 Christine Chen <christinech@google.com> Removes stopPing from onSaveInstanceState()

- I don't think it makes sense to do any processing in
onSaveInstanceState() as we are already stopping the ping in
onWindowVisibilityChanged.

- onSaveInstanceState() should solely deal with saving app states
anyway.

Bug: 11156202
Change-Id: If2b17bd10b455899703aa2c8f9d15f04a9bea22f
/packages/apps/InCallUI/src/com/android/incallui/AnswerFragment.java
647462d7ca1cfaf28c76d573bd9a4e11d493a623 08-Oct-2013 Christine Chen <christinech@google.com> Adds support for texting after phone disconnects.

Bug: 11111553
Change-Id: I8abcae4439e7b9697d7b4a4335e093d7ad13a1b3
/packages/apps/InCallUI/src/com/android/incallui/AnswerFragment.java
ef1b5e0afd8e824979d1acda015eda314e61955b 06-Oct-2013 David Braun <dabraun@google.com> Add custom message dialog for Respond via Message.

We don't want to require SMS applications to implement activities that show
over lock just to handle the "respond via custom message" scenario for
rejecting phone calls. This change adds an entry dialog into the phone call
UI. A separate change removes the code in the Telephony service that would
have asked the default SMS app to show UI.

Bug: 11084719 Provide UI for "quick response" messages built into Phone app
Change-Id: I7fcf20280fd3b741aa941cc6a24f5c262db1899b
/packages/apps/InCallUI/src/com/android/incallui/AnswerFragment.java
096a4cb8391f95c0c63a235bae0d8f5b1afa6e82 10-Sep-2013 Christine Chen <christinech@google.com> Fixes repeated adds of "Write your own.." text.

Bug: 10649206
Change-Id: I232756a6c60e38240eba9f4f9f832692b0e6b735
/packages/apps/InCallUI/src/com/android/incallui/AnswerFragment.java
c9e5af452871582679bceae82948e2aa2a26292d 31-Aug-2013 Yorke Lee <yorkelee@google.com> Enable reject via text

Toggle reject via text option in glowpad based on the
call's capability.

Bug: 10424370

Change-Id: I5c36e83bc36923b093021c2a5cfd0c6aad3eb0b2
/packages/apps/InCallUI/src/com/android/incallui/AnswerFragment.java
aacc909ce248a08f84e90c4c84cef10f60154455 30-Aug-2013 Chiao Cheng <chiaocheng@google.com> Automating calls to onUiUnready() in parent fragment.

The code was duplicated un-necessarily in each child fragment.

Change-Id: I619b723c9afc690ff9011fc43367fe5752094fb6
/packages/apps/InCallUI/src/com/android/incallui/AnswerFragment.java
8b6c8d0dbfba6eabe3d835f8cdcec8a13e253d0c 23-Aug-2013 Chiao Cheng <chiaocheng@google.com> Major fixes for in call to work with reverse number lookup.

- Separated caller info data into CallIdentification and switch callbacks to use
it where call state is un-necessary.
- Changed mCallList.update() method to be onIncoming().
- Catch all exceptions from service methods so errors do not vanish.
- Fixed bind failure cases which led to DeadObjectException.
- Changed local contact lookup to only occur for incoming calls.
- Fixed CallCardPresenter to start contact search upon isntantiation instead of
waiting for next call update.
- Convert ContactInfoCache to singleton to avoid race condition where it's not
initialized.
- Handle cases where primary call may be null when we find a contact.
- Fixed race conditions in CallButtonPresenter where audio mode is being set
before ui is ready.
- Fixed race condition in AnswerPresenter where state change was being called
before ui is ready.
- Changes to CallCardPresenter to support lookup for conference calls.

Bug: 10413515
Bug: 10390984

Change-Id: I9fc4f2f35e8f5aad33c301b3c5c93132634cb63c
/packages/apps/InCallUI/src/com/android/incallui/AnswerFragment.java
1a7f2bcab2d2023f2ee4cfb0bc57bc265b5aab87 21-Aug-2013 Chiao Cheng <chiaocheng@google.com> Protect all logging statements.

- Rename global logger so it can be a drop in replacement for framework log
class.
- Remove imports of android.util.Log

Bug: 10411948
Change-Id: I377625263b16c4f9408c79d5c533a1810fa6cde7
/packages/apps/InCallUI/src/com/android/incallui/AnswerFragment.java
1fa0782281ef7774ddcdfdf8efb7d8f65cf589e7 17-Aug-2013 Chiao Cheng <chiaocheng@google.com> Adding interfaces for phone number service.

- Fetch image url if present.

Bug: 10359919
Change-Id: Idf2ff5405255f1e90a383902762585ae68249dbe
/packages/apps/InCallUI/src/com/android/incallui/AnswerFragment.java
a12f2589f424e26c63c8ee5b6fad89e30b69d7fb 07-Aug-2013 Santos Cordon <santoscordon@google.com> Add UI to show when the Call disconnects.

When the call disconnects, we need to show UI for a short time before
existing the UI.

Change-Id: Iee648b8c54ee4b5ea09cfaec508e1bf8fb8f1643
/packages/apps/InCallUI/src/com/android/incallui/AnswerFragment.java
dab149c9b2185be82cbca63cc3980e41444900c0 07-Aug-2013 Santos Cordon <santoscordon@google.com> Audio Routing support in UI

Changes:
- AudioModeProvider - receives audio mode changes from
CallHandlerService
- CallButtonPresenter listens to AudioModeProvider so that it can use
those changes in the UI.
- CallButtonFragment uses the audio mode from Presenter() to display:
- The correct layers for the supported modes
- The popup menu when bluetooth is enabled

Change-Id: I8ec4024f7bbb5e3b1cfdaae20a4dd2f85ae802cf
/packages/apps/InCallUI/src/com/android/incallui/AnswerFragment.java
10196fd2f7cc922693e2a7c6c932725a52157943 07-Aug-2013 Christine Chen <christinech@google.com> Adds support for text messages

Change-Id: Ibdb279a7dff0db710bcc1d6a313b486f6816ea65
/packages/apps/InCallUI/src/com/android/incallui/AnswerFragment.java
5b9034b5b1b48a4339dd2f893a851cc64d6279df 03-Aug-2013 Christine Chen <christinech@google.com> Dialpad Ui elements for InCallUi

Change-Id: I7b230cc46993493459923c436a643910026cf6a6
/packages/apps/InCallUI/src/com/android/incallui/AnswerFragment.java
671b221ccadea34fb9327ef5342b26419eb5ca99 05-Aug-2013 Santos Cordon <santoscordon@google.com> Improve InCall State management

CL Contains the following changes:
- InCallPresenter now manages an overall in-call state
- Other presenters now listen to in-call state changes instead of
getting updates from CallList directly.
- Changes AnswerPresenter to a static fragment instead of dynamically
loading it. It makes code easier and more aligned with other fragments
used in the class.
- Presenters now save the appropriate call and use callId() for commands
sent to the telephony layer.
- Extra logging in CallList
- cleaned up the startup sequence in InCallActivity and moved everything
to onCreate instead of onCreate & onResume

Change-Id: I4ce4182eefcc134bfa16c33be8fe4aefc041f563
/packages/apps/InCallUI/src/com/android/incallui/AnswerFragment.java
4d5c70b96ed0b49d737a7a60d02488681f023450 03-Aug-2013 Santos Cordon <santoscordon@google.com> Fixing incoming call sequence, adding InCallPresenter

Moved handling of AnswerWidget from AnswerPresenter and into the new
InCallPresenter class.

InCallPresenter now also manages a high-level in-call UI state to be
expanded in subsequent CLs.

Change-Id: Ia4fee84db68f7eaedea307b25329dadb8cf754e5
/packages/apps/InCallUI/src/com/android/incallui/AnswerFragment.java
150a5c58c67f230c8fd7293b180bbf50aa761480 01-Aug-2013 Santos Cordon <santoscordon@google.com> Adding multi-call support.

Before this change, the UI came up when we were notified that a new call
came in, but we did not actually look at the call state, etc. This
seemingly worked while we only supported single calls but did not scale.

This change does two main things:
a) Plugs in CallList into the presenters so that they can perform their
logic based on the actual state of the calls (necessary for multi-call
support)
b) Adds Secondary CallInfo UI to the Call Card so that we can display
information foreground and background calls.

As a result of (a) from above, a lot of changes you see will be to
Presenters, which now take their cues from CallList and update their
Ui's accordingly. A problem with this approach is that the presenters
(callcard/buttons/answer-widget) perform their changes independently.
A subsequent change will consolidate interactions with CallList to a
Presenter-Manager class and away from the presenters.

Change-Id: I89d1926fa1eef6f10d897d2ce360f666c8f341f8
/packages/apps/InCallUI/src/com/android/incallui/AnswerFragment.java
241d50d5f523eb0b644d8a9c1cf7fd2eb418ab88 23-Jul-2013 Chiao Cheng <chiaocheng@google.com> Integrating mute and speaker buttons.

* Adding base classes for presenter, ui and fragments.
* Moved common presenter integration logic into base fragment.
* Adding presenter to handle button logic.
* Integrated disconnect and text from glowpad to presenter.
* Changed in-call buttons to be invisible so they do not show under transparent
glowpad.

Change-Id: I446db149769b5cf1abce960ecede01effeabfe1e
/packages/apps/InCallUI/src/com/android/incallui/AnswerFragment.java
7df3ac3f95c9d23396e1319beb6ca34435d965f5 19-Jul-2013 Chiao Cheng <chiaocheng@google.com> Connecting answer call action in UI to service.

Also starting pinging animation for glow pad.

Change-Id: Ifac94582b8448c288a07577db02633bf9452ee56
/packages/apps/InCallUI/src/com/android/incallui/AnswerFragment.java
dba5a7df121b4904b94e14439cca8996d843c1c9 18-Jul-2013 Chiao Cheng <chiaocheng@google.com> Adding fragment and listener for answering calls.

Created mvp pattern for answer fragment.

Change-Id: Ibe0c3b5ce2b61a098c2237aab549238fd4518e9b
/packages/apps/InCallUI/src/com/android/incallui/AnswerFragment.java