- 07 Apr, 2015 1 commit
-
-
Yorke Lee authored
Always show the InCall notification iff there is a live call (incoming, outgoing, active or held). Change-Id: I2fc2a54c92cd0978dcf1bf49b0e8217bf2acc3ec Bug: 20108489
-
- 06 Apr, 2015 3 commits
-
-
Yorke Lee authored
-
Yorke Lee authored
For DisconnectCause.ERROR, finish InCallActivity immediately instead of waiting for the 5s timeout. This is because a dialog is always shown for error cases, so the activity should finish as soon as the user acknowledges the dialog. Change-Id: I87d8cb9c0b7dabb20ed41b0ade13534a56a7a216
-
Yorke Lee authored
Due to a recent framework change, https://googleplex-android-review.git.corp.google.com/#/c/659363/ TextureView will now crash if setSurfaceTexture is called before the TextureView is attached to the window. Use an OnAttachStateListener to call setSurfaceTexture only after the view is attached to the window. Cherry-pick from https://us2-mirror-googleplex-android-review.googlesource.com/#/c/666312/1 Bug: 20071288 Change-Id: I8c443542db6f4a432a097326fdb49607baa55889
-
- 26 Mar, 2015 1 commit
-
-
Rekha Kumar authored
IMS-VT: Upgrade downgrade and hold resume video calls -Add support for upgrade downgrade video calls. -Add support for hold resume and call waiting IMS-VT: Fixed surface caching. Fixed surface caching. IMS-VT: Fixes InCallUI/Dialer crash when there is a VT call. -Fixes InCallUI/Dialer crash when UE is rotated. -Fixes InCallUI/Dialer crash when UE VoLTE call is upgraded to VT. Don't default to speaker phone for VT when speaker is disabled - The adb property persist.radio.ims.audio.output indicates whether speaker is disabled explicitly or not. - If the above property is set to 1, don't enable speaker phone by default in VT call. IMS-VT: Fix CVO, surface and resource related issues. - Send initial orientation to VT Service. - Detect if Activity is being destroyed due to confugration changes. - Close the camera when InCallUI is pushed to background. - Fix surface and VT service related issues when Fragment and Presenter gets destroyed. IMS-VT: Peer Resolution Feature Implementation Change display video size based on peer resolution values received from far end. IMS-VT: Answering calls and upgrade requests as VT_TX and VT_RX -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. Notify listeners of video quality changed event and display message on UI - Add methods to notify listeners of type VideoEventListener when video quality changes. - Display a notification on the UI when video quality changes. IMS-VT: Enable SIP based video multitasking. Enable SIP based video multitasking. IMS-VT: Call data usage feature - Add support for call data usage callback - Request for call data usage stats - Log call data usage stats when IMS layers send update Change-Id: I3f0dde0d82698085fa5d3f110720f10326eca768 IMS-VT: When TTY is ON, do not allow upgrade to VT call When TTY mode is ON, the user SHOULD NOT be allowed to upgrade a call from VOLTE to VT/VT-TX/VT-RX and an UI alert message will be displayed explaining upgrade to VT call cannot be initiated. IMS-VT: Add null check in call upgrade fail scenario Crash is observed if call is ended in the interval wherein handler is started to change state from REQUEST_FAILED to NO_REQUEST after an interval. Added null check to change state only when call exists Propagate call substate message and display a notification on the UI Ims: Reject upgrade request 1. If there is waiting call that is pending user action and 2. Before offering a waiting call IMS-VT: Provide Player State indication to user. Change to display "player started/stopped" toast message whenever video starts/stops flowing IMS-VT: Cleanup video views when not required - Hide video views when not required. Set display size as per current TextureView size - Using TextureView height and width to calculate the display size. - When ever there is change in display make sure that center the display. IMS-VT: Exit VT call full screen mode. If the call is no longer a VT call, then exit full screen mode Change-Id: Ibc4ad8f9a4c38e467820028cdc2c7e68d65fd93c CRs-Fixed: 760925 IMS-VT: Upgrade button fix -Show upgrade/downgrade button only when call is in ACTIVE or ONHOLD state IMS-VT: Show correct call types during video pause -In paused state, upgrade downgrade button does not list the calltypes dropdown box -Remove the paused bit to calculate call type during video paused state. IMS-VT: Move strings for video quality changed indication to resource files IMS-VT: Clean up the showCallSubstateChanged API - Make the code more readable. IMS-VT: Set audio route to Speaker if current route is not bluetooth or headset - We always set the audio route to speaker when we enter video mode. - That is not correct. We should check if headset or bluetooth is connected before defaulting to speaker. IMS-VT: Turn speaker on/off for video calls based on call state changes - Turn speaker on only when video call is active or dialing - Switch back to the previous audio mode when there are no more calls - Make the previous audio mode static so that information persists when the class is recreated (e.g. when UE is rotated or multitasking happens) IMS-VT: Use back camera instead of front camera for VT-TX Set back camera for below cases 1) VOLTE to VT-TX 2) VT to VT-TX 3) Waiting call over Vt-TX call. IMS-VT: Fix upgrade in call waiting scenarios -When one VoLTE call is active and another VoLTE call is on hold and upgrade button is hit, call ends. Fix this upgrade issue. IMS-VT: Enter video mode when the primary video call changes - We only enter video mode when we have any video state changes - Enter video mode should also be called when the video call changes. e.g. When we have a second call with the same video state, we don't enter video mode which is incorrect. This change fixes the issue Add null check for InCallActivity in setInCallAllowsOrientationChange - In some cases, this API is called when InCallActivity is null. This causes a null pointer exception. Fix is to add a null check. IMS-VT: Fix check for VOLTE call (AND to OR) when turning speaker on IMS-VT: Check if call is video before enabling speaker in updateAudioMode - Moved the video call check to the correct block where we are enabling speaker IMS-VT: Get call substate values correctly from the bit mask - We were getting the call substate incorrectly as an int. - Fixed that by getting it from the bit mask and using the possible multiple values to display the call substate message. IMS-VT: Keep the screen on during video calls. UI screens times out after some time. During video calls the screen must be kept on. Change-Id: Icaa8662210b2dd323b29f4a472869a9ed1e01d00 IMS-VT: Open front facing camera for VT calls. Open front facing camera for VT calls. IMS-VT: Show manage conference button for Video Call - We show the manage conference in a separate section for VOLTE Calls. - In the case of Video Call, the entire screen is occupied by the far end video. So we display manage conference in the overflow section of the call button fragment. IMS-VT: Fix camera preview freeze for CONF video calls. Fix camera preview freeze for CONF video calls. IMS-VT: Move persist.radio.ims.audio.output to frameworks Move persist.radio.ims.audio.output and related constants to TelephonyProperties and PhoneConstants so that these can be accessed from multiple git projects instead of redefining. IMS-VT: Multiple video call fixes/optimizations. -Current implementation clears primary call cache upon exiting video mode. This will remove video call provider interface as well, which will prevent further communication with the backend. Don't clear primary call cache upon exiting video mode. -Unregister call details listener when UI transitions into unready state -Send surface of incoming video to video call provider before opening camera. IMS: Cleanup all listener objects Clean all stale listener objects to avoid the memory leak. IMS: Fix speaker icon display issue in Call UI. In few devices, InCall UI can show upto five buttons in a row. Modify code to display at most five buttons in a row. Show overflow menu if number of buttons is more than five. IMS-VT: Show glowpad view with accept/reject for most video upgrade cases - 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
-
- 25 Mar, 2015 2 commits
-
-
Andrew Lee authored
automerge: 1a3d05dc * commit '1a3d05dc': Don't show SSID for Wi-Fi calls.
-
Andrew Lee authored
- Delete wifi icon and method to get SSID. + Use labels provided by StatusHints instead. I'm not very happy with the additional "isWifi" cases I ended up adding in call card fragment. I felt this was necessary because of assumptions in some cases that if a label is provided, it should be formatted as a phone account source. While this was true before, it's becoming less so. I feel like the fragment shouldn't have to worry about formatting or choosing the label based on the call and conditions. It should just display the label if it thinks it is appropriate to show a label given the call state. To fix that, it seems like logic should be moved to the presenter instead, and possibly to Telephony. But, I'm hesitant to do that until these WFC changes back merge to master because of potential merge conflicts and its slightly more risky for this branch, because it starts dealing with logic/flows outside of WFC.. Bug: 19866988 Change-Id: Iacd5a09259c84ea7be28b0170ae603eb9561f7ca
-
- 20 Mar, 2015 1 commit
-
-
Yorke Lee authored
Bug: 19728020 Change-Id: I6e5259c63553de9e5060621bcc749d1039b67ea1
-
- 19 Mar, 2015 2 commits
-
-
Andrew Lee authored
automerge: c5722b46 * commit 'c5722b46': Finish activity before reveal if not setup.
-
Andrew Lee authored
This seems to be happening because it tries to start the circular reveal before the InCallPresenter has been configured to start a call. This is an error case; finish the activity to try to resolve it more gracefully. Bug: 19719403 Change-Id: I83240b88b7015d8709d5b4cb56a099a68c9c15ca
-
- 13 Mar, 2015 1 commit
-
-
Matthieu Baglin authored
This is fixing multiple deficiencies affecting video call upgrade or downgrade in the L MR1 InCallUi. Change-Id: I61bf7efa6ac23859c900dfd059faf72184987943 Signed-off-by:
Matthieu Baglin <matthieu.baglin@intel.com>
-
- 11 Mar, 2015 4 commits
-
-
Tyler Gunn authored
- In CallCardPresenter#setCallbackNumber() check for the case where a call has CAPABILITY_SHOW_CALLBACK_NUMBER. Use this to trigger showing the Emergency Callback Number (the ECM is only shown on outgoing calls if the user has a dark number). Bug: 18689292 Change-Id: I94391e3be3360982742ce961272b680d0eaa32a5
-
Andrew Lee authored
automerge: 5f2de0f1 * commit '5f2de0f1': Correct capitaliztion of "wi-fi" to "Wi-Fi".
-
Andrew Lee authored
Change-Id: I4ce0898dbae20ac26d1e12db9e9aa094c537e230
-
Andrew Lee authored
automerge: 6c5be778 * commit '6c5be778': Indicate wifi for incoming calls.
-
- 10 Mar, 2015 2 commits
-
-
Andrew Lee authored
This is done in the call card by showing the wifi icon. This is done in the notification, by change the subtext. For international calls in particular, this helps users understand how accepting a phone call will affect the cost of their call. Change-Id: Ifebd9f9cc8598b7fe5b693673b27a485f7ecdf0f
-
Matthieu Baglin authored
This patch resolves some issues in video call establishment on L MR1 InCallUi. Change-Id: Ib72894f7e81932200b09b9995d169ef1124fc5b5 Signed-off-by:
Matthieu Baglin <matthieu.baglin@intel.com>
-
- 09 Mar, 2015 1 commit
-
-
Matthieu Baglin authored
When the video call is disconnected, the camera would still be opened without this fix. Signed-off-by:
Matthieu Baglin <matthieu.baglin@intel.com> Change-Id: Ie69fb87412c53e4c6072d998d3e3b067c4c8ba0f
-
- 18 Feb, 2015 1 commit
-
-
Andrew Lee authored
+ Add Wifi icon and network label, to be shown when CAPABILITY_WIFI is present on the primary call. Assume we can infer the network label from the connection info returned by the WifiManager, supposing that the phone can only be connected to one wifi network. + Add helper to strip quotation marks from wifi network name. + Reposition HD audio icon beneath the name, and to the left of the number/location information. + Adjust assets and layout of call state and hd audio icons, to center them in a more visually pleasing way in the view. Bug: 19151850 Change-Id: Ic23d1e744960e80b65bc34a8e709266af508fe21
-
- 28 Jan, 2015 2 commits
-
-
Geoff Mendal authored
* commit '0666a43b': Import translations. DO NOT MERGE
-
Geoff Mendal authored
Change-Id: I90714357d8a8507d7505758afdae0883a5e85717 Auto-generated-cl: translation import
-
- 26 Jan, 2015 1 commit
-
-
Nancy Chen authored
-
- 25 Jan, 2015 1 commit
-
-
Nancy Chen authored
Because emergency calls are always made from the SIM in slot1, when slot2 has the SIM set for default outgoing call, the InCallUI currently thinks the emergency callback number is different from the number being called from (the code only uses the default number). The fix is to check the line 1 number of the phone account being used instead of the default phone account. Bug: 19087382 Change-Id: I90a096f63493affea979689c7ad188eec7109c08
-
- 22 Jan, 2015 1 commit
-
-
Tyler Gunn authored
Merge "Ensure sim color is shown on multi-sim devices when only one sim installed." into lmp-mr1-dev
-
- 20 Jan, 2015 1 commit
-
-
Nancy Chen authored
-
- 19 Jan, 2015 1 commit
-
-
Geoff Mendal authored
Change-Id: I489439c981d6dca20352208406491bcfdfd89354 Auto-generated-cl: translation import
-
- 17 Jan, 2015 1 commit
-
-
Nancy Chen authored
Padding was added to the sides of the call button row in order to prevent false touches. However, this additional padding causes cropping of the background on the two buttons on the far left and far right when all 5 buttons are present on low resolution devices. Since on high resolution devices there is more than enough extra space on the left and right, this padding is being removed to eliminate cropping. Bug: 18122087 Change-Id: Ie948d9cbe4ef7025702ae1f4666354ab1be76bbc
-
- 14 Jan, 2015 1 commit
-
-
Andrew Lee authored
+ Convert Audio Button into a ToggleButton, and update its content description depending on whether its acting as a toggle for speakerphone, or if it's acting as a menu button to select from more than two audio output modes. + Set custom style on ToggleButtons with null background, to override the default ToggleButton styling which was causing shadows. - Delete CallToggleButton, which did some hacky things with the content description and accessibility. - Delete helper method which abused TYPE_ANNOUNCEMENTS. Rely on default TalkBack behavior for ToggleButtons to read on click. - Delete unused accessibility strings. The states these were formerly read out for will now be handled by a combination of button labels and default TalkBack behavior. The UI (without TalkBack) behaves the same after these changes. The behavior with TalkBack after these changes is that the audio (when toggling for speakerphone), mute, and hold buttons will generally read "speaker/mute/hold button (not) checked" when explored by touch depending on their state. They will read "speaker/mute/hold" when clicked. If more than two audio modes are supported, the audio button will read "<mode> button checked", where <mode> can be speaker, bluetooth, handset, or earpiece. When clicked, it will open the audio pop up menu and read that there are # options displayed on the screen. This is combines the ToggleButton and PopupMenu Talkback behavior, since this is a custom widget. Bug: 18783204 Change-Id: I27363c697bb018b5f87ad2e27678f8db6d93b2e7
-
- 09 Jan, 2015 3 commits
-
-
Andrew Lee authored
-
Andrew Lee authored
This fixes bad alignment in RTL languages. Bug: 18009146 Change-Id: I8691b5e017363158c6933f4b4e55c2c16ca3a2ac
-
Mick Lin authored
For buganizer #18847828 Dismiss the conference management screen when call incoming. Change-Id: I470d059ae69a5a54b54de6be12b4fe335c23b8f1
-
- 08 Jan, 2015 2 commits
-
-
Tyler Gunn authored
-
Tyler Gunn authored
Bug indicates a crash occurred when trying to separate a call from a conference call. The exception thrown was due to calling "setText" on mSecondaryCallProviderLabel when it was null. Although I was not able to reproduce this situation, it appears it would be possible for showAndInitializeSecondaryCallInfo to not set the mSecondaryCallProviderLabel reference when then mSecondaryCallName is initially set if the hasProvider flag is false at the time. If hasProvider becomes true in the future since mSecondaryCallName is already initialized, the code to initialize mSecondaryCallProviderLabel would not run, causing the NPE. I have restructured the code to ensure that this type of scenario is handled appropriately. Bug: 18917883 Change-Id: I837d96aad7ed98729490d95beb897b08e1b08365
-
- 07 Jan, 2015 2 commits
-
-
Andrew Lee authored
+ Add CallToggleButton which ignores the content description so that we can substitue our own strings to be read by Talkback when the user clicks on buttons. + Convert ImageButtons with two states into ToggleButtons, so that when focused Talkback automatically reads out their states. For example, now it will read "Mute switch is (not) checked". This required updating some casts and references in the fragment. + Set baselineAligned property for call buttons to false. Because ToggleButtons could have text, it was attempting to align by text baselines which messed with the layout. - Remove a compound button listener which is not used. Bug: 18783204 Change-Id: I0b23f5f63a2bf7c34a34077a75a23ea92dc45bbc
-
Ihab Awad authored
-
- 06 Jan, 2015 1 commit
-
-
Tyler Gunn authored
- Removed telecomManager check hasMultipleCallCapableAccounts() which would only return 1 when a single sim is installed in a multisim phone. - For single-sim devices, the Sim color is 0 (ie not selected) for the Sim PhoneAccount, so the default behavior is to not show a sim color. Bug: 18696518 Change-Id: I3968e181a41244092d2058fcf3dc8d627d12b412
-
- 30 Dec, 2014 1 commit
-
-
Nancy Chen authored
-
- 23 Dec, 2014 2 commits
-
-
Nancy Chen authored
Currently the call duration in the InCallUI is read as a time. It should be read in terms of hours, minutes, seconds. Updated contentDescription to match this specification. Bug: 18761699 Change-Id: I5b6eded63471c905638e05a5b5336403568f77e9
-
Yorke Lee authored
-
- 22 Dec, 2014 1 commit
-
-
Ihab Awad authored
Bug: 18797453 Change-Id: I81d75a145db9303cd77cb0bc14abaed788f0c5b8
-