summaryrefslogtreecommitdiffstats
path: root/src/com/android/incallui/CallCardFragment.java
Commit message (Collapse)AuthorAgeFilesLines
* IMS-VT: Update end button position onPreDraw of secondary call infoNivedita Sarkar2016-05-201-1/+9
| | | | | | | | | | | | | | | | | | | | - Update floating end button position when onPreDraw of secondary call info is called and updated secondary height is passed in Change-Id: I14e66305e907c05c16a3aa13d0db9af16f66eb05 CRs-Fixed: 926532 IMS-VT: Don't animate secondary call info if visibility hasn't changed - Return from setSecondaryInfoVisible if visibility hasn't changed and wasVisibile and isVisibile flags are both true or false - This fixes the issue where secondary call info is animated for the above scenario as well leading to hold call disappearing for a very short time Change-Id: I7416decd83bc161fc5e135bdc8b05e6acf9a2f6a CRs-Fixed: 923927
* Fix the extra-info container's overlap with dialpadRohit Yengisetty2016-05-191-5/+9
| | | | | | | | | | We now toggle the elevation of the extra-info container based on the visiblity of the Dialpad fragment. The container's properties have also been modified to adhere to the project's redlines. Issue-Id: OPO-723 Change-Id: If2a4cf52f2eacb2930e3cf8aaaa1a2d93cf144ca
* Minor bug fixesRohit Yengisetty2016-05-171-0/+1
| | | | | | | | | | | | | | | - alignment of lookup status message within call card fragment - spam text in call notification - toggle visibility of attribution logo as it was split from the attribution text into its own view - properly handle non-successful responses within ContactInfoCache for lookup requests Change-Id: I5d3bf2e9510b9f289f81e0a930ffc3b142f49de8 Issue-Id: OPO-726
* Fix glitches in the rendering of contact-info Provider's logoRohit Yengisetty2016-05-101-9/+7
| | | | | | | | | There are instances where the size of the drawable abruptly changes while navigating into and out of InCallActivity. This resizing leads to the login being partically drawn or clipped. Eliminating this inconsistency by moving the logo drawable into an ImageView. Change-Id: Icdcc3100ac9e28cfd5749d04ca935fbea396bbd2
* Move Mod plugins out of CallButtonFragment to ModButtonFragmentStephen Bird2016-05-091-0/+6
| | | | | | | | Things were getting crowded. Add a new button bar explicitly for plugins. Tickets CD-592 & NOTES-101 Change-Id: I1bdf074d8e3417161eb29cf05140016b084c5006
* Port VoLTE support from InCallUINext to InCallUIKamaljeet Maini2016-04-081-0/+12
| | | | | | | | Modified call card fragment to show VoLTE label when call is made using VoLTE Change-Id: I14621c43608afa99e2737d887ab0d7154863f74b Issue-Id: DIALER-720
* Adjust end call fab relative to invite snackbarRichard MacGregor2016-04-081-1/+10
| | | | | | Requires http://review.cyanogenmod.org/#/c/133551/ Change-Id: I40f94944c5c45106ce2f2fdff97420f56d3f19ef
* Add LookupProvider to ContactInfoCacheRohit Yengisetty2016-04-081-4/+81
| | | | | | | This provides the ability to query a LookupProvider for information about non-contact callers Change-Id: I8b848d80ed77307b0359e41bacf908edb9854387
* Re-add call recording feature.Danny Baumann2016-02-101-0/+46
| | | | Change-Id: I44f766b2ef52d76ace65a9603401ba3368f674b1
* Proper supplementary service notification handling (5/5).Danny Baumann2015-12-111-13/+27
| | | | | | Map some pieces of information provided by SSN into the UI. Change-Id: I6650102a9c464b6c1eb8bfc5a30a12fe68a1cfef
* Merge branch 'LA.BF64.1.2.2_rb4.7' of ↵Steve Kondik2015-11-161-0/+7
|\ | | | | | | git://codeaurora.org/platform/packages/apps/InCallUI into cm-13.0
| * InCallUI:Show the correct text for each clear codekaiyiz2015-11-091-0/+8
| | | | | | | | | | | | | | Modify to make UI toast the correct text for each code Change-Id: I56017fe964cebdd296d897a0da218c034323e7f5 CRs-Fixed: 801884
* | Merge tag 'android-6.0.0_r26' into HEADRicardo Cerqueira2015-11-051-7/+66
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | Android 6.0.0 release 26 Conflicts: res/values/strings.xml src/com/android/incallui/Call.java src/com/android/incallui/CallCardFragment.java src/com/android/incallui/CallCardPresenter.java src/com/android/incallui/StatusBarNotifier.java Change-Id: Id922c35f6802ae6205b8bfa7002d9585c940d3f9
| * Make sure to clear PulseAnimation correctly in InCallActivityYorke Lee2015-09-011-4/+3
| | | | | | | | | | | | | | | | An orphaned animation causes unnecessary frames updates in RenderThread. Bug: 22934313 Change-Id: I3b3fb433eb830c3bc05430eb1da4d72c178ddd62
| * Show "Note sent" toast when starting outgoing call with a note.Tyler Gunn2015-08-051-0/+6
| | | | | | | | | | Bug: 22685114 Change-Id: Icc84b3639d7a5d4cf4faaa2db5ed70f2d9b2e967
| * Last forwarded number and incoming call subject.Tyler Gunn2015-08-051-4/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Last forwarded number: - Added assets for the "forward" icon for last forwarded number. - Modified InCall Call to store last forwarded number; also calls onLastForwardedNumberChange callback (the last forwarded number is received via a supp service update, so may change after call starts). Call subject (i.e. instant lettering): - Added placeholder subject_bubble asset to form the chat bubble for incoming calls with a subject. - Modified InCall Call to store the call subject (expected to be populated in extras at start of call. - Added code to hide the call status (e.g. "incoming call via XYZ") line and primary call label (e.g. a location "California", or the number type "Mobile" for the number). This was necessary to make room for the call subject bubble, and is in line with the UX mocks. - Change call subject text color to background color of call card (per UX mocks) - Modified call notification to show call subject if it is specified. - Moved code to show HD icon into common method. Bug: 22685114 Change-Id: I22d9dae16658490e3245cfdd9c936bb0584cd6db
* | IMS-VT: Fix VT_RX paused state fullscreen modeRekha Kumar2015-10-061-58/+63
| | | | | | | | | | | | | | | | | | - When in VT_RX paused state, UI does not respond to user touches to alternate between fullscreen mode and regular mode with Call buttons. Fix UI unresponsiveness. Change-Id: I69c13035b880ba8407c2ab1efae09bf53389a7e0 CRs-Fixed: 893477
* | Fix race condition for secondary call hide/show during call swap.Muhammed Siju2015-10-061-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Secondary call info view is hidden/shown with a sliding animation. When there is a show request received while view is being hidden, the request is ignored, since the view is still visible. This results in secondary call view to disappear sometimes during back to back call swap scenarios. As a fix, ignore the check for visibility change. Always handle the set visibility request for secondary call info irrespective of the current state. Change-Id: I37ed2b153345246f863a13e0127283b48706bdcb CRs-Fixed: 893837
* | IMS-VT: Update callStateLabelRavi Paluri2015-10-061-3/+6
| | | | | | | | | | | | | | | | Update callStateLabel such that it holds both network name and call specific supplimentary service strings Change-Id: I56532682cdeeb83eed157481909366c2dbf84319 CRs-Fixed: 848321
* | Show dialpad button for VT calls, cleanup dialpad on rotation.Tyler Gunn2015-10-061-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Show the dialpad button for VT calls (this was easy). 2. In testing I realized there were some other dialpad scenarios that did not work properly: - The dialpad visibility state was not properly restored after rotation. - The auto-fullscreen code could hide the call card when the dialpad was showing, resulting in an inability to hide the dialpad. - In landscape it was possible to tap between the call card and the dialpad and cause the call card to be hidden. - If user goes to background in fullscreen mode and then opens dialer and chooses to show the dialpad, the app is still in fullscreen and it is not possible to hide the dialpad. 3. Noticed an issue related to the fact mIsFullScreen in InCallPresenter is static, and after rotation you're always defaulting to not fullscreen. Fixed by clearing fullscreen state on rotation to match actuality. Bug: 21296950 Change-Id: I8549ad0e6b2357bd5795cb02f867c08c58ee5762
* | Fix presentation of "held" banner in landscape mode, plus more!Tyler Gunn2015-10-061-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Removed landscape video_call_views.xml file; it was identical to the portrait version but missing some recent changes. This corrected an issue I observed with the preview surface not rotating properly. 2. Changed layout of landscape call_card_fragment so that the secondary call info box is a banner along the bottom of the screen and the call card adjusts to fit above it. The trick is to put that view before the primary call card in the relative layout and mark the primary call card to "layout_above" the secondary call info. 3. Fixed issue observed when transitioning from portrait to landscape where the secondary call card OnPreDrawListener would keep firing. Changed the way the OnPreDrawListener is removed per Yorke. 4. Corrected issue where the preview surface would not change to a landscape orientation when the device is rotated. Ensured when starting up the VideoCallPresenter to adjust the orientation of the surface. Bug: 21076775 Change-Id: I7bf1f3b0385b016a6ee2312df0d41be89cd2540e
* | VT UX CleanupTyler Gunn2015-10-061-7/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixing two issues: 1. Contact photo shows behind video surface. Refactored logic in VideoCallPresenter to determine if video surfaces are showing/hidden and call this from CallCardPresenter in order to determine if the contact photo should be visible. 2. With contact photo hidden, background activities show through instead. Added a black background color to the incall_screen to solve this. Conflicts: src/com/android/incallui/VideoCallPresenter.java Bug: 21192340 Change-Id: I45a88ba47ffa80f25bcee5b8d4f8e9b0de04f602
* | Fix issue where secondary call info overlaps video preview.Tyler Gunn2015-10-061-10/+98
|/ | | | | | | | | | | | | | | | | | Other issues: - Secondary caller info should not be shown when in fullscreen mode. Solution: - Added onSecondaryCallerInfoVisibilityChanged to InCallEventListener ( which is documented as a place for events between fragments). - In CallCard fragment, call notify listeners of this callback of the state change. - In VideoCallPresenter/Fragment, handle changes to the visibility of the secondary caller info box to shift the preview surface up or down. - Added hide/show animation for the secondary caller info when entering and exiting fullscreen mode. Bug: 20914754 Change-Id: I32ccccd6d881c494688de6d9a965f80c43d50e79
* Disable LayoutTransition.CHANGINGYorke Lee2015-07-101-10/+0
| | | | | | | | | | | It is not really useful and is distracting when a lot of information changes happen at once. Other animations (like fading in of elapsed call time) will still continue to work. Bug: 22274741 Change-Id: I303f776a6873dab3d07569a2518fda039d64becf
* Correctly handle accessibility for incoming/outgoing callsYorke Lee2015-06-261-10/+25
| | | | | | | | | The previous behavior relied on WINDOW_STATE_CHANGED events to announce outgoing/incoming calls, at which point in time the CallCardFragment was not guaranteed to be non-null. Bug: 20172391 Change-Id: I65bf86bc1a5edf5430ae5aabcb3535f42d1ccb08
* Switch hanodff broadcast from click to long pressSailesh Nepal2015-06-151-2/+3
| | | | | | | | | | | | | Nova Wi-Fi calling allows you to switch between Wi-Fi and cell by clicking on the status label. Unfortunately many users are accidentally triggering this with their face. As a work around I'm switching the trigger from click to long press. Change-Id: I68d7c597cf4d74a3f6b5bfee06e470b4ddcfc1ee
* API Cleanup: Remove references to VideoState.Tyler Gunn2015-06-031-2/+2
| | | | | | | Replace method references from VideoState to VideoProfile equivalents. Bug: 21573551 Change-Id: I3c5c55652e0dd12df97eac42f1791f8b67dbac5c
* Merge "Rename PhoneNumberUtils APIs" into mnc-devBrian Attwell2015-06-021-7/+3
|\
| * Rename PhoneNumberUtils APIsBrian Attwell2015-06-021-7/+3
| | | | | | | | | | | | | | In response to more API review. Bug: 21571895 Change-Id: Ia1fa69da07a3427997919ba61c77fcbad7e79f2a
* | Fix call duration talkback verbalization.Andrew Lee2015-05-261-5/+5
|/ | | | | | | | | | | | | + Uncomment code which generates content description. + Pass in local context, rather than System context, for getting the plurals resource strings. This fixes a crash happening in languages even if correctly translations existed. + Catch Resource.NotFoundExceptions in the utility which generates this human-readable string so that for locales missing the translation we don't crash the whole Dialer. Bug: 20813003 Change-Id: I861078a116d2d31f3ac361757a14581726a78f1c
* Handle fullscreen mode toggle when tapping contact photo.Tyler Gunn2015-05-121-0/+6
| | | | | | | | | | | 1. Moved the fullscreen mode state tracking and logic from VideoCallPresenter to InCallPresenter (since it is more to do with the entire InCall UI rather than just the video presenter). 2. Added click handler for the contact card to toggle fullscreen video mode. Bug: 20912417 Change-Id: If1656365f7fcfcee5a902c7f5d5d2862edee1661
* Fix NPE for video card when VT not activeEtan Cohen2015-05-071-0/+3
| | | | Change-Id: I5a88be1a3d463fd2570b98144f9caa626c8dc3bb
* DO NOT MERGE Video call upgrade/dowgrade request changes.Tyler Gunn2015-05-051-25/+108
| | | | | | | | | | | | | | | | | | | | | | - fixed potential NPE in VideoCallFragment when setting preview size. - moved photo load into the postExecute for the async task -- it is already threaded and I was seeing intermittent concurrency issues. - Changed CallButtonFragment to retrieve max # of buttons from config.xml. - Added override for wider screens (e.g. N6 and wider) to show an extra button. - Reorganized call buttons so that the "Camera on/off" button is adjacent to the flip camera button. - Changed answer Glowpad to pass correct video state so that accepting a video request uses the correct state (important for accepting requests to turn camera back on). - added new Session modification state REQUEST_REJECTED for when the remote user explicitly declines the request. This is used to trigger a "video request rejected" message when the remote party rejects the request. Bug: 20257400 Change-Id: Ibe25eb045ee868748f91bf411f285629d36ebcd2
* Merge commit 'a099cac' into merge2Etan Cohen2015-04-241-8/+12
|\
| * Show IMS Conference StatusHints in InCall.Andrew Lee2015-04-161-8/+12
| |\ | | | | | | | | | | | | | | | | | | automerge: 1838e77 * commit '1838e77845e2ba822bc7f510515b50cf00ddc2a4': Show IMS Conference StatusHints in InCall.
| | * Show IMS Conference StatusHints in InCall.Andrew Lee2015-04-151-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A lot of this logic for figuring out what label should be shown seems like it should be determined in the presenter, rather than passing through all this information to the fragment, but it can be cleaned up at another time. + minor layout tweak. Bug: 20181703 Change-Id: I392ce7cffc8c05eb94859892e899ce7c693895aa
* | | Temporarily disable code that uses pluralsYorke Lee2015-04-201-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Using plurals currently causes a ResourceNotFoundException because the translated counterparts for all languages must be submitted first. Temporarily disable this codepath. Bug: 20427882 Change-Id: I3a8c565bc704443fe1766e9311952481a25a2295
* | | Merge "Remove use of VideoProfile.VideoState.isVideo"Yorke Lee2015-04-201-2/+2
|\ \ \
| * | | Remove use of VideoProfile.VideoState.isVideoYorke Lee2015-04-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't further increase API surface, make this a utility method in our own package instead. Change-Id: Ib7036b20980afcb5d0fdb1c03c6d943ab9d7ece7
* | | | Make createPresenter() and getUi() public.Andrew Lee2015-04-161-2/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | ... and update the visibility of their overriden instances. This allows us to create fragments with the BaseFragment/Presenter fragment which do not live in the incallui root directory. Bug: 20300758 Change-Id: I7f9b1c630538a04ca773ba155e5fb8efd6cf6af7
* | | Add Trace.endSection backYorke Lee2015-04-161-2/+3
| | | | | | | | | | | | | | | | | | Lost in bad mwd-master merge Change-Id: I3556ae854b664c5254d62a00b156f14f35e52f3d
* | | am b04d61a..697f674 from mirror-m-wireless-internal-releaseVinit Deshpande2015-04-151-19/+18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 697f674 Fix orientation of preview surface when device rotated. 17de502 Merge "Always allow landscape mode if video call is the primary call" into m-wireless-dev 3692e77 Always allow landscape mode if video call is the primary call a77ad8d Video calling landscape changes to match specs cb74fc0 Merge "Simplify and rewire in-call buttons" into m-wireless-dev ed0775d Simplify and rewire in-call buttons 80a1aad Hide incoming video until call is connected. 4f2a70b Merge "Cleanup AnswerFragment glowpad UI" into m-wireless-dev 6591f05 Merge "Initial refactoring for call buttons" into m-wireless-dev c70a63c Initial refactoring for call buttons 4a63afd Hide end call button when video upgrade glowpad is showing 7ba13e9 Cleanup AnswerFragment glowpad UI 6b2b8df Show progress spinner when upgrading to video c02794b Merge "Cleanup of Video Call pause functionality." into m-wireless-dev bec5807 Standardize fragment layout names bc65cbc Adding video call icon in secondary call info.
| * | Video calling landscape changes to match specsYorke Lee2015-04-131-15/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Call card has 4dp corners, and is 90% visible * Margins for call card * Call buttons are center aligned with end call button * Remote surface is always center aligned, tapping call card slides it in and out * Status bar is black Bug: 19668216 Change-Id: Ifea27faa5f8ff32f6be13e777ca70aa4d0c7727e
| * | Standardize fragment layout namesYorke Lee2015-04-081-1/+1
| | | | | | | | | | | | Change-Id: I76814eb5b90130227eea8e2f8576c472b80d1435
| * | Adding video call icon in secondary call info.Tyler Gunn2015-04-081-1/+5
| | | | | | | | | | | | | | | | | | | | | - Icon indicates that a call is a video call. Per mocks. Bug: 20119995 Change-Id: Ibccfccaa3f2762659282bbde433796fe20da361c
* | | Merge commit '8bef461' into merge_workPrerepa Viswanadham2015-04-101-1/+4
|\| | | | | | | | | | | Change-Id: I4cfea114e24c0b0671e99118316ad839dafbe400
| * | IMS-VT: Add support for video callsRekha Kumar2015-03-261-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Fix some jank during shrink animation"Yorke Lee2015-03-271-8/+22
|\ \ \
| * | | Fix some jank during shrink animationYorke Lee2015-03-271-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Prevent call updates while animation is running * Create hardware layers for animating views before animation starts. Alpha animations on the text elements require a hardware layer to be built beforehand. Do this before the animation starts instead of after the first frame is drawn. Change-Id: I21a8a9096f36adc4688597f7469a2f05a1b5234c
* | | | merge changes from m-wirelessYorke Lee2015-03-261-6/+14
|\ \ \ \ | |/ / / |/| / / | |/ / Change-Id: Id93b2d6e840baaa0b9b42b4595bca0dc41972994