Age | Commit message (Collapse) | Author |
|
nyc-dev
am: ebfbfa10d9
* commit 'ebfbfa10d95ef21373cf7c112eac52413b11c525':
Query lookup uri with work lookup key directly is not allowed
|
|
am: a03c1f480e
* commit 'a03c1f480e61c1f3507e294095e21b73d23a5e58':
Increase opacity of text on primary call info to 100%.
|
|
nyc-dev
|
|
|
|
|
|
Query lookup uri with work lookup key directly is not allowed, app crashes
if doing so. And actually, all APIs do not support work lookup key
except those explicitly say it does.
This Cls changed two places:
1. Do not pass lookup uri with work lookup to NotificationManager to avoid
NotificationManager using the uri to query.
2. Dialer perform query for alternative display name using lookup key.
But if it is a work contact, do not do so.
Bug: 27146678
Change-Id: Ie59c37ff43b6f953a96564c446d79d8812f5ada1
|
|
Change-Id: Ic399f376d9a008c08b5a7b795ed142592d22a4a0
Auto-generated-cl: translation import
|
|
Bug: 27274383
Change-Id: I155078c88e7240cd43b298de22ff8f8d1bbab60a
|
|
am: 5558f89b14
* commit '5558f89b14af81d38364afe9e51a56f8557fd282':
Removing unneed bluetooth code
|
|
+ By playing through AudioManager.STREAM_VOICE_CALL, routing audio to
bluetooth is handled properly for us.
+ This change removes the code that was preparing to manually play
the call waiting tone through bluetooth.
+ Small fix ups for javadoc
Bug: 26932998
Change-Id: Ib5f872c72cdfa44ab0bc2ff5d7e41645aba813ff
|
|
Change-Id: I8ad6c48dbe5394ea53e866b9d258df0e98ea60bb
Auto-generated-cl: translation import
|
|
Change-Id: I40043ca19c291e4dd396b7f8f2eeabeeab4223c6
Auto-generated-cl: translation import
|
|
am: d78f93b443
* commit 'd78f93b4439f05ba2251b21c9d84b671884df98d':
Added public notification for calls
|
|
am: ae2b330d68
* commit 'ae2b330d6860e813ae3ee0f0c0193d726483e38b':
Provide better talkback for buttons in calling.
|
|
|
|
+ Previously we didn't have a notification for ongoing/incoming calls
to show users when they're on the lock screen and have their
notification settings set to 'hide sensitive notification content'.
This change adds that notification, to disambiguate between
notifications for calls and other notifications such as those for
missed calls.
+ This notification matches the version shown when the device is
unlocked except that we choose to not show work call information as
that is related to contact info.
See http://screen/zYZseSS1d54
Bug: 13387034
Change-Id: I02290e585a9b46eb9207adf8258a67d29882518b
|
|
nyc-dev
am: 008c82f409
* commit '008c82f409bc9b12cc1752e6e24168e8a0121af6':
Fix bug of secondary call info disappear after switching calls.
|
|
nyc-dev
am: af5880f151
* commit 'af5880f151fbcda28dcb16f59c040b96fa4807d9':
Accessibility: announce the active call after switching calls.
|
|
dismissed." into nyc-dev
am: 9ae9630e9c
* commit '9ae9630e9caad36bd338a4cb5e009d47adc9223e':
Fix issue where video does not un-pause after call waiting dismissed.
|
|
1. Announce "unmute" if the mute button is checked
2. Annouce "hide dialpad" if the show dialpad button is checked.
Bug: 24296610
Change-Id: Idc3b78e49ca5ef2c01b2ab671b5e34ba54cc4f4e
|
|
nyc-dev
|
|
nyc-dev
|
|
dismissed." into nyc-dev
|
|
When an incoming call waiting call is received, the VideoPauseController
sends a "pause" command to the video provider.
However, upon dismissing the call waiting call, the foreground call
was not being unpaused.
Bug: 21815566
Change-Id: I637ab70d1b2adf4510dd87e5d56e233b1a3e065d
|
|
Bug: 24200862
Change-Id: I102a9c8406984a9dd4cfd8b91ec77254aa984dd5
|
|
Change-Id: I45682d6276baa030162b08194a1557f675207ea0
Auto-generated-cl: translation import
|
|
am: 2ff80ef65a
* commit '2ff80ef65ad1856c766cdd6c2e311dc4c7e19318':
Add back button to dialpad in callui
|
|
|
|
Bug: 27231038
Change-Id: I721de663ae09489dd51cea0a70c5bca2d272fbf7
|
|
am: 9cff658da2
* commit '9cff658da23dc80786650fb0203ae4566839f18d':
Disabling Dialer ringing feature
|
|
|
|
+ Need to remove for DP1
Bug=27367182
Bug=27353237
Change-Id: If370c942534bba3fd98c11447e1a83a2bf0cdfe1
|
|
am: 0eeee8b2e0
* commit '0eeee8b2e0d307f5be3c733dad5ef150fd2e008e':
Respect setting for incoming call to vibrate
|
|
+ Previously the Dialer would always play a vibration pattern for
incoming calls, regardless of whether the user toggled the vibrate
setting off. This change causes the Dialer to respect that setting.
Bug=27353237
Change-Id: I65987cea0c13dd50fba5e0edacfba88b3e3ecbd7
|
|
Bug: 27323979
Change-Id: I6f66052dee5ef3be32df4008835d0918bba54e50
|
|
am: f0bf4ca8ca
* commit 'f0bf4ca8ca4b7d06db99f416480b81b0148ba6dc':
Fix FAB position after hang up with secondary call.
|
|
|
|
Change-Id: Id406e6ee0cd7028b446108487b39dfda82d23e7d
Auto-generated-cl: translation import
|
|
Bug: 27294280
Change-Id: Ia5d6580ef77078b3d489efc0b73c2bbd2b4d2b77
|
|
|
|
Bug: 26862821,27250655
Change-Id: I1b5c35846f1a2d2dedaf2df9abf1f522270b1638
|
|
|
|
gradle project name for PhoneCommon, ContactsCommon and InCallUI
changed to all lower case.
Removed googledialer project, no long needed.
Bug:26676586
Change-Id: Ice2496321d7a23ddb93e9a7363b8150a1bf43d4c
|
|
|
|
In b/21124069, a change was made to make swipe-right default to answer
as audio, and swipe down be answer as video for a video call.
UX expressed that it makes more sense to use the previous swipe-right to
answer as video and swipe down to answer as audio.
Bug: 27097678
Change-Id: Id495d985dfb5c6dafdf45493ce37ad8b47dd5f7e
|
|
Now that we're no longer backwards compatible with Lollipop we don't
need CallAudioStateCompat. See ag/870962 for more info.
Bug: 26676586
Change-Id: I7c754d89a6c9e13bf5a004b7c5b15b88b9aff9ad
|
|
This CL adds a new build-library.gradle file for AOSP dialer.
This allows the dialer to be built as a library that can be
included from GoogleDialer.
Switching to a library project meant making two other changes:
- changed all switch statements that used resources to if statements.
This was required because resource IDs are not final in library
projects.
- changed InCalUI code to import com.android.dialer.R instead of
com.android.incallui.R. See http://b.android.com/82743 for more info
on why this is required.
src-N isn't supported yet. Also, this isn't the ideal project layout.
In the future we should consider switching to the following layout:
- dialer/incallui/ <- incall UI as an independent library project
- dialer/dialerlib/ <- dialer code as an independent library project
- dialer/app <- skelent app that builds a standalone dialer AOSP app
Bug: 26676586
Change-Id: I07fbee4d33cc683539e4f8b3953c93f1427af9d7
|
|
This CL adds gradle build files for Dialer. Currently the build file
in the InCallUI code only builds resources. Eventually we'll want to
make that a standalone library project.
Things missing from this CL:
- support for src-N
- build target for dialer-library to be included by GoogleDialer
Bug: 26676586
Change-Id: Ie91cb720cf17fd8579b04a01287e140b39d0c42f
|
|
|
|
This CL removes support for running dialer on Android L MR1.
The change allows us to switch from the system SDK to the public SDK.
This is useful for the following reasons:
- makes it easier to switch to gradle
- makes it easier to migrate GoogleDialer to google3
- reduces maintenance overhead for unused code
Currently there's no plan to release Dialer on Lollipop. If or when
we decide to support Lollipop we can consider switching back to the
system SDK and restoring the comapatiblity code.
Bug: 26676586
Change-Id: Idac9e6e19f1d21c9261c1b0d0ff3e3ca4aab980b
|
|
into nyc-dev
|
|
Current dialer always queries PhoneLookup._ID and uses this as a contact
ID.
In pre-N, contact id of non-sip query is stored in PhoneLookup._ID and
it is actually a mistake. This problem does not exist in sip query,
and contact id of sip query is stored in Data.CONTACT_ID. So it is a "bug"
in dialer that we use PhoneLooup._ID for sip query as it is not really a
contacat id. The bug of missing work badge may not be the only issue
introduced by this.
In N, the issue is get fixed in framework, PhoneLookup.CONTACT_ID is
introduced. We should access PhoneLookup.CONTACT_ID no matter what
phone lookup query we are having.
The ideal case is we always use PhoneLookup.CONTACT_ID for retrieving
contact id, but given that we need to support in pre-N, we need to
query PhoneLookup._ID for contact id in non-sip query in pre-N.
BUG:27242975
Change-Id: Id14378e3dce5b07629ffe0c6e83c3d107fbb468e
|
|
|
|
|
|
+ When starting a call, we attempt to look up the ContactInfo. This
lookup needs to be guarded by a check to ensure we have permission to
read the contacts.
Bug=27078247
Change-Id: Id68de80d3acd721642b79ff81fda5d9decd67e7b
|
|
into nyc-dev
|
|
Do not create a new surface when setting surface dimensions.
Bug: 27246093
Change-Id: I3f66594141d548680427a7579169647018ca7eb7
|
|
into nyc-dev
|
|
Move the "onDialpadVisibilityChange()" listener call so that it takes
place regardless if the dialpad is animated on show-hide. That
listener triggers "updateFabPosition()" in callCardFragment, which
repositions the fab.
Bug: 27170964
Change-Id: I56588695c633205f4ebaac6d9685f543b9e09293
|
|
Hammerhead devices have a height of 544dp, which currently means they
will be adopting the layout of the multi-window UI. Change the threshold
so that Hammerhead uses the full-screen layout.
Note that this does not affect NYC because Hammerhead is not supported,
but will be necessary for unbundled dialer.
Bug: 27173087
Change-Id: I6250de91b6e0c5c197d599422ae7a74c27ed9628
|
|
nyc-dev
|
|
When user pressed back key InCallActviity will be destroyed and
corresponding listeners in VideoCallPresenter will be removed.
Due to this we are unable to process the upgrade request.
Moving handling of upgrade Video Call request handling from
VideoCallPresenter to InCallPresenter as InCallPresenter will be
available even InCallActivity is destroyed.
Bug: 27130345
Change-Id: Idbd3348cea9d712c8391319d091642d1fd60964f
|
|
The manage conference button allows the user to unmerge or hangup one of
the calls in the conference for GMS and IMS devices.
+ Move the original manage_conference_call_button layout file to
layout-h600dp and layout-w600dp-land directories.
+ Fix the button to the bottom of the call card fragment.
+ Split the "manage conference call" text into two pieces and put
"conference call" on one side and "manage" with the icon on the other.
Bug: 26253432
Change-Id: I9853f479d4e45591026fe7a753eca1ef69b00e42
|
|
Resizing for fitting video call fragment in multi-window mode.
Bug: 26253432
Change-Id: Ie1adc15314cff80d7c2f8f27a19a770e3608d280
|
|
|
|
+ The code to make the Dialer play was disabled behind flags, this
change flips the flags so the Dialer is responsible for playing the
ringtone.
+ The in-code flag will be removed later after a QA pass of the
feature.
- Removed TODO to respect Do Not Disturb, see b/26936902
Bug=18702990
Change-Id: I773c1c614beb61a6763daccd2903d9d341cf4dc0
|
|
+ This API simplifies tests, specifically their tearDown methods.
Rather than needing to call ackMilestone numerous times to clean up
at the end of the test, this method can be called to ensure that the
thread running the production code isn't blocked on the tests.
Change-Id: I60730c52491b315aee571f4ae158f62d34b0dbc2
|
|
This change makes the Call Waiting tone actually play during the
Call Waiting use case.
+ Plugging InCallTonePlayer into the DialerRingtoneManager in the
StatusBarNotifier
+ Test fixes
+ Added tests for when Dialer ringing is disabled
+ Added tests for DialerRingtoneManager#playCallWaitingTone
- Removed unneeded @NeededForTesting annotations from InCallTonePlayer
since they won't be stipped out by proguard.
Change-Id: I49a83d2a7fe6edf5f9ec88db973a5f37e307f23a
|
|
|
|
|
|
|
|
+ Renamed the DialerRingtoneManager, but forgot to rename the test file.
Change-Id: I3de6223e023787657d2573ba3f620fc9bc013181
|
|
+ This class will be used by the DialerRingtoneManager to play the
call waiting tone. It exists to encapsulate the logic to play a tone
in a background thread.
+ The TonePlayer includes some thread safety measures, but is not
meant to be shared between multiple threads
Bug=26936401
Change-Id: I630959177fcd8a4fc8ba7d3153f036746ad8a4cf
|
|
+ This class was needed to abstract out the logic to determine which
stream to play tones though. It is also easily mockable for use.
Change-Id: I382239483871b9aa1ef6fece7e66ea95f3fba4e0
|
|
Secondary info was previously hidden after the layout refactoring to
support resizing in multi-window mode. Make it visible and also keep it
at the bottom of the screen because the vertical screen real estate is
limited.
Bug: 26253432
Change-Id: I8e7f3b462784c7af62ccdb95e637595f7d382edd
|
|
nyc-dev
|
|
+ Use a TestableExecutor in the production code to allow tests to
sync up and block so the state of the system can be tested. In the
tests the executor can wait until the production code hits a
milestone to ensure that the system is in a proper state for testing.
+ The current implementation only attempts to synchronize between one
production thread and one test thread. Extend the TestableExecutor
interface to perform additional synchronization.
Change-Id: Ie6fc64392e402330ab66c6f2cd0ec22200ebbdea
|
|
This CL is a direct copy from ag/864936. The original CL missed the move
from InCallUI to Dialer/InCallUI.
Origianl description:
Multi-window mode reduces the available screen real estate for the
InCallUI. As a result, some changes need to be made so important
information is still shown. When the UI has <100% of its normal screen
real estate:
* Remove large photo
* Shift hangup button down
the way the resource files should be interpreted:
* The base layout/ is the default layout, in this case, it is the
multi-window layout
* layout-h600hdp is the layout used when the screen height is >=600 dp,
which is the layout in 100% screen size (this is a direct copy of the
old layout/ file(s)
* layout-w600dp-land is the layout used when the device is in landscape
mode with a width >=600 dp (this is a direct renaming from *-land/)
Bug:26253432
Change-Id: I3db194a1e5b3334d10ab76806644b1a0769ad777
(cherry picked from commit fc1929393b506e7f7665be49424336ac2b7a02ae)
|
|
[cherry-pick from ag/864046]
Photo of directory contact in call log should not require internet access.
It's now cached locally.
BUG=26111304
Change-Id: I9848e6fe9487c09899fd77f21804bcb4537799a8
|
|
[cherry-pick from ag/862143]
Update cache only when the result is returned to InCall UI.
Now both call log and InCallUI take the callerinfo
which are first returned from provider.
When both personal and work profile directory lookup returns
a caller info, InCallUI takes the personal one, while cache
takes the work one. So it might result in the name being inconsistent
between 2 UIs. However, it's extremely rare as it's unlikely
to happen unless 2 corporate accounts under the same domain
are registered in personal and work respectively.
BUG=26819634
Change-Id: I87c4533635c0e2f88a639ca1c23611b2a22f6b07
|
|
This is a cherry-pick of partner CL in mm-wireless-dev.
In use-cases wherein UE receives waiting call or user tries to add call
soon after initiating a modify request, progress spinner is not hidden.
Fix this by clearing the progress spinner when primary call changes.
Change-Id: I3a5b28e36af3c73e797924cdf1b3cb87815296f1
|
|
Change-Id: Ie358626bd0085d3e29cace8622bfb049f679b2c5
Auto-generated-cl: translation import
|
|
+ ContactDisplayUtils's preferredName methods now accept the
ContactsPreferences object rather than just an int. This was done to
abstract out the null checks that were previously necessary when using
the utility.
+ Conference calls were crashing because the ContactsPreferences
object was attempting to access shared preferences while File based
encryption locked. This change makes use of the
ContactsPreferencesFactory to handle returning the proper instance
when in this locked case.
Bug=26822105
Change-Id: Ie382c0c615cf27f69682774fc9538828cc429e69
|
|
|
|
+ This change ensures that the Dialer doesn't try to use the
ContactsPreferences object (which uses information in unavailable
storage) while in File based encryption locked mode. Without these
checks, the Dialer crashes on receiving an incoming call while FBE
locked.
+ Added Factory method to create ContactsPreferences for tests/while
FBE locked/while FBE unlocked
+ Added tests for CallCardPresenter and StatusBarNotifier FBE related
code
Bug=26822105
Change-Id: I5df93526e70b7350885c7261982945c32b7e86a0
|
|
Change-Id: Iec5190708caf1522d1108d3806d9d56bfecb8810
Auto-generated-cl: translation import
|
|
* changes:
Adding method to check if call waiting tone should be played
Refactored dialer Ringtone code in prep for call waiting
|
|
+ This method will be used in StatusBarNotifier to determine when
call waiting tones should be played instead of the standard ringtone
Change-Id: I4ad55f3870de5e63d03f4a5e8534680fa24556bd
|
|
+ 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
|
|
- Remote contact lookup was overwriting the cached contact specific
ringtone. This resulted in a longer wait time for the ringtone to
play since it would require the contact lookup to complete again.
- This CL prevents the cached ringtone from being overwritten.
Change-Id: I0a1cb30acd3aaf540533429c01427b185a7acf66
|
|
am: b68e8129c0
* commit 'b68e8129c056c60e78188e6fbcd6179406723eaa':
Adding flag to enable/disable Dialer ringing
|
|
Bug=26864105
Change-Id: Ifc565320dd9fd8845c45551454e59020806d985c
|
|
ub-contactsdialer-b-dev
am: 8a5ff66b41
* commit '8a5ff66b4136af7e7353d2b408a69262ee89013c':
Add downgrade to audio button for video calls.
|
|
ub-contactsdialer-b-dev
|
|
am: e8318d00f6
* commit 'e8318d00f6ed1ddbec23be052d6751076e87137c':
Play the ringtone for incoming calls in Dialer
|
|
+ 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
|
|
- 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
|
|
into ub-contactsdialer-b-dev
am: ccfb9e42ea
* commit 'ccfb9e42ea60ba7a8f024d93da2b8c19657f8bf6':
Open work profile QuickContacts for work contacts in personal dialer
|
|
into ub-contactsdialer-b-dev
|
|
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
|