Age | Commit message (Collapse) | Author |
|
An accessibility click on the glowpad now exposes the touch targets
as virtual views to accessibility services. Performing an accessibility
click on each virtual view performs the same function as swiping towards
that target.
Mark contact photo as unimportant for accessibility, it doesn't provide
any useful context or functionality.
Bug: 19075527
Change-Id: I2e980394175bf77379f5cb99126dd5970e0f0555
|
|
|
|
Setting a second InCallActivity before destroying the first is
unexpected but not irrecoverable, so don't crash.
Bug: 21806586
Change-Id: I817041ff6bae900c3b9f225ec66fe223c877e68d
|
|
into mnc-dev
|
|
Bug: 21959749
Change-Id: I6662d96b9caaf3c5c94cfc0453cdd226ab850cec
|
|
STATE_NEW has no meaning within InCallUI and can confuse
the internal logic. Treat it as STATE_CONNECTING for purposes
of state tracking.
Also, track whether the activity is visible rather than
whether it is the foreground activity (by tracking onStart/onStop
vs onResume/onPause). This fixes some unexpected UI transitions
when a dialog (e.g. wifi-calling dialog) shows up over the InCallUI.
Bug: 19217176
Change-Id: Ifa5953e27aa4ed777ed8798c628df1bdc96ed1eb
|
|
mnc-dev
|
|
Increase the delay before disconnecting the call for
DisconnectCause.ERROR, so that the user has time to acknowledge
the error.
To avoid regressing on b/20956721, keep track of any calls
that are pending a disconnect. If the user has explicitly dismissed
the error dialog, disconnect the call immediately to avoid blocking
the UI any further.
Bug: 21436856
Change-Id: I339cdbf1ba99fda5b1f5c8c31f722c97b64f487f
|
|
|
|
Along with checking if the call ID's are the same, add a check to see if
the 2 phone call numbers are still the same to correctly update the
contact info cache used to present the UI to the user.
Bug: 20032056
Change-Id: I81bcc6b31df9fa12c3a399ce6a2897662a1be74b
|
|
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
|
|
- The InCallCameraManager used to call initializeCameraList on startup.
- Delayed this until getActiveCameraId() is called,
Bug: 20993325
Change-Id: Ia8cf16c621650fd4adafa2c506a0021a0f63a6f8
|
|
Replace method references from VideoState to VideoProfile equivalents.
Bug: 21573551
Change-Id: I3c5c55652e0dd12df97eac42f1791f8b67dbac5c
|
|
|
|
In response to more API review.
Bug: 21571895
Change-Id: Ia1fa69da07a3427997919ba61c77fcbad7e79f2a
|
|
|
|
Bug: 21439982
Change-Id: I8cc014ffd272b6a4fa19030eeaeef87f3ffd5d82
|
|
|
|
Two major changes:
1) Add the notion of extras to a Connection. These extras will be
parceled through to InCallService as Call.getExtras()
2) The previously existing Call.getExtras() has been renamed to
getIntentExtras(). This name better describes the fact that these
particular extras are from the original CALL or INCOMING_CALL intents.
Change-Id: I85358827905abe3fd93b6b901dd78c86bb7d653c
|
|
|
|
+ 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
|
|
Change-Id: I3249708e038fa3b5532a7ea671a59410ae2c6ba4
|
|
Move NotificationBroadcastReceiver into its own class.
Change-Id: Ieefc840af7df596bfbb9297847ad164870e48970
|
|
Replaced the calls to getWindowManager().getDefaultDisplay() with code
to determine the screen rotation angle based on the angle ranges.
Bug: 21208380
Change-Id: Ie91d38f9c0b4227bb2148a193c00339b5d8f4ce6
|
|
|
|
Dialer was building against the platform locally but against the
current SDK on the build server.
Change-Id: I6ad50e354655cda5a30814988911e0c5178d384c
|
|
|
|
Refactor StatusHints to use the new Icon class.
Bug: 21040387
Change-Id: If5f92bfc83ddad37370832e457be65ab2440a1cf
|
|
Deprecate AudioState class and make methods @SystemApi where
necessary to minimize impact to SystemApi
Replace usages of AudioState inside Telecom sub-systems
Fire both onCallAudioStateChanged and onAudioStateChanged callbacks
for backward compatibility
Support both setAudioState and setCallAudioState for all classes
Bug: 21040387
Bug: 21088300
Change-Id: I3ec7b3afdaa344c6d639d1c421f1842d67f7d0f7
|
|
android.telecom.Connection.VideoProvider
* onSetPauseImage takes Uri instead of String
* changeCallDataUsage -> setCallDataUsage
* add quality constants to changeVideoQuality() docs
android.telecom.InCallService.VideoCall
* setPauseImage takes Uri instea dof String
android.telecom.VideoProfile.VideoState
* Move constants to VideoProfile, prefix with STATE_
Bug: 21040387
Bug: 21066505
Change-Id: I764e72aced9d1e2d30d6d0cf0862100860d47c79
|
|
Move CameraCapabilities into VideoProfile
Make PhoneAccount and PhoneAccountHandle final
Bug: 21040387
Bug: 21066505
Change-Id: I2c0eb2f3a20ada68ad5109363c4f7ff64c349776
|
|
|
|
|
|
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
|
|
If the call contains necessary CNAP information, try to save
it into the CachedNumberLookupService.
Bug: 10121624
Change-Id: I2e842b3145e00618b1afd3ed661d7c40764d0536
|
|
|
|
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.
Bug: 20956721
Change-Id: I1f1b8047cac0a6c15e331086cdc0924ff3d268cf
|
|
|
|
Bug: 21017840
Change-Id: I05a239db26b7c47a744b96549fb1b7e5440a824c
|
|
There's a couple ways to fix this, but this seemed to be the most
straightforward one. Basically, we want the values for the emergency
call listener (ie. the cached isEmergency value) to reset across
different displays of the InCall UI.
Bug: 21027909
Change-Id: I0b42873e3fa52ee2fc8ee98ee876caf31ec98883
|
|
|
|
|
|
Bug: 20921372
Change-Id: I25969a56eb293f20e3dfeaccf6f929177da00e85
|
|
mnc-dev
|
|
In onStateChange, when there is an incoming call, the primary call is
kept as the active call. This is problematic for the logic in the
maybeAutoEnterFullscreen method which relied on the primary call to
determine if the UX should automatically switch to fullscreen mode.
Added code to ensure we auto-exit fullscreen mode based on the current
call context.
Bug: 20915113
Change-Id: If11c358c83c92a308d6f78f229354f7feb5bfea4
|
|
* changes:
Fix issue with misaligned glowpad handle
Cache the non-rounded large bitmap instead of the rounded version
|
|
If the drawable for the handle changes, a new TargetDrawable is
created (without the correct positional parameters). This causes it
to be misaligned (e.g. during call waiting).
To fix this, simply replace the drawable without creating the TargetDrawable
from scratch. This preserves its positionX and positionY variables.
Bug: 20860087
Change-Id: I696bddf2d6d92cd8f17a3818367e9c0ac71b4a63
|
|
|
|
Change-Id: I5a88be1a3d463fd2570b98144f9caa626c8dc3bb
|
|
Because a new copy of a rounded bitmap is created everytime,
the check against the cached copies of information was failing to
detect identical notifications, causing multiple full-screen
notifications to be sent to the notification manager.
This causes a delay in the time it takes for the HUN to be
hidden when accepting a call.
Bug: 20764430
Change-Id: I4f62d5091b7fc216312a612181a91e3ec4828661
|
|
- Cleaned up imports in InCallActivity.
- Added new OrientationEventListener to listen for orientation changes
to the device. This listener returns the current device rotation in
degrees. Use the windowManager to get the current display rotation (e.g.
in coarse 90 degree, 180, etc).
- This solves the problem - can now detect rotation from landscape to
landscape.
Bug: 20727115
Change-Id: Icfad2b26083bb8236e9f4fe5580e3828cdef11b8
|
|
Now that VT is working for me again, I noticed this (the test connection
service answers instantly).
Solved my requiring a primary call which is active before auto-entering
full screen mode.
Bug: 19850117
Change-Id: I625838ebc1d78d6bfe594ff49822f76f7ac56ab9
|
|
- Added code to VideoCallPresenter to automatically enter fullscreen
mode once a video call starts.
Bug: 19850117
Change-Id: I801433243df556c3398ad82a60fc738bdfb35f79
|
|
- 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
|
|
|
|
* changes:
Merge commit 'b1c7028' into merge_try2
Merge commit '214726a' into merge_try2
Merge commit '5e2731c' into merge_try2
|
|
Change-Id: I7cb5298c37e1f07f8b1b234605a211c6478963f0
|
|
Don't crash when performing certain operations that the
dialer might not have permissions to execute:
* Access voicemail provider
* Certain TelecomManager methods
Bug: 20266292
Change-Id: I6326332943567aab0c59b4b4386d7bc434a71e4a
|
|
|
|
Change-Id: I880eb25812adaeb9355cc9c1dcf46afa0da5f333
|
|
|
|
Bug: 20160395
Change-Id: Ibc877c3d6898770bce4bd96bdcbe673061141892
|
|
Bug: 20494371
Change-Id: I6b6eb4e5ec3ba76e08d0b87a0a49f758f95ac31b
|
|
Removed some unused imports and one constant introduced
by the mass QCOM CL for VT bringup.
Bug: 20090311
Change-Id: Iab7a89495557c8817216ff16559778c6f59a3919
|
|
CallButtonPresenter doesn't remove itself from InCallPresenter.CanAddCallListener,
which causes a memory leak.
Change-Id: I3dcfc6aaa26eca3547e95de01b292042e46e30af
|
|
|
|
- Remove unnecessary "change to voice" button.
- Remove "modify call option" dialog that showed up in the past when
pressing the "upgrade to video button".
- Cleaned up some unnecessary Toasts for call session events, data
usage, and video quality
- Implemented the camera on/off functionality.
- Change preview to show the user's profile photo when their camera is
turned off, as well as a "camera off" icon.
Bug: 20257400
Change-Id: I6b7bb3d2394467f1345a798557130b2a674337c4
|
|
|
|
Bug: 20532435
Change-Id: Iae50b2ce15232a6010eb04895193b04c423ecc00
|
|
- In AnswerPresenter, only show the video targets if the incoming call is
a bi-directional video call.
Bug: 20254835
Change-Id: I34f3fd79d126a2ae621afeb13ceb2b143bdca2ce
|
|
Bug: 20300758
Change-Id: Ie9dcdd36b357368a02a7e38ede885debd6585e27
|
|
Complete the changes.
Bug: 20300758
Change-Id: If1063f973406847fe692c3fd34cb3fc21210973b
|
|
|
|
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
|
|
|
|
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
|
|
+ Add EmergencyCallListener, which fires when the call card
is updated to indicate whether the call is an emergency call or not.
Bug: 20300758
Change-Id: Ie9ad6ddecb278b56226804f5009504b4cc8b4cd5
|
|
|
|
This API is deprecated (and hidden)
Change-Id: Ie1fe6ed8c2aff4288c41b15a95da45090009df4b
|
|
|
|
To be moved into Telephony instead
Bug: 20090652
Change-Id: I58aeb382d7e213b4eeae997d1f4bac3e25d34e67
|
|
To be moved into Telephony instead
Bug: 20090652
Change-Id: I58aeb382d7e213b4eeae997d1f4bac3e25d34e67
|
|
Always show the InCall notification iff there is a live call
(incoming, outgoing, active or held).
Change-Id: I2fc2a54c92cd0978dcf1bf49b0e8217bf2acc3ec
Bug: 20108489
|
|
|
|
m-wireless-dev
|
|
|
|
|
|
Don't further increase API surface, make this a utility method
in our own package instead.
Change-Id: Ib7036b20980afcb5d0fdb1c03c6d943ab9d7ece7
|
|
Change-Id: I6ddd0555c56cdd3c5269ba435b14d4c26e015e22
|
|
Change-Id: I6ddd0555c56cdd3c5269ba435b14d4c26e015e22
|
|
* updateUi was not getting called for outgoing calls between
DIALING -> ACTIVE
* Adhere to UI directive that buttons representing disabled functionality
are hidden rather than disabled.
* Also fix issue where buttons are not updated for incoming call.
Bug: 20295789
Change-Id: I2606aa7b27c3dfb2de441737f1ecc2cc80ffdd7e
|
|
|
|
Don't further increase API surface, make this a utility method
in our own package instead.
Change-Id: Ib7036b20980afcb5d0fdb1c03c6d943ab9d7ece7
|
|
* updateUi was not getting called for outgoing calls between
DIALING -> ACTIVE
* Adhere to UI directive that buttons representing disabled functionality
are hidden rather than disabled.
* Also fix issue where buttons are not updated for incoming call.
Bug: 20295789
Change-Id: I2606aa7b27c3dfb2de441737f1ecc2cc80ffdd7e
|
|
... 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
|
|
To match API changes.
Plus, random fixes because of master being out of sync with MW.
Bug: 20160491
Change-Id: I664cb0c3db7e0affc42179d467828246887069e8
|
|
m-wireless-dev
|
|
|
|
Bug:20300433
Change-Id: Iec4a56229ee30f3183c9f4cf37bed3f028eed155
|
|
Bug: 20160491
Change-Id: I45c16b229eb521b91a4eab1394b5d2fbb75ec478
|