summaryrefslogtreecommitdiff
path: root/src/com/android
Commit message (Collapse)AuthorAgeFilesLines
* InCallUI: Get rid of CM_SETUP_WIZARD_COMPLETEDHEADmm6.0Zhao Wei Liew2017-08-041-4/+2
| | | | | | | | | We no longer need this custom setting. With the new wizard manager-based setup wizard, the original issue addressed by the setting is no longer present. Change-Id: I1ba64ba7da6034023db260c7519d00aa64182261
* Revert "Add rtl support to GlowPadView"‫דוד זר‬‎2017-08-041-18/+1
| | | | | | | | | | | | | | The original patch causes a mismatch between the call action text and the call action buttons. Although the call action buttons were swapped for RTL targets, the call action text were not. As a result, to answer a call, the user has to swipe left to a button that is green, but whose text is "לא לענות" (Do not answer). The same goes for the other call action buttons. This reverts commit 5227cbd5278bf614197b6b0cf85517f82ad0eab8. Change-Id: I6c677008f4ed246019ae5972b3355d4402d09679
* GlowpadView: Properly scale ring for block optionStephen Bird2016-08-051-1/+1
| | | | | | | | | | | On smaller screens with custom themes and software nav the bottom target (Block) can be cut off by the navigation. This sets our gravity to properly scale for a completely centered ring. Change-Id: I02f8bdc86ec4ae7ab95fe7b04a313b112cad2610 Ticket: CYNGNOS-3119
* [4/4] Add cancel callback for BlockContactDialogCallbacksStephen Bird2016-07-131-0/+11
| | | | | | | | When a dialog gets cancelled on the incall screen we need to reset the glowpad otherwise the ui gets into a strange state. Change-Id: I1bd73152e2e38bb64d35fa2dd42933fe08a077a8 Ticket: CYNGNOS-3111
* Don't search LookupProvider for emergency callsTrevor Halvorson2016-07-121-3/+7
| | | | | | Ticket: CYNGNOS-3096 Change-Id: I67648c1651f59b0a9774c77ce6d6d25bc76da5f0
* IMS-VT: Fix for auto fullscreen issue during UI rotation.Muhammed Siju2016-07-021-0/+4
| | | | | | | | | | | | Consider case where VT call UI is in fullscreen mode and the UI orientation is changed. When InCall activity is re created due to rotation, the fullscreen flag is still true, but actual UI will be created in normal mode. Due to wrong fullscreen flag value, auto enter fullscreen thread is not scheduled. To fix this clear fullscreen flag in InCallActivity.onCreate(). Change-Id: I18ec2b4442eae3b9ec01aeacc2b38f91f08f21c9 CRs-Fixed: 979860
* Fix display 'null' for geocoder locationMengjun Leng2016-07-021-4/+5
| | | | | | | | | | | If ContactsProvider is unable to get geocoder location for call number, the 'null' will be used to populate DB. When InCallUI cannot get its geocodder loaction, it should ignore displaying geocoder location info. Change-Id: Ibdfcf607ba3044de39a886c171f144f804410b36 CRs-Fixed: 942213
* Add rtl support to GlowPadViewShaoxu Liu2016-07-021-1/+18
| | | | | | | | | When anwser a incoming call, GlowPadView alwasy shows the button in LTR view. While the RTL locale needs the mirror UI of LTR. Switch the left target and right target while in RTL view. Change-Id: I693932ab1cba35910dbea418adb50e0a32a7364d
* Fix to incall screen for incoming callRavindra2016-07-021-1/+0
| | | | | | | | When user answers the call from status bar do not display the incall screen until ACTIVE state is received. Change-Id: I3d9667bccdf1bac3ab817a0282a8140c6dea785b CRs-Fixed: 936970
* Fix call dialog not dismissKeith Mok2016-06-161-4/+2
| | | | | | | | commit 919274abeb189a33e35533825aa0071b1c7e2bc1 introduce a problem that reject call with message does not dismiss the call ui. Fixes it. Change-Id: I136358b2855ce31c183b37ee1690f47a8d38eaeb
* Explicitly set the visibility of right_icon within call notificationRohit Yengisetty2016-06-161-1/+3
| | | | | | | | | | | The right icon within the notification at times had the wrong visibility state. This led to the contact attribution badge not showing up at times. This could be the result of a series of notification state updates due to the state change callbacks via ContactInfoCache. Resorting to explicitly updating the view's visibility. Change-Id: I447a1a4dc08ee8b6bba5569c7a1bb91d7677bd15 Issue-Id: OPO-766
* Stops ModButtonPresenter from hitting PackageManager on UI updates.Nathaniel Waggoner2016-06-141-3/+1
| | | | | | | | | This call was causing a lot of log spam on devices without Core, and may have been contributing a slow down in showing the Call UI. NOTES-150 Change-Id: Ica37627f22673d5f521e2be164ed05e709bf216f
* InCallUI: Fix possible OOBsMichael W2016-06-071-1/+13
| | | | | | | | | | | At least rejectCallWithMessage seems to get called with phoneId being -1, resulting in an OOB Fix that case on other places as well Reference: BugDump 20160527-0602 L#163 Change-Id: I65ae5bc439ef9a4d4f435369e1c41abe110e02b6
* Fix copy constructor of ContactInfoCacheRohit Yengisetty2016-05-271-0/+6
| | | | | | | Also, add missing id to call_card_fragment's landscape layout Change-Id: I91d9dc6e879464b973e820c4c74c33574eb6e1cf Issue-Id: OPO-729
* View Note: Use the DeepLinkIntegrationManager method for view noteNathanielWaggoner2016-05-232-2/+19
| | | | | | | | | We refactored IntegrationManager to simplify the code for metrics and viewing notes. NOTES-122, NOTES-22 Change-Id: I855049ad11a96165663ea71c6d8eb98564642d11
* Fixes a crash when trying to take a note in a Conference CallNathanielWaggoner2016-05-231-14/+56
| | | | | | | | | We weren't populating the call data correctly during a conference call and this was causing the DeepLinkAPI to throw an exception. NOTES-94 Change-Id: Idbfe216e8e3b378358e765003c0e8148856c30b4
* Fix issue of held call disappearing during swap operation.Muhammed Siju2016-05-221-0/+17
| | | | | | | | | | | Sometimes during call swap, both calls may appear as ACTIVE at InCall app momentarily. Secondary call info will not be displayed in such cases. Back to back hide/show requests for secondary call causes held call to be hidden due to a race condition. To avoid this, assign the second ACTIVE call as the secondary call. Change-Id: Ibd83dfc68b323de66a116d6a8283f5d5e0364a24 CRs-Fixed: 954866
* IMS-VT: Animate dialpad on show when InCallActivity re-createsRavi Paluri2016-05-221-1/+1
| | | | | | | | | If InCallActivity is relaunched from Dialer, always animate dialpad on show. Not doing so is causing floating end button to overlap with digits of dialpad. Change-Id: Id2d63bba97f67c0f17b0cbc6696ef8fbd42c4e9c CRs-Fixed: 953106
* IMS-VT: Set preview surface only if camera is openedSuresh Koleti2016-05-221-1/+7
| | | | | | | | | | | | | Unable to open camera once user went to background and foreground if PARAM_READY is received when activity is in background due to preview surface is set as part of PARAM_READY. If camera is not opened don't set the preview surface. Flow of setting preview surface will be openCamera-> RequestCameraCapablities->surface set. Change-Id: I5f5a37ec2f97a14f449dc757f8806b24a9144396 CRs-Fixed: 939557
* IMS-VT: Fix camera preview size.Garik Badalyan2016-05-222-19/+10
| | | | | | | | | | | When CVO is enabled camera preview shall be in portrait orientation when the device's current orientation is portrait, and it shall be in landscape orientation if the devices's current orientation is landscape. Change-Id: I9bd85bcddea9a1d45f51c56bc8e59c5461d0b2c9 CRs-Fixed: 934532
* IMS: Remove the methods with dummy implementationBenergy Meenan Ravuri2016-05-221-23/+5
| | | | | | | | Since the base implementation is added for the listener, the methods with dummy implementation can be removed. Change-Id: Iac9e75c53b362593c8cfd4e46ca0933566421aed CRs-Fixed: 901766
* IMS-VT: Donot create new surface when setting surface dimensionsRavi Paluri2016-05-221-2/+3
| | | | | | | Donot create new surface when setting surface dimensions Change-Id: I3f66594141d548680427a7579169647018ca7eb7 CRs-Fixed: 943894
* IMS-VT: Trigger internal onStateChanged notificationGarik Badalyan2016-05-222-3/+6
| | | | | | | | To minimize delays and avoid race conditions, trigger internal onStateChanged event upon receiving onUiReady notification. Change-Id: Ib9a26c6dbda8f3897072e6a276a262e191557073
* IMS: Unbundle capability constant for add participant from frameworksNivedita Sarkar2016-05-221-1/+2
| | | | | | | | | | | | - Unbundle InCallUI from dependency on frameworks - Move capability constant for add participant to QtiVideoCallConstants - Use the above constant from QtiVideoCallConstants in InCallUI Change-Id: I543f4a7161f19f4661b80ed18b53b5fd68af5015 CRs-Fixed: 933812
* IMS-VT: Unbundle capability consts for downgrade to voice from frameworksNivedita Sarkar2016-05-221-2/+3
| | | | | | | | | | | | - Unbundle InCallUI from dependency on frameworks - Move capability constants for downgrade to voice (local and remote) to QtiVideoCallConstants - Use the above constants from QtiVideoCallConstants in InCallUI Change-Id: If60d0dbd2670300d3acc4915f144afde7b8402d0 CRs-Fixed: 933812
* IMS-VT: Use correct view size when device is rotated.Muhammed Siju2016-05-222-2/+12
| | | | | | | | | | | When peer_resolution received is portrait mode and the device is in landscape, the far-end video view will be re sized to fit the peer aspect ratio. If we rotate the device back to portrait, the view size needs to be re calculated based on the previously received peer_resolution. Change-Id: I47b84fd823c6110dca87bcc372be1aaeb9888efa CRs-Fixed: 887207
* IMS-VT: Catch the exception when dismissing the zoom alert dialogNivedita Sarkar2016-05-221-3/+9
| | | | | | | | | | | - When we dismiss the zoom alert dialog, any exception caused should not crash the phone process - Catch any exception that occurs when dismissing the zoom alert dialog and log it instead of letting it crash phone process Change-Id: I89b80e0bcf98385a6f71937e23417e61c117aa71 CRs-Fixed: 938992
* IMS-VT: Update end button position onPreDraw of secondary call infoNivedita Sarkar2016-05-221-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
* IMS-VT: Route to speaker if current route is not BT, headset or speakerNivedita Sarkar2016-05-221-2/+2
| | | | | | | | - Route audio to speaker(/earpiece) only if current audio route is not bluetooth, wired headset or speaker(/earpiece) Change-Id: Id6995b5085ad83c92936587685bccebb4851a0ad CRs-Fixed: 932268
* IMS-VT: Optimize handling of orientation mode.Garik Badalyan2016-05-223-2/+41
| | | | | | | | Invoking setInCallAllowsOrientationChange API triggers multiple events which send data across binder. This could cause performance degradations in some cases. Change-Id: I457141ec6db7b5234be6aa537d39892e61efff6e
* 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-183-2/+3
| | | | | | | | | | | | | | | - 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
* Ensure the block icon within incoming call notification is themableRohit Yengisetty2016-05-181-1/+1
| | | | | Change-Id: I734ffaf6197f41104411b5ab879c4af2078c989e Issue-Id: OPO-714
* Fixed crash in InCallActivity.Luis Mejia2016-05-141-2/+14
| | | | | | | - Made InCallActivity exit fast if InCallService is not bound. Issue-Id: CYNGNOS-2626 Change-Id: I4920fa81455510cd565933e4ee2504c86586eb32
* Best fix for the case where ModButtonPresenter UI wasn't updatingNathanielWaggoner2016-05-142-7/+3
| | | | | | | | properly in onResume cases. NOTES-122 Change-Id: I8dab2c5d4d77f63e868ff950c523c3f13fc4cc02
* Mod buttons only enabled when incallRichard MacGregor2016-05-131-1/+1
| | | | | | | | | Do no enable mod buttons while state is in outgoing/incoming. Allow only when state is incall. Ticket CD-647 Change-Id: I00061be29b5afa7ea4465b2e5c790c7364467a93
* Don't query incall plugin invite intent until its actually neededRichard MacGregor2016-05-134-60/+134
| | | | | | | | | | Invite pending intents used to be gathered at start of the call. This caused incallapi plugins possibly request permissions causing a break in UI flow. Get the invite intent at a time that makes sense. Ticket CYNGNOS-2748 Change-Id: I626d65744f8826e053a9251f04deeccb395de49d
* Fix NPE on a null response from caller-info-lookupRohit Yengisetty2016-05-111-1/+1
| | | | | Change-Id: I55b8507c3ebfb3bde3a0387cbcc0ad72e18ec695 Issue-Id: CYNGNOS-2547
* Fix glitches in the rendering of contact-info Provider's logoRohit Yengisetty2016-05-111-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
* Add Unknown call nudge and update to new LookupProvider APIsArtem Shvadskiy2016-05-103-14/+30
| | | | | Change-Id: Ib64de5ec5f349db5bb5838918ee25016187db9c4 issue-id: DIALER-719 DIALER-724
* Revert all the changes plugins have made to the CallButton files.Stephen Bird2016-05-092-480/+12
| | | | | | | | | All of this is now in our ModButton* files. This allows us to show multiple integrations without modifying or crowding the original buttons. Ticket: CD-592 Change-Id: I31e3501944b7b6dd5e321470cf1eb2aa15daf18e
* Move Mod plugins out of CallButtonFragment to ModButtonFragmentStephen Bird2016-05-094-0/+887
| | | | | | | | | Things were getting crowded. Add a new button bar explicitly for plugins. Tickets CD-592 & NOTES-101 Change-Id: I1bdf074d8e3417161eb29cf05140016b084c5006 (cherry picked from commit 1513c75c14068c3a43f66ffa2431572896c76c96)
* Add new options for call waiting response in InCallUIKamaljeet Maini2016-05-065-12/+174
| | | | | | | | | | | | | | | | When an incoming call is received while there is already an active call, the user will be given four choices for the response: 1) Left button: hold the current call and answer incoming call 2) Bottom button: end the current call and answer the incoming call 3) Right button: decline the incoming call 4) Top button: Send a text message to the incoming caller if texting is enabled The changes in this component include updated icon graphics, display of text hints, and new APIs for additonal flag. Change-Id: Ic97e0fde12ae98afa0124f4bb5326e874a146e91
* DeepLink Integration in InCallUiNathanielWaggoner2016-04-302-4/+103
| | | | | | NOTES-53 Change-Id: Idadb50f2493078f5f05ce64a85210c1709dce5c5
* [3/4] Update incall for callmethodhelper refactorStephen Bird2016-04-283-22/+15
| | | | Change-Id: I218857bde16799ea57910c18effcd4ff29d3b0a9
* CallButtons: Prevent FRP bypass via the video calling optionStephen Bird2016-04-271-1/+12
| | | | | | | | | | | | | When OOBE is open, phone calls can be placed to the device. The incall dialog feature to change to a video call is exploitable via the dialogs that it creates. Check to ensure that the device is provisioned by us before showing this button. Ticket: CD-545 Change-Id: I49db4df359118a8ea4194b94abf9024fd32064d5 (cherry picked from commit 536b9f5beb1a7d367bd306c0c664ed5cc6f9ee1c)
* Revert and modify "Change in InCallAPI handover button UI"Richard MacGregor2016-04-214-18/+92
| | | | | | | | This reverts commit f8f80324806a7ea70916255f0adce5770474691e. And then modifies the icons to reflect design choices. Ticket CD-532 Change-Id: I36c56911c532b3023ee1ddb60c5aac9e5322fed0
* Make Block action contingent on system-wide Blacklist settingRohit Yengisetty2016-04-204-136/+165
| | | | | | | | The block action within the call notification will only show if the user hasn't opted to disable the system-wide Blacklist setting. Likewise for the Block action within the Glowpad. Change-Id: I20cf94338711c6c3c9fc5b5b4878661a4e24b1db
* [2/2] Use UICommon simple SnackBarRichard MacGregor2016-04-151-1/+2
| | | | | | | | | Use UICommon simple SnackBar that doesn't rely on AppCompat * fix DSDA Dialer FC Ticket CD-535 Change-Id: I33c19405dee4e8c7cdc636c54f48211c643fe5bc
* Change in InCallAPI handover button UIRichard MacGregor2016-04-132-59/+0
| | | | | | | | Always use default video icon, changing it may confuse users. Ticket CD-532 Change-Id: I64b29098f0f7dd1c36b4ee0eef6d3ad62bb121d0