Age | Commit message (Collapse) | Author |
|
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
|
|
android.util.ArrayMap"
This reverts commit b1d3cff91f5fc15c7f75c9bef8928101d7bb33d5.
Change-Id: Ie3b063f24ff27d3b79b40dd3f1d069d2023f5ef2
|
|
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
|
|
Convert TelecomManager direct usages to using TelecomManagerCompat
instead.
Bug: 25776171
Change-Id: I534eb9ff72968f4351aaa0a3856769226c2f1941
|
|
Bug: 25776171
Change-Id: I540df6effc01c7c677a874129938b390a446f751
|
|
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
|
|
ub-contactsdialer-b-dev
|
|
Some Call.Details capabilities are available in L-Mr1 instead of just M.
Switch to using those.
Bug: 25776171
Change-Id: I71b727a0ba66d68e5e628ff27feee74b9d4c3b07
|
|
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
|
|
Bug=25776171
Change-Id: Ie9604c0c52fc3927cfd13c7903a53a4233accf99
|
|
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
|
|
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
|
|
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
|
|
* changes:
Switch from DialerCompatUtils to CompatUtils for video calling.
Ignore check for phone accounts when making call from pre-MSIM device.
|
|
Bug: 25776171
Change-Id: Iedc86109fe28ec98ac0240298f30757d768acb08
|
|
ub-contactsdialer-b-dev
|
|
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
|
|
|
|
ub-contactsdialer-b-dev
|
|
Make sure to fire onQueryComplete callback if no directories
found.
While in here, fix a typo: mIsListernerCalled -> mIsListenerCalled
Bug: 25517103
Change-Id: Ic6fa7c221509d1b6fee8a9e16c1862a84695bed8
|
|
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
|
|
BUG=25899500
Change-Id: Ie5bf5c8e593683615cc0300739ad3989e4821ca4
|
|
Bug: 25776171
Change-Id: I94b42eb188e457a5470e33642cab2517949a8153
|
|
into ub-contactsdialer-b-dev
|
|
- 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
|
|
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
|
|
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
|
|
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
|
|
Removing speaker logic from InCall.
Bug: 20090407
Change-Id: Ic5108390508f1175d087f023b36a58791897c8a3
|
|
Bug: 22324713
Change-Id: I196ff7fbc2b6e4bf06899e3c397c3f098030f952
|
|
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: I2c7a666a50e2284b1d22db43c443b34109cff9b1
|
|
+ adding back CallList listener to handle the onUpgradeToVideo event.
This was removed when InCall fragments were refactored (before the
onUpgradeToVideo method existed) in mnc-dev; meanwhile in m-wireless-dev
the new onUpgradeToVideo listener was added.
Bug: 21850707
Change-Id: I85df2feee5094bdde530cf810da3930745897b4d
|
|
mOrientationEventListener is replaced by mInCallOrientationEventListener.
Removed some usage left out as part of merge conflict/change propagation.
Bug: 21893478
Change-Id: I7b9d9e804745df199da9562f4d05e533dd4999c2
|
|
- 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: Id1288ee05fe02ebcfee57e52da060ec5c48ceaac
|
|
Bug: 21594041
Change-Id: I61c261a2c92d3bb064a7cdea261c8ff660f7b105
|
|
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: Ia86215814602523882cc47d19a2cf2ab08eec5ea
|
|
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: I44ae0e94e214892776487bff4cc09be8c5640db1
|
|
- Swapped position of answer as video to bottom of glowpad.
- Note: The position was correct for the target set where respond via
sms is not enabled, but the descriptions were not correct.
Bug: 21124069
Change-Id: Ifa88b1a05e1803faa6c334454971f7ecdb3c8894
|
|
Bug: 21058266
Change-Id: If535392172325c8820698e8bda1625b0bf8e2286
|
|
Bug:25776171
Change-Id: Ic1fbe7a69ac33c4d39d0b66cb88c4ab67f74a3b2
|
|
known issue:b/25859809
BUG: 25899500
Change-Id: If185e817b70f104a30f9d6f7c9b0bb4c39ae815e
|
|
am: 9d55e12032
* commit '9d55e12032296c3c1d97f6324d9b34fee31c9cb2':
Fix hangup button disappearring on sprout
|
|
+ Changed the FrameLayout outside floating_end_call_action_button_container
to RelativeLayout.
Not sure why the original one doesn't work on sprout.
Bug:25835494
Change-Id: I784b552629936f354ca41e6268eb2be57ff869e2
|
|
am: e3f2a5ec50
* commit 'e3f2a5ec504706707e70b335b122fc252897a829':
Fix crash when business is closed today but open tomorrow.
|
|
ub-contactsdialer-b-dev
|
|
Since fragments did not have getContext until API level 23, use
getActivity instead because the activity is the context for fragments.
Bug: 25776171
Change-Id: I1f74f41932b29b9a84d2d5158a9b9c53c28e953a
|
|
Attempted to index into -1 position of opening hours array when business
is not open today but open tomorrow. That is because entries exist in
the array for tomorrow, but not today.
Bug: 25830349
Change-Id: Ib3def69e3d2813bf9cb4739a954b7b9f3724b56a
|
|
Change-Id: Iaf341005f8e03c8af22128aaa83b5635caaab8a1
Auto-generated-cl: translation import
|
|
Bug: 25776171
Change-Id: I972ae0cc74044b53e178bfd9e4e1f230b2351d24
|
|
into ub-contactsdialer-b-dev
|
|
Check compatibility verson before making method calls to VideoProfile or
VideoCall. Use CallUtils for any method call that is using VideoProfile
to determine if video calling is available or not.
Bug: 25776171
Change-Id: I24fa049c0003547f9027bed8fabfb81d0fde6374
|
|
Bug: 25757839
Change-Id: I5b7fba910078dfd4e02f665f960e8de24a6124a6
|
|
Fix NPE when no longer attached to activity.
Bug:25764709
Change-Id: I1a8a1da184930a99cefc079de9c074b9c69f0bf5
|
|
Change-Id: I63469d60518cb9ebd486d85a1da9d42feb4aceea
Auto-generated-cl: translation import
|
|
am: 2e0699d969
* commit '2e0699d9690f108b52fa7e043f5972e936a15ace':
Changed inCall avatar and call duration for small screens
|
|
Bug: 25628476
Change-Id: I617051d9a71ac6967ef0283724ae4081087bc14c
|
|
am: 7e5e6be79a
* commit '7e5e6be79a7e4a22139bdfbb1052dc48d28631f8':
Use separate AnswerFragment for Talkback
|
|
|
|
into ub-contactsdialer-a-dev
am: a9304a57fd
* commit 'a9304a57fda8781fa951cc4da7d788b627fb8d84':
Move secondary call information to the bottom, clear call context.
|
|
ub-contactsdialer-a-dev
am: f668446893
* commit 'f6684468934c22535db692c5f7472d8c8f012f40':
Fix NPE with contact cache, and guard against race condition.
|
|
into ub-contactsdialer-a-dev
am: 99ff70f5aa
* commit '99ff70f5aa79e21b7f5d78caaaca23650bea3b65':
Modify the hours of operation display text for multiple intervals.
|
|
into ub-contactsdialer-a-dev
|
|
ub-contactsdialer-a-dev
|
|
into ub-contactsdialer-a-dev
|
|
Because the image loading and contact interactions information are
loaded asynchronously at the same time, one of them may be loaded before
the other. To ensure that the main thread is aware when whether one or
both of them have completed, keep a flag in ContactCacheInfo. This will
prevent the callbacks from being cleared before all callbacks are
completed.
Also guard against NPEs by making sure the cache entry is added to the
map of callIds to cacheEntries and check for null before proceeding in
the callback for contact interactions.
Bug: 25618632
Change-Id: I7662242e040948a1e445f66c362f2eaea4cf03af
|
|
Change-Id: Ib7c534d83a750e46305495485c35cc8e3aa07cb5
Auto-generated-cl: translation import
|
|
Change-Id: I0470df61757d28900bc2a01940f4379e1e481ef6
Auto-generated-cl: translation import
|
|
+ Split AnswerFragment into GlowpadAnswerFragment and
AccessibleAnswerFragment, with the refactored AnswerFragment
as base class.
+ InCallActivity will select GlowpadAnswerFragment and
AccessibleAnswerFragment base on if any touch exploration
accessibility service is active.
+ Removed AnswerListener from GlowPadWrapper, as it is only
implemented in one class and made the code more complex.
+ Changed answer icon's color into green.
Bug:24101341
Change-Id: Ida2b07986d64d6442ff87a2258180846a092942e
|
|
The secondary call information was obscuring the call context info
because it was incorrectly being placed right under the primary call
info. This is a bug because it should placed under the FAB at the bottom
of the screen.
Also hide the call context info when a new call comes in that does not
have caller contex.
Bug: 25222360
Change-Id: I7601ce7e7e2609ac046ea104651ac50d863a86bc
|
|
into ub-contactsdialer-b-dev
|
|
am: 3f60c7566a
* commit '3f60c7566aa81c054579a2aade9dbc10c5212e2f':
Adding logging for incoming call blocked
|
|
Bug:25288435
Change-Id: I6f245e285df340a7a6abf66de808a71082289ee6
|
|
In order to not overflow the business hours display, we only want to
display two intervals at most. Other logic will be used for determining
what to display if there are more than 2 intervals, it is currently closed
between intervals, and it is closed after all open hours.
Bug: 25488385
Change-Id: I9a3ee2967dfd0acc9a9cdc653b27e45c358255e8
|
|
ub-contactsdialer-a-dev
am: 145473c5e0
* commit '145473c5e01086ff0e679725f62eaea5e1160b8e':
Set call initiation to INITIATION_EXTERNAL by default
|
|
ub-contactsdialer-a-dev
|
|
Bug: 25643791
Change-Id: I1492d118316c89a79e0e166d19957e7106f34da3
|
|
There was an issue where the in-call notification would still show
content appropriate for a ringing call. The in-call UI may be showing
before Telecom has updated the call to the active state, so it may be
the case that state can be Call.State.Incoming while notificationType is
NOTIFICATION_IN_CALL. Since the contents of the notification are mostly
dependent on state, this causes a mismatch between the contents of the
notification and notificationType.
Thus, a notification may be displayed that has the contents of a ringing
call notification, but it will store NOTIFICATION_IN_CALL into
mCurrentNotification. When the call gets updated to the active state,
the previous notification will not be cleared, resulting in the
incorrect behavior.
Bug: 25598950
Change-Id: Ic0b3700587322b8d3cf0787a724577e58e0bb701
|
|
Change-Id: I443aa67027cd87d94df4ebd4d4a4b23bef83082d
Auto-generated-cl: translation import
|
|
ub-contactsdialer-a-dev
am: c3e0717a4b
* commit 'c3e0717a4b107f65f1ec9cff54ae4991052a8d37':
Account for multiple open times for business contacts.
|
|
ub-contactsdialer-a-dev
|
|
am: 54ac583ee6
* commit '54ac583ee691ca2945b2789096420a266c100576':
Log screen view events in InCallUI
|
|
Sometimes businesses will close in the middle of the day and reopen. We
want to correctly represent the "open now"/"closed now" text for these
breaks. Update tests accordingly.
Bug: 25488385
Change-Id: I7ea96b1c037770261389297cb405a5e93d8171e4
|
|
Bug: 23164804
Change-Id: Icd7e8414ce15ab286946f7fe03aecba49ee67bb4
|
|
am: ac986088a4
* commit 'ac986088a4f37ea875e7d294483736a0eae6e5c8':
Fix InCallUI NPE in landscape mode
|
|
|
|
Even if the carrier config is set to disable call subjects for a carrier,
the RIL will still send any incoming call subjects to the InCall UI.
We cannot suppress this lower down as the RIL is using the same extra
to report caller id presentation reasons.
Bug: 22779583
Change-Id: Ic349408014a47e25d62100886ea59b73e4f76709
|
|
Some caller context related views were missing their
counterparts in the landscape version of call_card_fragment.
Bug: 25562815
Change-Id: I49f64a9037e96b7b507f93d79728551b83245490
|
|
Change-Id: I75b9a271fa9c0a2bcbd54cc88aed857db35c16f4
Auto-generated-cl: translation import
|
|
am: 0a73c3dafc
* commit '0a73c3dafcca070636b7825049267993b9d06f70':
Retrieving nameAlternative for ContactInfo
|
|
|
|
into ub-contactsdialer-a-dev
am: 2a42a410d0
* commit '2a42a410d0929efae29b8892f0897b7c06c3283e':
Fix Open Now in Contact Context to account for after midnight times.
|
|
into ub-contactsdialer-a-dev
|
|
am: 6db499fd7b
* commit '6db499fd7bb4c8127e7af4c2ec99f99a5005ddf0':
Log number of conference child calls
|
|
|
|
Change-Id: I3abb42386ca54eef299b10f2b9ba33b1e0845a88
Auto-generated-cl: translation import
|
|
Bug:19364093
Change-Id: I965707f5623db8b16bf5089b4bff3202db4192ec
|
|
Originally the close time was set to the same date as the open time, but
sometimes a place is open past midnight, which means that it's open
until the next day. Update this so that Open Now correctly represents
the state even when the place is open past midnight.
Bug: 25345785
Change-Id: I417ecb046bb2d5f708279f2b3808af0afd7662c7
|
|
Bug: 23164804
Change-Id: Ib9b639ecce88eeafcf9624c1d78374eb9664fd71
|
|
+ CallCardPresenter, StatusBarNotifier, ConferenceParticipantListAdapter
respect display name preferences
+ ConferenceParticipantListAdapter sorts names in conference call based
on sort order preference
~ Still need to populate data objects with real data, currently it's
just stubbed
Bug: 19364093
Change-Id: I77ad9cb063bf439ae7e5551e40946ea29e414b7f
|
|
|