| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/packages/apps/InCallUI into cm-12.1
Change-Id: I7d550c092380b050f7cbc714006bc4ed94b08a56
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Ringer should stop while user is selecting response from "respond via
text" dialog.
Bug: 14656360
Change-Id: Ib73e6f10f1bda8363b65391a53e61dc5eb5d8d8d
|
| |/
| |
| |
| |
| | |
Bug: 18292176
Change-Id: I5bcb1838a8423f15ebdf87c945ca91da460506f4
|
| |
| |
| |
| |
| |
| | |
- Compilation issues fix.
Change-Id: I467470b47a4acce1a7dec0f52c120dd4f61b161e
|
| |
| |
| |
| |
| |
| | |
This reverts commit d8b02671675d98c7674b1bb781141c2111a79bb1.
Change-Id: Icfc7c3f882cc0912e8cfad4eda6103369142d69b
|
| |
| |
| |
| |
| |
| | |
This reverts commit dfa54cf281ebe1ec7ea63254812a479b4efb8c04.
Change-Id: Id1a83bab7c666c94c2ce0dfb590da2a775f7c797
|
| |
| |
| |
| |
| |
| | |
This reverts commit c5534a7b1995ed97b66c47791fa60b14add1cc8a.
Change-Id: I33eb3c516f1d40650afdcce625d9151231ab7ca8
|
| |
| |
| |
| |
| |
| | |
- Compilation issues fix.
Change-Id: I15d7851ecc9e2f8dbce3135d16808dcafa83eba5
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 18292176
Conflicts:
src/com/android/incallui/Call.java
src/com/android/incallui/CallButtonPresenter.java
src/com/android/incallui/CallCardPresenter.java
src/com/android/incallui/InCallPresenter.java
src/com/android/incallui/InCallUIMaterialColorMapUtils.java
Change-Id: I6dae81a4eb23b1e98d3769d6f991ed8840aa7c33
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Ringer should stop while user is selecting response from "respond via
text" dialog.
Bug: 14656360
Conflicts:
src/com/android/incallui/AnswerPresenter.java
src/com/android/incallui/CallCardPresenter.java
src/com/android/incallui/InCallPresenter.java
Conflicts:
src/com/android/incallui/AnswerPresenter.java
Change-Id: I5ce8b0c7a7f4d09a2a9378bcc7b646a3a5188451
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Show the glowpad view with all options only when upgrading
from Volte to VT
- For all other cases, show the glowpad with accept/reject only
Change-Id: I41ecbda40db7c3c69428fc4272f8bfbd258e2980
CRs-Fixed: 779208
|
| |
| |
| |
| |
| |
| |
| |
| | |
1. If there is waiting call that is pending user action and
2. Before offering a waiting call
Change-Id: Ic52340de09d71b6d43291b69a1757e717a787370
CRs-Fixed: 748298
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
-Support for showing one way options for incoming upgrade request
-Fix issue where incoming video popup stays on screen even after
rejecting the request.
-Fix issue where incoming video popup stays on even after it has
been timed out by lower layers.
- Answer with different calltypes support.
Change-Id: I971a7e227d4d8a5ec26b2d79126094b0d8786027
CRs-Fixed: 738027
|
| |
| |
| |
| |
| |
| |
| | |
-Add support for upgrade downgrade video calls
-Add support for hold resume and call waiting
Change-Id: If262803e5921d3110b8fb6d88dde3188a1baf3d6
|
| |
| |
| |
| |
| |
| | |
-Add logs for Videocalls
Change-Id: If859776cb4c1373f0d0f8cecdb8b04648f8a1ce5
|
| |
| |
| |
| |
| |
| |
| |
| | |
Compilation fix
Conflicts:
src/com/android/incallui/InCallPresenter.java
Change-Id: I1a8264a74b1925ed34891ebf4e6e77c37f58a7d4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. Provide hooks to deflect call through answer
button in the UI for testing deflect call scenarios.
2. Use system property "persist.radio.deflect.number" to
set the number to which call should be delfected.
Change-Id: I1b3d039a587f6769939743a2fb307cdc6c650837
CRs-Fixed: 713856
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add support to show calls from both subscriptions
in a tabbed view format to user. when ever user
swithces sub, inform telecomm service that subscription
is switched.
Conflicts:
src/com/android/incallui/CallButtonPresenter.java
Change-Id: I3bea71501ce159e189f75db58e710ffc94e8137c
|
|/
|
|
|
|
|
| |
Code changes to support Deflect call feature from UI
Change-Id: I657fb30a558721f0fa14558291b406ac443977b4
CRs-Fixed: 713856
|
|
|
|
|
| |
Bug: 17399771
Change-Id: I9fbc8157e547b2368baa5ebe29001e2a338655a2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Text messages for a call are loaded by an asynchronous task and are
not populated immediately for a new call.
For the first incoming call, this is not an issue because they are
usually loaded by the time Telecomm binds to InCallService, and
the first call is added to InCallService.
For the second(and subsequent calls) however, they are added to
InCallService immediately before the text messages are loaded. This
means that onIncomingCall is called in AnswerPresenter with a null
list of text messages, which causes it to hide the quick response option.
This CL refactors AnswerPresenter to also update the displayed options
when a change in call state occurs, so that it shows the quick response
option when the list of text messages are eventually loaded and sent to
InCallService.
Bug: 17426049
Change-Id: Id5209b91013b52c5ede5a5dcd4db8a981664c285
|
|
|
|
|
|
|
|
|
|
| |
- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.
Bug: 17364651
Change-Id: Ie5ae18f51baa5da2eb9793785ad0c9d83b6343d1
|
|
|
|
|
| |
Bug: 17399771
Change-Id: I54cdbd41df05c932ed8c5a61a9bc7f8eba9c8153
|
|
|
|
| |
Bug: 17179079
Change-Id: I3b327250c181f821ec37d574ae804f8003d04603
|
|
|
|
|
|
| |
Bug: 16416927
Bug: 16494880
Change-Id: If756941a5bdd25ff8ac633a56fe90c894d4a46a4
|
|
|
|
|
|
|
|
|
| |
+ Move session modification listener into the video call presenter.
+ Add new video accept/reject notification and full-screen UI.
+ Added "handling" which sends session modification response.
Bug: 16657915
Change-Id: I35ff04e383d4938cbfb4e76677730f82557fd918
|
|
|
|
|
| |
Bug: 16327484
Change-Id: If4678281e2da1f1c7f0bcb91d496f1fd371be536
|
|
|
|
|
|
|
|
| |
Pass in the desired video state when answering incoming video calls.
Bug: 16013878
Bug: 16015750
Change-Id: I7f46dadfdaa6ab256626d2e2e49971e114f506dd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add isVideo method to the InCallUI call.
- Added cases and actions for isVideo to StatusBarNotifier.
- Added cases for isVideo for processing incoming call in the
full-screen experience in AnswerPresenter.
- Did what I figured would be some cleanup, to consolidate some
helper methods only ever called once, and reorder some methods
to be more alphabetical.
- Added new intent type for video calls (and revised old one for
audio calls), which are dispatched by the StatusBarNotifier and
received by the InCallApp.
- Update icons used, and deleted unused icons.
Bug: 16013878
Change-Id: If0a8d04e2ee6eaf8258ce6a677b22d55a584f9ab
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Refactor code be more flexibile/specific in specifying the targets
for the glow pad; went from "n-way" labeling of different target sets
to more explicit labeling of scenarios, such as "audio without sms".
- Add target sets and cases for showing targest in AnswerFragment.
- Added new drawable for the target to answer a video call.
- Add method to GlowPadView to allow changing the handle (now it may
be either a videocamera or phone icon, depending on the scenario).
- Add a new video handle for incoming video calls.
- TODO: Hook this up to show these glowpads if there is an incoming
video call.
- Deleted some unused resource files.
Bug: 16015750
Change-Id: I77ff08f45f57cd2817866b5d78648af8891bb675
|
|
|
|
|
| |
Change-Id: Ic1eb6fc98e7f030885596c9c40f0ed4f0e34e28b
(cherry picked from commit c90543e6ef64b16b4c1bb240494152bc513f1e36)
|
|
|
|
|
|
| |
Bug: 15275904
Bug: 15196474
Change-Id: Id7125d7803a00a80728e412bba030566a838bbc2
|
|
|
|
| |
Change-Id: I4236543da5648d2cf6ba525c8fc87a93000f50a7
|
|
|
|
| |
Change-Id: Ibacb79658c146466d4f23bfcf7af0ebfb6e84dd0
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the first step in completely moving away from Telephony.
This CL creates a custom Call object. Currently this is just a
copy of the telephony Call object. I'll update various fields
in individual CLs.
This CL also deletes the old Telephony services.
Bug: 13643568
Change-Id: Id1860a5df9706f2a7fddd40e70f0d693af7b04bd
|
|
|
|
| |
Change-Id: I94730e0d628b9573eec2bf69c705599509a185b7
|
|
|
|
| |
Change-Id: I4ea05f03418302bf9eb904bda25844a9c52ea609
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Send commands back to Telecomm when user hits answer/reject
2. Appropriately map Telecomm call states to in-call call states for
call updates sent from Telecomm.
3. Use the working version of CallList.onUpdate(). The one we were using
previously wasn't running in old code and didn't do everything
necessary for supporting the incoming call screen. Added a TODO to
remove it completely later.
Change-Id: I0f1c330a5a68c4004d3102fbab6f20a51a8b029a
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
Bug: 11111553
Change-Id: I8abcae4439e7b9697d7b4a4335e093d7ad13a1b3
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change listens for disconnected calls and if the disconnection
cause matches a set of predefined causes, we show a dialog to the user.
New dialog messages:
- You can\'t make outgoing calls while call barring is on.
- All calls are restricted by access control.
- Emergency calls are restricted by access control.
- Normal calls are restricted by access control.
- Outgoing calls are restricted by FDN.
Several changes were necessary to support this:
1) Dialog code (InCallActivity.java)
2) Notifications for a new disconnect (CallList.java)
- previously we sent a large update for ondisconnect, now we just
send the notice for that particular call. InCallPresenter was
written so that the same thing that used to happen still happens.
3) Check if we need to show a disconnect dialog when the UI comes up.
- I found that FDN disconnection happens so quickly that the
disconnect came before the UI was up, so this was necessary.
(InCallPresenter.setActivity())
4) CallCard should be initialized with disconnecting/disconnecting calls.
- Call Card presenter intializes itself when it starts up using live
calls, but as with the FDN case above, a disconnected call should be
used if no live calls exist. (CallList.getFirstCall())
5) If a dialog is up while an incoming call comes up, dismiss it
automatically so that users can see incoming UI.
- (InCallPresenter.startOrFinishUi())
6) Keep the UI up as long as there is a dialog for the incoming call.
- Previously, UI would come down once all calls were shut down but
in the case of present dialogs, we want it to stay up.
(InCallActivity.finish())
- When the dialog is dismissed, check if we want to tear down UI.
(InCallActivity.onDialogDismissed())
7) Only tear down UI once we are in the NO_CALL state.
- We used to tear down when the activity was null (closed) and the
service was disconnected. This is problematic because a call that
immediately disconnects (like FDN errors) would shut down the service
before the UI had a chance to come up. We added a check to the
conditional for the state NO_CALL before shutting down.
(InCallPresenter.attemptCleanup()).
bug: 10680210
Change-Id: I1fd33dd53dc0eec5a02b7a940cfd018cec3d20c0
|
|
|
|
|
|
|
|
|
|
| |
- ConferenceManagerPresenter needs these two functions to listen to
CallList changes.
- Moves super.onUiUnready() to the top of the onUiUnready methods for
both the AnswerPresenter and ConferenceManagerPresenter classes.
Bug: 10696097
Change-Id: I050071f10ebe5112d9d41192ea8c78593189bd9b
|
|
|
|
|
| |
Bug: 10634748
Change-Id: Iac3d424e7d6be94230da12f3058214b7ca3d8a84
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL rearranges startup and teardown of InCallUI to reduce the number
of race conditions resulting in runtime exceptions and app crashes.
At a high level this CL fixes the following:
- TeleService should be able to unbind and rebind at any time without
causing problems in the UI. (Fixes to InCallPresenter)
- On weird occasions we were seeing secondary UIs pop up if we
rebound while the older UI was still up and one of the UIs would be
orphaned on the foreground.
- call notifications can be sent during (1) activity startup, (2)
activity lifetime, (3) activity destruction, (4) no activity...and
nothing should crash.
- Lots of crashes when notifications came during destruction and
startup. (Fixed setup in InCallActivity + presenters, and
startup/teardown ordering in InCallPresenter)
Details:
(1) InCallPresenter handed out instances of member classes to the UI
classes, but upon unbinding and rebinding, the classes were
recreated. This meant that the activity which was potentially still up
had stale versions of AudioModeProvider and ProximitySensor.
- Classes created/used by CallHandlerService are now singletons so that
they do not change from one bind to the other. If the service tries
to initialize InCallPresenter while the activity is still up (and so
we haven't yet torn down) we reuse the reuse the previous
initialization since there is no need to recreate them, and classes
in the Activity dont ever become stale.
(2) We were recreating new copies of InCallActivity on updates that
occur while tearing down the previous activity. This caused weird
errors where second emptier activities were up after all calls ended.
- Solution to this was to ignore all updates while we are finishing the
activity. When the activity is finally finished, we check if we
should bring up a new activity in case some update came while we were
finishing.
(3) We set listeners on presenters from a parent class that wasn't aware
of UI transitions.
- All Presenters are not responsible for setting and unsetting their
listeners. This allows them to unset them before their UI goes away.
+ renamed HIDDEN to NO_CALLS as hidden was confusing to developers
which associated the term with foreground/backgroundness of the app.
+ Improved some logging
bug:10573125
Change-Id: I2d1af6a6e972b3b3bd93af839054e879f0b74b4f
|
|
|
|
|
|
|
|
| |
- Fixes NullPointerException that happens sometimes when the UI is asked
to bring up the reject with text message popup.
Bug: 10608694
Change-Id: I32b8d9f0e1c115dd07ec6000275a882a4b9e1316
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When the answer screen is shown and destroyed with a back button and then
re-shown via notifications, a new AnswerPresenter is created. But the old
presenter has not been removed as a listener.
Bug: 10566547
Change-Id: I68c621fee81017fa5d0e3e9dde56fabedc3b1d8d
|
|/
|
|
|
|
|
|
|
| |
Toggle reject via text option in glowpad based on the
call's capability.
Bug: 10424370
Change-Id: I5c36e83bc36923b093021c2a5cfd0c6aad3eb0b2
|