Age | Commit message (Collapse) | Author |
|
|
|
Gateway information is not available in the Call object. Inside
CallCardPresenter, we use this to show the user dialing information when
dialing out through a gateway. This includes a "Calling via..." notice
above the call state label and the gateway number.
bug: 10393622
Change-Id: Iff1247cd592b0730bb7cfc6d16bd8f60b47f3737
|
|
Feature is incomplete. Ui needs to handle case where there are no text
responses and switch to 2 targets.
Bug: 10424370
Change-Id: Iae59ec0adeea6131374a61abe05031eb29da9ca4
|
|
Bug: 10413514
Change-Id: Id4db77f4417827ce4ecc140ea09f3228154f50de
|
|
Change-Id: I0a0ae18bca3575d10e5b3d113b1e3d878e5c34e0
|
|
- 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
|
|
Many of these changes are verbatim code copies from what used to exist
in services/Telephony. The rest of them are straight logic copies that
should do the exact same things.
New class ProximitySensor manages the proximity behavior. It receives
device state from InCallPresenter, AudioModeProvider, CallButtonPresenter,
and AcceleromterListener, the last of which is a transplanted class from
services/Telephony.
ProximitySensor listens for the following events:
1. Change in the call state
2. Change in the audio mode
3. Change in the device orientation (from AccelerometerListener)
4. Change in the dialpad visibility
5. Change in hard keyboard open/close events.
6. Change in foreground position of InCall UI app.
It uses these to figure out when to enable/disable proximity sensor.
CL that removes code from TeleService: I77e0d15ad1a8f5a090c1368db98edaa246dbcd72
bug: 10366512
Change-Id: I5c2ea6daa9443e7ad77c67f272bc0bafdb060e5e
|
|
|
|
- Fetch image url if present.
Bug: 10359919
Change-Id: Idf2ff5405255f1e90a383902762585ae68249dbe
|
|
Phone app now connects/disconnects from the UI when there are no active
calls but UI did not previously support being disconnected. This change
adds the following functionality to support dis/reconnection:
- CallCommandClient now supports setting new ICallCommandService
instances.
- CallCommandClient now checks if mCommandService is null before
executing a method.
- CallHandlerService performs more careful ordered cleanup with
destroyed including removing pending messages and clearing any
existing calls from the call list.
- InCallActivity now performs tearDown of the presenters with onDestroy
instead of finish() to reduce NPE instances.
- InCallActivity not notifies InCallPresenter when is finishes, and not
just when it starts.
- InCallPresenter tears itself down after two things happen: the UI is
destroyed and the service is disconnected.
- InCallPresenter now issues a full-screen restart of the UI if the
UI was previously hidden (except for new outgoing calls). This allows
the UI to come back to the foreground if it was in the foreground when
the app went down.
The above changes also now protect against the phone app crashing or the
incall UI crashing.
bug: 10363682
Change-Id: I9b785f906f29015827e8e53e64cd5f5c72cd7981
|
|
Changes:
- Add conference call resource photo
- Move logic to determine the name/numbers to show in the Call card
from CallCardFragment to CallCardPresenter.
- CallCardPresenter now tells CallCardFragment if the primary call is
a conference call.
- Updated the primary/secondary call order do that Active Calls are
primary instead of Disconnected calls when both exist.
- Cleaned up some excessive logging.
- The CallCard code uses a whitelist to know which callcard to show.
The change in services/Telephony to add CONFERENCED state is what
causes the new child calls to now show since that is not added to
the whitelist in this CL (by design).
bug: 10334739
Change-Id: Iaeab3f8bc9bda7693fa4a27bb8d3fe5de4dc9dfc
|
|
bug: 10325158
Change-Id: Ie7e89c2e1e3038df89387e99de6849ed12203824
|
|
Change-Id: I2e05a32ab3548e8047cfe504aabcc46d274e2abd
|
|
Adding chromometer support in the notification.
More manual update process for in-call UI (Call card).
Change-Id: I9a1598969d92296dc38b7485bd9fb872ad501e7b
|
|
Move around where ContactInfoCache is created so that StatusBarNotifier
and CallCardPresenter will use the same shared instance.
Change-Id: I6e0a7c48aa7a35a0f1a52b399eb127d69f41a879
|
|
CallCardProvider." into klp-dev
|
|
I will be getting contact info on notifications for the next CL so this
creates a simpler layer for interacting with the contact data async
requester.
CHANGES:
- Moved the code which does the requesting from CallCardPresenter to
ContactInfoCache.
- ContactInfo Cache defines new listening interface and new simpler
object for transmitting the return data: ContactInfoEntry.
- Updated CallCardPresenter to use the new simpler interface.
- Updated some logging entries.
- Simplified Ui interface inside for CallCardPresenter.
Change-Id: Ic802c4e53cdf17fcd37c70deb6da61a78b9d8993
|
|
Change-Id: I33bc1445e9fc515b68205a12d7297a8f3013fecd
|
|
This suppresses the notificaiton if the call isn't active of outgoing.
We also suppress the notification if the user is currently in the
in-call screen.
...except during incoming (ringing) calls...we always show it for ringing calls.
Change-Id: Ib75545339376c62c975c390298ef9567d733b8e3
|
|
Change-Id: I7ba4dd0824f41d9989e36bff10fbfca68596134e
|
|
After this change, there remains only one singleton (InCallPresenter).
The whole system needs to be reworked in a better manner in terms of
build up and tear down.
Change-Id: I393ec648526bc28a3ae709004aed6d4627670549
|
|
Add remaining call-state UI for the callstate label.
Include some bluetooth logic to show an icon for incoming calls.
Change-Id: Iecd9b06fb58baf38f665e70e34014c8026d80f68
(cherry picked from commit 946291cb1bb0ec3b4b7f2939fd93dff15627403d)
|
|
Change-Id: I963f0ce7c695349854b738ae57b39f2c6718e570
|
|
|
|
Change-Id: I971cf9f6ac6d2a49de80d8204870ca62df304f8d
|
|
Change-Id: Iea244033f77835a395fbf639defe73aa09559026
(cherry picked from commit 5e36f26c23c400aa17470e5bb91b1d694a53b648)
|
|
Changes:
- When we get a new outgoing call, fire up the UI (without the
notification) by sending it an ACTION_MAIN intent.
- Fix up the InCallState-setting code in InCallPresenter to be a
little cleaner and accomodate new OUTGOING code.
- Add missing call to set HOLD Ui button
- Fix an occassional NullPointerException in CallCardPresenter.java
Change-Id: I557a777287d9ab25ef1447be63b5da080f1b2532
(cherry picked from commit 4d5c29af103c13e78568dc772d26eb56a3e6d3e1)
|
|
Add UI support, presenter logic and CallCommandClient code.
Change-Id: I3d561b67cbecd9b4672ecef49dad99d1f6b07b11
|
|
Change-Id: I9fc00175d214668e59058a9b0983019457134b12
|
|
Hitting a button when the call just disconnected can cause mCall = null.
Protect against it instead of throwing exception.
Change-Id: I529579b43746c7611bad1209fe4d19a355ae6203
|
|
When the call disconnects, we need to show UI for a short time before
existing the UI.
Change-Id: Iee648b8c54ee4b5ea09cfaec508e1bf8fb8f1643
|
|
- Added the OUTGOING InCallState
- Added support for OUTGOING into InCallState, InCallPresenter, and
StatusBarNotifier.
Change-Id: I49d5a56a4394d05e948b16a82f23e3eb925fd0a0
|
|
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
|
|
* Add various image setting method sto CallCardFragment
* Added AnimationUtils and ContactsAsyncHelper, copied unchanged from Phone
Change-Id: I6175ccc2433a5d0ad8a9bffac678a263ee65622c
|
|
|
|
* CallerInfo, CallerInfoAsyncQuery are copied verbatim from existing
Phone code.
* Added logging methods to Logger to support logging via TAG in static methods
* Only primary caller information (name, phone number and label) are displayed
for now. Secondary caller information and photos are not displayed.
Change-Id: Id4cfdef78f10f7b32255f4892cd51161f37c8be5
|
|
Change-Id: Ibdb279a7dff0db710bcc1d6a313b486f6816ea65
|
|
For the time being, we are attaching bluetooth to "mute".
This will be fixed in a coming CL.
Change-Id: I696dd5adffdc54bc0c69aeaf13a45e0da9fd326a
|
|
Change-Id: I7b230cc46993493459923c436a643910026cf6a6
|
|
- Added StatusBarNotification class to handle notifications
- StatusBarNotification has tons of copied comments from
NotificationMgr.java. Also has minimal code to make the notification
pop up (without call-specific data).
- Moved the UI start-up code from InCallPresenter to
StatusBarNotification. Incoming phone calls need to display an alert
above immersive (fullscreen) foreground activities and the way to do
that is through notifications. The old phone app did the same
thing...finally bringing over that functionality.
Change-Id: I3324503e0d7bb1de00d8e7fab72d4b40519491dd
|
|
Was previously using non-functional disconnectCall().
Change-Id: I14f17290f74434dfb85a7671374d1b6070595394
|
|
Change-Id: I24f68d5ebcfed2740f9645736c35edf17efb4769
|
|
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
|
|
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
|
|
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
|
|
This CL allows the number to be displayed in the CallCard.
Previous interaction:
CallHandlerService->CallList CallCardFragment (isolated, no data)
New interaction:
CallHandlerService->MainHandler->CallList->CallCardPresenter->CallCardFragment
1) CallHandlerService.MainHandler: executes remote method calls on the
main thread.
2) CallList: Added support for listeners.
3) CallCardPresenter: Presenter layer for fragment. Listens to CallList
4) CallCardFragment: Gets real data from presenter, displays phone #.
Change-Id: I6de3a9da15b69d44826c3226701eed6a1b86239c
|
|
|
|
Change-Id: I5290100b93ef56fcd07615e8cd0aeffe443fa4a4
|
|
Change-Id: Ic6a7c88721a881654fb8afa174291415539b586e
|
|
Change-Id: I44884a99dcf90272ae56f1f15490ef7562df1295
|
|
Change-Id: I7905fc90b0fd66cbacc268c861658dd8762cc5c7
|
|
|
|
Change-Id: I80220deb47ec17fbfb017795f916ba0822ea41da
|
|
|
|
Change-Id: I2d3cbd6944423ad80b8b6a603ddbf43f44f9a488
|
|
|
|
Since the server side already has a class named CallCommandService, renaming
client side to be CallCommandClient to avoid confusion.
Change-Id: If8aa1741e45a97b11e6699746a3561227900f792
|
|
|
|
* 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
|
|
Change-Id: If1499f1c80a98abe5b1874f4e92d7959281d1b07
|
|
Change-Id: I1ab36019f4d754ba9bca5a4d24f6292b91f60d18
|
|
- Created a fragment for call card and a fragment for UI.
- Adding corresponding button images.
Change-Id: I5facacd3a4346ab9d9ec2a67a2742dc27dbf5583
|
|
Change-Id: I936341bbad768cc718e27faaef20b498479f0e28
|
|
Also starting pinging animation for glow pad.
Change-Id: Ifac94582b8448c288a07577db02633bf9452ee56
|
|
|
|
Created mvp pattern for answer fragment.
Change-Id: Ibe0c3b5ce2b61a098c2237aab549238fd4518e9b
|
|
This funcitonality is temporary and eventually, we will not answer
the call automatically.
Change-Id: I47d3c0673ae07d9c5a45d357c289bf3bf9b2b9ac
|
|
Along with glow pad for incoming call interaction..
Change-Id: I8d518b5247bee4a10c8fd06763a7e3fe6cff5652
|
|
This will eventually be replaced with actual activity UI.
Change-Id: I3df2a2ad6bb2103925559d6dab4beab04ac6e8b3
|
|
Defines a service to communicate with Telephony Service.
Change-Id: I633cbdae529ff61989f30cebfac240ce5a895687
|