summaryrefslogtreecommitdiff
path: root/InCallUI
AgeCommit message (Collapse)Author
2016-01-29Refactored dialer Ringtone code in prep for call waitingBrandon Maxwell
+ Created class that is responsible for determining if a ringtone should be played. + This class will also have the code to play call waiting tones Change-Id: Ie8fb633c8a233cc6b54beeb09b3fd6b62c9cb76c
2016-01-29Adding flag to enable/disable Dialer ringingBrandon Maxwell
am: b68e8129c0 * commit 'b68e8129c056c60e78188e6fbcd6179406723eaa': Adding flag to enable/disable Dialer ringing
2016-01-28Adding flag to enable/disable Dialer ringingBrandon Maxwell
Bug=26864105 Change-Id: Ifc565320dd9fd8845c45551454e59020806d985c
2016-01-28Merge "Add downgrade to audio button for video calls." into ↵Tyler Gunn
ub-contactsdialer-b-dev am: 8a5ff66b41 * commit '8a5ff66b4136af7e7353d2b408a69262ee89013c': Add downgrade to audio button for video calls.
2016-01-28Merge "Add downgrade to audio button for video calls." into ↵Tyler Gunn
ub-contactsdialer-b-dev
2016-01-28Play the ringtone for incoming calls in DialerBrandon Maxwell
am: e8318d00f6 * commit 'e8318d00f6ed1ddbec23be052d6751076e87137c': Play the ringtone for incoming calls in Dialer
2016-01-27Play the ringtone for incoming calls in DialerBrandon Maxwell
+ Initial CL to make the Dialer play a ringtone for incoming calls. - Not included in this CL: - Playing call waiting tone - Silencing ringer when volume key is pressed (power button works properly) - Bug fix for ringtone not playing when lockscreen is set - Bug fix for contact look up taking too long - when do we play the default ringtone Change-Id: Ie8bd042b9ec142c78cb4d2de66475c96a18b8273
2016-01-27Add downgrade to audio button for video calls.Tyler Gunn
- Add downgrade to audio button for video calls where the call capabilities indicates that it is supported. - Requires N SDK or higher. Bug: 22728624 Change-Id: I92aaf1d1e77da82c2ad982a57bb2eae599cff4da
2016-01-25Merge "Open work profile QuickContacts for work contacts in personal dialer" ↵Victor Chang
into ub-contactsdialer-b-dev am: ccfb9e42ea * commit 'ccfb9e42ea60ba7a8f024d93da2b8c19657f8bf6': Open work profile QuickContacts for work contacts in personal dialer
2016-01-25Merge "Open work profile QuickContacts for work contacts in personal dialer" ↵Victor Chang
into ub-contactsdialer-b-dev
2016-01-25Open work profile QuickContacts for work contacts in personal dialerVictor Chang
Set lookup key for enterprise contacts to allow QuickContacts to open it. It requires framework change in NYC to support it. BUG=26176780 Change-Id: I61345d52aa9fa296fdf95eca624b295c86925e46
2016-01-25Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I7f265718cd86b28c230c6fd484d90f54204410d1 Auto-generated-cl: translation import
2016-01-21Merge "Hiding addCall button while the device is fbe locked" into ↵Brandon Maxwell
ub-contactsdialer-b-dev am: 8a63fc40cb * commit '8a63fc40cbd04c9f3d3ce8bffac8340f62d19ddb': Hiding addCall button while the device is fbe locked
2016-01-21Ensuring quickResponse isn\'t available while fbe lockedBrandon Maxwell
am: db576118c0 * commit 'db576118c094a67b5c60b8c63f4426c9530ba94a': Ensuring quickResponse isn't available while fbe locked
2016-01-21Merge "Hiding addCall button while the device is fbe locked" into ↵Brandon Maxwell
ub-contactsdialer-b-dev
2016-01-20Hiding addCall button while the device is fbe lockedBrandon Maxwell
Bug=26543932 Change-Id: I37c46404f20d16c91ab391c14b7f2d2cb5528630
2016-01-20Ensuring quickResponse isn't available while fbe lockedBrandon Maxwell
+ Sending an outgoing message is not supported while in the fbe locked state so the option to send an SMS should always be hidden. Bug=26542221 Change-Id: I9d630bdf73ec9f6965607c60f36b7a04c04f4134
2016-01-20Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I0ee15ef3619e8922f5cb03b55b5e3038eb5d58b9 Auto-generated-cl: translation import
2016-01-18Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ib2a8adcb4e0c116970948e6c05edff3b820f9e0c Auto-generated-cl: translation import
2016-01-14Add work description into call state in InCallUIVictor Chang
am: 23c6938d79 * commit '23c6938d7966e0b1121c60c66118b6f772c12730': Add work description into call state in InCallUI
2016-01-14Add work description into call state in InCallUIVictor Chang
Only description of incoming call and call ended are affected BUG=26082618 Change-Id: Ic511aac339b02db4453e695bfc92ccad47a97c83
2016-01-13Showing badge icon in incall ui if it is a work callTony Mak
am: 59978d307c * commit '59978d307c8bf37d8ae7e333f0844aee5fedb329': Showing badge icon in incall ui if it is a work call
2016-01-13Indicate the call is work call in notificationTony Mak
am: dd8122a083 * commit 'dd8122a0831a44ef74e6b84ba97237edfa48815b': Indicate the call is work call in notification
2016-01-13Showing badge icon in incall ui if it is a work callTony Mak
Work call means the call is placed through work phone account or it is an outgoing call initiated from work dialer. Please notice that both personal and work call is handled by personal in-call UI, that's why we need to add a badge to indicate it. There is another scenario we need to add badge, ie. having a work contact caller, and it will be handled in ag/836110. BUG=26022174 Change-Id: I96e72068f70674dbeabfbbf7bfffc6c15c3203bf
2016-01-13Indicate the call is work call in notificationTony Mak
Bug: 26022174 Change-Id: I5f28e3fa47c91787fbc5c82b68316a8baa11d286
2016-01-13Show work badge icon/description in InCallUI/DialerVictor Chang
am: 76c8304946 * commit '76c8304946576707e21d0fa0da0ec3c477b687a5': Show work badge icon/description in InCallUI/Dialer
2016-01-13Show work badge icon/description in InCallUI/DialerVictor Chang
Add work badge icon into IncallUI Add work description into incoming call notification To see this feature 1. Receive/Make a call from work contact (a contact in work profile has the phone number) 2. See work description in incoming call notification and work badge icon in IncallUI BUG=26082618 Change-Id: I182b48a34d3d87ee3093e8433ae33939705d59d7
2016-01-13Merge "Fix InCallUI crash when post char dialog is shown" am: 86a8382274Tyler Gunn
am: ede2f7e1f7 * commit 'ede2f7e1f790a97db95f6d34f54e2839005b88ef': Fix InCallUI crash when post char dialog is shown
2016-01-13Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I754248226144a6b822fb52d30adf187e3c5c3cf1 Auto-generated-cl: translation import
2016-01-12Allow google dialer code to be compiled against M and N SDKs for enterprise ↵Victor Chang
features am: f6550b4173 * commit 'f6550b41734c43f6e5d8e69b41a8808568dc166b': Allow google dialer code to be compiled against M and N SDKs for enterprise features
2016-01-12Merge "Fix InCallUI crash when post char dialog is shown"Tyler Gunn
am: 86a8382274 * commit '86a8382274b955670f920324cba697360677a3b8': Fix InCallUI crash when post char dialog is shown
2016-01-11Allow google dialer code to be compiled against M and N SDKs for enterprise ↵Victor Chang
features Following dialer's practice, use src-N and pre-N to separate implementation in different build sdk BUG=26312016 Change-Id: Ib80a377564ed5a57bcaf2a78ac746ffbeb20bdbd
2016-01-11Fix InCallUI crash when post char dialog is shownWei Huang
When user makes MO video call with post char, such as ";", post char dialog is shown when call is established. At this time if user rotate InCallUI screen, InCallUI will crash because PostCharDialogFragment has no zero argument constructor. Add zero argument constructor for PostCharDialogFragment, and save the needed parameter to Bundle. Change-Id: I3587ad2bc47d4397b78b32d1ec27b8c914e9fb2f
2016-01-11DO NOT MERGE Show child number in incoming call notification.Tyler Gunn
Where a child number is present in the call extras, show it using the text "via 650-555-1212" in the second line of the incoming call notification. Bug: 24585039 Change-Id: Ic9827f8518778bf5e9c36235e2e1b6525aba4928 (cherry picked from commit 2e5cfc1a71942e2ca2c8e469042e82c1b4640476)
2016-01-11DO NOT MERGE Display no-caller ID reason in InCallUIRoshan Pius
Changes to fetch the no-caller ID reason from callsubject extra in the call object to display in the InCall UI. The callsubject extra would be populated by the RIL to hold the non-caller ID reason in case of number presentation that is set to RESTRICTED/UNKOWN and hence we need to differentiate the contents of this extra in InCallUI. PS: We should ideally be creating a different extra for the no-caller ID reason at telephony layer even if RIL sends it in the same exta as call subject, but that would require API changes. BUG: 22683773 Change-Id: I4ae51754d7660e4b8c1082d142e2c1860d3f1604
2016-01-09Workaround for java.lang.IllegalArgumentException in android.util.ArrayMapTa-wei Yen
am: fdd40e3999 * commit 'fdd40e3999a6dfc522e9d47da4e82bd1830d74bd': Workaround for java.lang.IllegalArgumentException in android.util.ArrayMap
2016-01-08Workaround for java.lang.IllegalArgumentException in android.util.ArrayMapTa-wei Yen
b/25613098 sometimes corrupt the bundle, resulting in a IllegalArgumentException while validating. Workaround with abandoning all the information in it. The bypassed code only tries to extract data from the bundle, which can already be null. These are not critical for the dialer to function. Bug:26343012 Bug:25613098 Change-Id: I16b05ecb0e5317f7170d80eb8426b5cdce20f6c2 # Conflicts: # src/com/android/incallui/Call.java
2016-01-08DO NOT MERGE Handle child number changes after the call starts.Ta-wei Yen
This CL is in master branch, but not in dialer branch, which causes a merge conflict in master for ag/841237 Reverting ag/841237, cherry-picking this and will reapply ag/841237 later. The child number display functionality assumed that the child number for a call would only bet set at the start of the call. This change removes that assumption and supports changes to the child number at any point during the call by adding a new listener to the InCall Call List. It appears there are some instances in reality where the child number can come in after the start of a call (delayed only slightly, but enough to prevent the number from showing up). Bug: 24585039 (cherry picked from commit 7a2da71d22645d619e04b1704138f183a5e47724) Change-Id: Id019dcb1fcdc7f13d738d9917bc9bbc4fe15dc02
2016-01-08Revert "Workaround for java.lang.IllegalArgumentException in ↵Ta-wei Yen
android.util.ArrayMap" This reverts commit b1d3cff91f5fc15c7f75c9bef8928101d7bb33d5. Change-Id: Ie3b063f24ff27d3b79b40dd3f1d069d2023f5ef2
2016-01-08Workaround for java.lang.IllegalArgumentException in android.util.ArrayMapTa-wei Yen
b/25613098 sometimes corrupt the bundle, resulting in a IllegalArgumentException while validating. Workaround with abandoning all the information in it. The bypassed code only tries to extract data from the bundle, which can already be null. These are not critical for the dialer to function. Bug:25613098 Change-Id: I16b05ecb0e5317f7170d80eb8426b5cdce20f6c2
2015-12-29Make TelecomManager APIs compatible with Lollipop (3/3).Nancy Chen
am: 0c4c2782de * commit '0c4c2782dea7ddf27f4e30c0bf499bc6d02ae083': Make TelecomManager APIs compatible with Lollipop (3/3).
2015-12-28Make TelecomManager APIs compatible with Lollipop (3/3).Nancy Chen
Convert TelecomManager direct usages to using TelecomManagerCompat instead. Bug: 25776171 Change-Id: I534eb9ff72968f4351aaa0a3856769226c2f1941
2015-12-29Move TelecomManagerCompat to ContactsCommon (3/3).Nancy Chen
am: 4565f9ba85 * commit '4565f9ba85c3f28f86c5abdfc8333431053ae272': Move TelecomManagerCompat to ContactsCommon (3/3).
2015-12-28Move TelecomManagerCompat to ContactsCommon (3/3).Nancy Chen
Bug: 25776171 Change-Id: I540df6effc01c7c677a874129938b390a446f751
2015-12-22Support Work Directory lookup for calllog in dialerVictor Chang
am: 8d3b7085d5 * commit '8d3b7085d564e3e8751523da754d2292379d3100': Support Work Directory lookup for calllog in dialer
2015-12-23Support Work Directory lookup for calllog in dialerVictor Chang
1. To follow Google Caller id behavior in call log, only find display name in cache, but not actively querying directory 2. To following cache behavior in search bar, cache direcetory result in ObjectFactory.newCachedNumberLookupService() Test: Display name of directory contact is shown in call log if any of the below 1. the directory contact has ever been selected in search bar result 2. the directory contact has ever been called BUG=25967633,25968895 Change-Id: I6f317bfd161c9abb0b7c6ccc2df2bd27af8ef5d3
2015-12-22Merge "Use some Call.Details methods available in L-Mr1." into ↵Nancy Chen
ub-contactsdialer-b-dev am: d2d83a7203 * commit 'd2d83a72033b1029d9c33c655d73a27bb97648fa': Use some Call.Details methods available in L-Mr1.
2015-12-22Merge "Use some Call.Details methods available in L-Mr1." into ↵Nancy Chen
ub-contactsdialer-b-dev
2015-12-22Use some Call.Details methods available in L-Mr1.Nancy Chen
Some Call.Details capabilities are available in L-Mr1 instead of just M. Switch to using those. Bug: 25776171 Change-Id: I71b727a0ba66d68e5e628ff27feee74b9d4c3b07
2015-12-22Backporting usage of VideoProfileBrandon Maxwell
am: 342419f9b9 * commit '342419f9b920fa201b18812e0bd03c24cc32a335': Backporting usage of VideoProfile
2015-12-22Backporting usage of VideoProfileBrandon Maxwell
Many of the VideoProfile methods in M came VideoProfile$VideoState previously. Due to the single line nature of most of the methods, the implementations are copied into the compat class to use in the event that the sdk is earlier than M. Bug=25776171 Change-Id: Ia597228a050e50f0efd4f79a458535ddb2925c83
2015-12-21Backporting use of TelecomManager#silenceRingerBrandon Maxwell
am: 53cc39ad1c * commit '53cc39ad1c30da9aa7b6743813b9dc1b9bef5edc': Backporting use of TelecomManager#silenceRinger
2015-12-21Backporting use of TelecomManager#silenceRingerBrandon Maxwell
Bug=25776171 Change-Id: Ie9604c0c52fc3927cfd13c7903a53a4233accf99
2015-12-18Backporting InCallUI so to allow calls on nonOEM devicesBrandon Maxwell
am: 376d6c3927 * commit '376d6c3927bb3f86878a60027ec769b21c176033': Backporting InCallUI so to allow calls on nonOEM devices
2015-12-18Backporting InCallUI so to allow calls on nonOEM devicesBrandon Maxwell
VideoProfile#videoStateToString, TelecomManager#getLine1Number, and TelecomManager#isVoiceMailNumber don't exist in the L sdk, so Compat classes were added which duplicated the needed logic. Bug=25776171 Change-Id: Ib546b8fbd802aa6f8f5c712e59b99716db4c6a7b
2015-12-16Backporting InCallServiceImplBrandon Maxwell
am: ece67c30ba * commit 'ece67c30ba7dbe89fc4ce6888c66aa3596ca0c93': Backporting InCallServiceImpl
2015-12-16Backporting InCallServiceImplBrandon Maxwell
In L, InCallService callbacks were implemented through the listener from android.telecom.Phone. To backport, this Listener calls through to the InCallService methods that are overridden in the implementing class Also includes miscellaneous backporting fixes that were missed previously. Change-Id: If8896c72454496459b0e6ea575574161184fba40
2015-12-16Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ia3d0ae858464b871833573dce28c802f36d2f85f Auto-generated-cl: translation import
2015-12-14Backporting references to android.telecom.Call.DetailsBrandon Maxwell
am: 759bae7dfe * commit '759bae7dfea585e1cdee92d4de8c50a9c40fc4a0': Backporting references to android.telecom.Call.Details
2015-12-14Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Id14248bc8495ff41d92c2886a2c2363e1d9fbed6 Auto-generated-cl: translation import
2015-12-11Backporting references to android.telecom.Call.DetailsBrandon Maxwell
In L, Call.Details.CAPABILITY_* constants were found in android.telecom.PhoneCapabilities, it has been verified that the constant values match as needed. In L, Call.Details.getExtras had all the information that was moved to Call.Details.getIntentExtras in M Added android.telecom.Call.Details compat class Change-Id: I16d25173382575f351762e0e5b71775f1046fdd0
2015-12-10Merge changes Iedc86109,If4266029 into ub-contactsdialer-b-devNancy Chen
am: 7adfa41bc9 * commit '7adfa41bc9bbbb6d768e8862251d39d85b8c5c82': Switch from DialerCompatUtils to CompatUtils for video calling. Ignore check for phone accounts when making call from pre-MSIM device.
2015-12-11Merge changes Iedc86109,If4266029 into ub-contactsdialer-b-devNancy Chen
* changes: Switch from DialerCompatUtils to CompatUtils for video calling. Ignore check for phone accounts when making call from pre-MSIM device.
2015-12-10Switch from DialerCompatUtils to CompatUtils for video calling.Nancy Chen
Bug: 25776171 Change-Id: Iedc86109fe28ec98ac0240298f30757d768acb08
2015-12-09Merge "Backporting uses of android.telecom.Call" into ub-contactsdialer-b-devBrandon Maxwell
am: 76b4763062 * commit '76b4763062a28999a69b1169660c89c57e23cdac': Backporting uses of android.telecom.Call$Callback
2015-12-09Merge "Backporting uses of android.telecom.Call$Callback" into ↵Brandon Maxwell
ub-contactsdialer-b-dev
2015-12-09Backporting uses of android.telecom.Call$CallbackBrandon Maxwell
Use the android.telecom.Call$Listener object since it's the same as the android.telecom.Call$Callback and available in L. Use branching logic to avoid calling system apis when sdk >= M Bug: 25776171 Change-Id: I87b26df0415e5583456ee5a6be103fe14a53f9df
2015-12-09Merge "Fix for Google Caller ID not working" into ub-contactsdialer-b-devYorke Lee
am: 9294fe9eeb * commit '9294fe9eeb054290f5d4290c53c4b47225bf01b6': Fix for Google Caller ID not working
2015-12-09Merge "Fix for Google Caller ID not working" into ub-contactsdialer-b-devYorke Lee
2015-12-09Merge "Use ContactsUtil.FLAG_N_FEATURE in CallerInfoAsyncQuery" into ↵Victor Chang
ub-contactsdialer-b-dev am: f7f4725faf * commit 'f7f4725fafed10fe2d06328e17433a7d15716976': Use ContactsUtil.FLAG_N_FEATURE in CallerInfoAsyncQuery
2015-12-09Merge "Use ContactsUtil.FLAG_N_FEATURE in CallerInfoAsyncQuery" into ↵Victor Chang
ub-contactsdialer-b-dev
2015-12-08Fix for Google Caller ID not workingYorke Lee
Make sure to fire onQueryComplete callback if no directories found. While in here, fix a typo: mIsListernerCalled -> mIsListenerCalled Bug: 25517103 Change-Id: Ic6fa7c221509d1b6fee8a9e16c1862a84695bed8
2015-12-08Ignore check for phone accounts when making call from pre-MSIM device.Nancy Chen
Since Lollipop and before we don't have phone accounts, we can't check if we have a valid phone account before making a call, so ignore this check. Bug: 25776171 Change-Id: If4266029cadaf95bcd7a52dd49f4d27db9eda964
2015-12-08Use ContactsUtil.FLAG_N_FEATURE in CallerInfoAsyncQueryVictor Chang
BUG=25899500 Change-Id: Ie5bf5c8e593683615cc0300739ad3989e4821ca4
2015-12-07Updating InCallUI to use CallAudioStateCompatBrandon Maxwell
am: f8c52832a9 * commit 'f8c52832a94d54fb04cb1a89d913f3f13831faa1': Updating InCallUI to use CallAudioStateCompat
2015-12-07Merge "Show Enterprise directory contacts name in IncallUI and notification" ↵Victor Chang
into ub-contactsdialer-b-dev am: bea2e6e275 * commit 'bea2e6e2758b99f08f649c463c595f3d9d3e9286': Show Enterprise directory contacts name in IncallUI and notification
2015-12-07IMS-VT: Listen to sensor orientation changes and update camera previewNivedita Sarkar
am: 8850e871d5 * commit '8850e871d5a63dabc78e70242763ce29ee1566f6': IMS-VT: Listen to sensor orientation changes and update camera preview
2015-12-07Code cleanup.Tyler Gunn
am: 22e204b998 * commit '22e204b99806e51582c1a2982c575f86cd6306da': Code cleanup.
2015-12-07Correct positioning of incoming video view.Tyler Gunn
am: 190117bc8c * commit '190117bc8cc29a694899d9634d2202f4aad5d790': Correct positioning of incoming video view.
2015-12-07Cannot accept video call request from another InCallService.Tyler Gunn
am: 6c734ad3f1 * commit '6c734ad3f142cd07406585d6f5f917ca29814ca0': Cannot accept video call request from another InCallService.
2015-12-07Move auto-speakerphone logic to Telecom.Tyler Gunn
am: 3d6516ed91 * commit '3d6516ed91cccc17c4f95495a9af5088be8b1ff9': Move auto-speakerphone logic to Telecom.
2015-12-07Fix NPE when getting fragment manager[A
am: 9ee8211c00 * commit '9ee8211c000c39ddb0d39fb93dbe5c1195cb7974': Fix NPE when getting fragment manager
2015-12-07Show dialpad button for VT calls, cleanup dialpad on rotation.Tyler Gunn
am: 08914e27ac * commit '08914e27aca04d7d1904040b4f5763179afe316b': Show dialpad button for VT calls, cleanup dialpad on rotation.
2015-12-07Fix issue where upgrade request UX does not show.Tyler Gunn
am: 60215f1065 * commit '60215f106537e769c1e69d549de9a46364c1603c': Fix issue where upgrade request UX does not show.
2015-12-07IMS-VT: Fix null pointer exceptionRekha Kumar
am: fd49225529 * commit 'fd492255293a8b4d668b0a45602fc3f3695dc94f': IMS-VT: Fix null pointer exception
2015-12-07IMS-VT: Listen to sensor orientation changes and update camera previewNivedita Sarkar
am: 6ae35c6ecd * commit '6ae35c6ecdb08230362dd5d9ada09da408819ce7': IMS-VT: Listen to sensor orientation changes and update camera preview
2015-12-07Enable reverse portrait support for video calls.Tyler Gunn
am: a9659a539f * commit 'a9659a539f1debd9bb9b57f1b11249cfe19d6d29': Enable reverse portrait support for video calls.
2015-12-07Fix presentation of "held" banner in landscape mode, plus more!Tyler Gunn
am: 11ab3ecf88 * commit '11ab3ecf888aa58a63ca87e01a014c99bb1d9c0a': Fix presentation of "held" banner in landscape mode, plus more!
2015-12-07Fix issue where secondary call info overlaps video preview.Tyler Gunn
am: 2a7cb76966 * commit '2a7cb769666d60c463f71a18d56c53d828ad5b1b': Fix issue where secondary call info overlaps video preview.
2015-12-07Move "answer as video" to swipe down on glowpad.Tyler Gunn
am: 111dd33fea * commit '111dd33feabd14837df449146fd667b8a399e70a': Move "answer as video" to swipe down on glowpad.
2015-12-07Change "decline" camera icon on glow-pad to red.Tyler Gunn
am: c21541830c * commit 'c21541830c3c5273381e2b3d47be5afee421189f': Change "decline" camera icon on glow-pad to red.
2015-12-07Updating InCallUI to use CallAudioStateCompatBrandon Maxwell
Bug: 25776171 Change-Id: I94b42eb188e457a5470e33642cab2517949a8153
2015-12-07Merge "Show Enterprise directory contacts name in IncallUI and notification" ↵Victor Chang
into ub-contactsdialer-b-dev
2015-12-07Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I175d0947e9608e66990ef475a1487a93e485d107 Auto-generated-cl: translation import
2015-12-06IMS-VT: Listen to sensor orientation changes and update camera previewNivedita Sarkar
- Register to listen to OrientationEventListener - Notify registrants of orientation changes and update camera preview size and orientation based on that. - Enable the orientation listener only when CVO is enabled. - Enable the orientation listener for video calls only. Disable it if we downgrade to VOLTE Bug: 21587367 Change-Id: I1735d05ab9b76074350e7aa8deae4f35ab71c56d
2015-12-06Code cleanup.Tyler Gunn
1. Renamed some Call methods and cleaned up comments. 2. Renamed Incall CallUtils to VideoUtils. 3. Fixed some improper licenses. Bug: 20089489 Change-Id: Ia503db3b65d9aa990e562411de783f38dd08a9c2
2015-12-06Correct positioning of incoming video view.Tyler Gunn
There were a few things going on: 1. There is a case where we could try to position the incoming video view before the call card has been fully laid out and its height is known. 2. When querying the height of the video surface, the getHeight() method does not always return the value that was just set on it. Using the layout params solves this problem. 3. Cleaned up some other comments and debug statements. Bug: 21444300 Change-Id: I9b59b132d6d4c7559497c6499b164598e7a75c7f
2015-12-06Cannot accept video call request from another InCallService.Tyler Gunn
If another InCallService accepts an incoming video request, the incall UI will not dismiss the glowpad, even those the call upgrades to video. To correct this, added code in InCall.Call to detect changes to the video state and set the SessionModificationState to "NO_REQUEST" should a change occur while the call is in a RECEIVED_UPGRADE_TO_VIDEO_REQUEST state. This causes the glowpad and notification to dismiss. Bug: 20958105 Change-Id: Id87c323b8b9defd674b49ce1ee9c2ad1a9a28341
2015-12-06Move auto-speakerphone logic to Telecom.Tyler Gunn
Removing speaker logic from InCall. Bug: 20090407 Change-Id: Ic5108390508f1175d087f023b36a58791897c8a3
2015-12-06Fix NPE when getting fragment manager[A
Bug: 22324713 Change-Id: I196ff7fbc2b6e4bf06899e3c397c3f098030f952