summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-12-22Fixed crash in UiListener when launching activity with screen off.zachh
When launching MainActivity with the screen off (e.g. from Android Studio) the application would crash due to: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState Also use FragmentPagerAdapter in MainPagerAdapter as the number of tabs is small and can be stored in memory. Test: manual PiperOrigin-RevId: 179734952 Change-Id: Ib2ca9674f3174493da55bbbf0ef4053fcf73ab47
2017-12-22Handle contacts which have been disassociated with a number in Cp2PhoneLookup.zachh
Bug: 34672501 Test: unit PiperOrigin-RevId: 179726904 Change-Id: I6a81ef28675af7f95139193b69f87decddc4c844
2017-12-22Fixed crash in PinnedShortcuts.zachh
It was expecting only shortcuts for contacts but we also have the "NUI Launcher" shortcut now, so ignore it when attempting to update. Test: unit PiperOrigin-RevId: 179726507 Change-Id: I45e1594250ed70fcd1d18bfead5a9b4e9e46a58b
2017-12-22Bug: 70402588Android Dialer
Test: Bubble.expand PiperOrigin-RevId: 179711507 Change-Id: I4b83d46fe64ea87a1d7cbe3af863b49884dfcad4
2017-12-22Added copySubMessage method to PhoneLookup interface.zachh
The existing way that protos are merged in CompositePhoneLookup is not correct because foo_submessage from BarDataSource may incorrectly contribute old information to the merged message. The new copySubMessage method makes it so that each PhoneLookup is responsible for defining which submessage it is responsible for and prevents the problem. Test: unit PiperOrigin-RevId: 179707015 Change-Id: I566305cf64c46c698f14812d9241d166ac75a6d3
2017-12-22Bubble v2 changes.yueg
- Only show bubble for outgoing, active and background call. (Before: show bubble when is in call) - Show "Call ended" and hide bubble only when there is no outgoing, active or background call. (Before: show "Call ended" for all real call disconnection like one call in conference) - Don't show "Call ended" but only hide bubble when Duo upgrade is accepted/declined. We show bubble for Duo upgrade since the call is still connected. The solution doesn't work for fallback upgrade on pre-ODR device (so "Call ended" still shows). Bug: 67605985 Test: NewReturnToCallControllerTest PiperOrigin-RevId: 179636643 Change-Id: I5d1f6e812c94108228757af89e33d4c496beb735
2017-12-22Always have hardware acceration enabled for InCallActivityroldenburg
This is necessary because Go variants have hardware acceleration disabled at the application level for memory usage reasons. Author: srafeeqh@qti.qualcomm.com Bug: 69490087,70200603 Test: test video call PiperOrigin-RevId: 179629786 Change-Id: Idc900200f41bd1ae7920310b900df5b6e64479b9
2017-12-22Include inserted calls for consideration in PhoneLookupDataSource.zachh
If there is a new call with a number that hasn't been seen before, it should be considered the same as numbers that are already part of the call log. Bug: 34672501 Test: unit PiperOrigin-RevId: 179628789 Change-Id: I422c24c444958dd8842aa14cf8a8069da5cec2c1
2017-12-22Don't use phone number in spam call notificationsmaxwelb
Bug: 67775111 Test: Tap for regressions, manually verified bugreport didn't include PII PiperOrigin-RevId: 179628074 Change-Id: If9ee7fcfe709e749da33d0bddf2f7847e68cc422
2017-12-22Register content observer when voicemail table changes.uabdullah
When a new voicemail is received, it is written in the voicemail table by the Voicemail service. However the new voicemail will not get updated/shown in the New Voicemail UI as the annotated call log would be stale. This CL ensures that when the voicemail is added, the annotated call log is marked dirty and refreshed. This way the new voicemail will be shown in the new voicemail UI. Since a new voicemail is also added, we want to make sure the headers for "today" and "older", their positions are also updated accordingly. Bug: 64882313 Test: Unit tests PiperOrigin-RevId: 179623267 Change-Id: I5dfc84f62f9f37c57ffb2dbbe7e848a58306a19d
2017-12-22Add SmartDialMaps for the Bulgarian alphabet and the Ukrainian alphabet.linyuh
Bug: 30215380,70633239 Test: BulgarianSmartDialMapTest, UkrainianSmartDialMapTest PiperOrigin-RevId: 179621038 Change-Id: I1a5ad97ba7cd4e9e0edffb3cb39f40c4c5d137a1
2017-12-22Remove voicemail from UI only after delete request.uabdullah
Bug: 64882313 Test: N/A PiperOrigin-RevId: 179616641 Change-Id: Ie9e67226dc7cd4082ca4f7fd3ca5725bb854bca2
2017-12-22Bubble v2 RTL language fixes.yueg
- Always use LTR layout direction for root view to avoid jank animation. - Set menu button icon position (left or right) according to default locale. - Set bubble default showing position (left or right) according to default locale. Bug: 67605985 Test: NewBubbleIntegrationTest PiperOrigin-RevId: 179616379 Change-Id: If418cbbf4747c2b655bc83d7c06fc0139979d94b
2017-12-22Implemented SpeedDialEntry Room Database.calderwoodra
This CL includes everything needed to interface with the SpeedDialEntry database. As an excersice to demonstrate it's functionlity, it also updates favorites to read from SpeedDialEntry database and the add favorites screen to insert into it. Bug: 36841782 Test: existing PiperOrigin-RevId: 179615699 Change-Id: I8938ef87244dffbd240506c112b445d147a88193
2017-12-20Merge changes I5a55df44,I7230508fTreehugger Robot
* changes: Populate voicemails in simulator Print array map for debugging purposes.
2017-12-20Populate voicemails in simulatoruabdullah
Adds the logic for only adding voicemails (no call log) in the simulator menu. Also adds the logic for adding a fast voicemail, which only adds 1 voicemail. Bug: 64882313 Test: N/A PiperOrigin-RevId: 179615214 Change-Id: I5a55df44d94b6123eaed6bc56439472b1ab81151
2017-12-20Print array map for debugging purposes.uabdullah
A small bug that only printed the last value of the array map and not all of it. Bug: 64882313 Test: N/A PiperOrigin-RevId: 179605815 Change-Id: I7230508f47e6603470d8067ef5233ae3c9af8911
2017-12-19Merge changes Ic5616af0,I5e4c3e61Treehugger Robot
* changes: Add flags for the Duo install, activate and invite buttons Support dual alphabets in smart dial.
2017-12-19Add flags for the Duo install, activate and invite buttonsroldenburg
Bug: 70034799 Test: GoogleCallLogAdapterTest PiperOrigin-RevId: 179596742 Change-Id: Ic5616af0680e36786ae5261813eae71cf096b084
2017-12-19Support dual alphabets in smart dial.linyuh
Bug: 30215380,70633239 Test: CompositeSmartDialMapTest, LatinSmartDialMapTest, RussianSmartDialMapTest, SmartDialNameMatcherTest PiperOrigin-RevId: 179580982 Change-Id: I5e4c3e61f0dfdc6ca1e80a93bb985ffec08dd8b0
2017-12-19Merge "Ignore deleted voicemail for notification"Treehugger Robot
2017-12-19Ignore deleted voicemail for notificationtwyen
Some voicemail sources keep deleted voicemails in the database for a while. Before this CL if the voicemail is deleted through blocking it will still be returned with CallLogNotificationQueryHelper.getNewVoicemail(), and deleted again. The Deletion triggers a notification update, and the phone enters a loop. If there are other voicemails, the phone will alert every time. In this CL, deleted voicemails are no longer returned with the new voicemail query. Also if All voicemails already has a notification, the user will not be alerted. Bug: 70585368 Test: VisualVoicmailUpdateTaskTest, CallLogNotificationQueryHelperTest PiperOrigin-RevId: 179575512 Change-Id: I352bbf7d0a9d5e2132b5f968e5b5776c9fd518c6
2017-12-19Merge changes I4e2ee34f,Ic53ca21f,I68d16567Treehugger Robot
* changes: Bubble v2 logging. Ensure we do not have a null data string before checking for Duo Bug: 70402588
2017-12-18Bubble v2 logging.yueg
Log the following actions: - expand/collapse bubble - return to call - mute/unmute - switch audio route to speaker/bluetooth/wired or earpiece - end call Bug: 67605985 Test: AudioRouteSelectorActivityTest, NewReturnToCallControllerTest PiperOrigin-RevId: 179484647 Change-Id: I4e2ee34f5550382b2e51bab16ce33e9e16caa3b2
2017-12-18Ensure we do not have a null data string before checking for Duoroldenburg
Bug: 70794242 Test: GoogleCallLogAdapterTest PiperOrigin-RevId: 179480604 Change-Id: Ic53ca21fb7e81390f45b116677df689d3d8fdb67
2017-12-18Bug: 70402588Android Dialer
Test: Bubble.show PiperOrigin-RevId: 179478019 Change-Id: I68d1656787335bf68e78e435c54d1a127f9fdf20
2017-12-19Merge changes I2996a151,Iee1999c6Treehugger Robot
* changes: Added tests for SmartDialNameMatcher. Allow orientation change when receiving video upgrade request in the in-call UI.
2017-12-18Added tests for SmartDialNameMatcher.calderwoodra
Bug: 30215380 Test: this cl PiperOrigin-RevId: 179468203 Change-Id: I2996a15135cde48094cb8f430b2fd6d7eeee6ec7
2017-12-18Allow orientation change when receiving video upgrade request in the in-call UI.linyuh
Bug: 67764843 Test: Manual PiperOrigin-RevId: 179463451 Change-Id: Iee1999c673a0b6f67d8e538745c23e75865a5262
2017-12-18Merge changes I05dc2ddd,Ic6bfd4ab,I58557f77Treehugger Robot
* changes: Added tests for latin smart dial map. Upgrade target SDK version to 27. Bubble v2 animation change.
2017-12-18Added tests for latin smart dial map.calderwoodra
Bug: 30215380 Test: this CL PiperOrigin-RevId: 179461976 Change-Id: I05dc2ddde58533ef2caef7ccd3327d36c7bf4e55
2017-12-18Upgrade target SDK version to 27.linyuh
Test: None PiperOrigin-RevId: 179458302 Change-Id: Ic6bfd4abe4c7f51d395488863edc1515754f6b36
2017-12-18Bubble v2 animation change.yueg
When expand/collapse, use RoundedRectRevealOutlineProvider to reveal/unreveal from top left or top right corner. It's similar to app icon popup in Pixel 2. And animate this together with bubble moving to the middle. Also reduce animation duration. Bug: 67605985 Test: manual PiperOrigin-RevId: 179435867 Change-Id: I58557f77d0db167dc9d2a2dadeb5bc4cfa16702f
2017-12-18Merge "Add proguard.flags for missing guava dependencies."Treehugger Robot
2017-12-18Add proguard.flags for missing guava dependencies.erfanian
Test: treehugger PiperOrigin-RevId: 179434607 Change-Id: Ibed4fdf968f9341a18848cc0c5a5b0637f3cb03b
2017-12-16Merge "Implemented Cp2PhoneLookup#lookup."Treehugger Robot
2017-12-15Implemented Cp2PhoneLookup#lookup.zachh
Bug: 34672501 Test: unit PiperOrigin-RevId: 179278530 Change-Id: If629aa2c31efad790c8c70e8066dc9a5612d1fc3
2017-12-16Merge changes I269c8573,I1e521d2eTreehugger Robot
* changes: Turning on the screen when audio stream of an incoming call is directed through Bluetooth. Support empty PhoneLookupInfo in Cp2PhoneLookup.
2017-12-15Turning on the screen when audio stream of an incoming call is directed ↵linyuh
through Bluetooth. Bug: 70638560 Test: InCallActivityTest PiperOrigin-RevId: 179261692 Change-Id: I269c8573592e6ff6083efc201e6bede74a01ee06
2017-12-15Support empty PhoneLookupInfo in Cp2PhoneLookup.zachh
This is necessary to support the case when the user has just upgraded to the new UI and there is no PhoneLookupHistory data yet, or they have cleared their data. Bug: 70570635 Test: unit and manual PiperOrigin-RevId: 179261139 Change-Id: I1e521d2e86bd3f8643c5c0bb537a52c41f1ceb6d
2017-12-15Merge "Hide "Invite" and "Set up" Duo buttons for spam and voicemail calls"Treehugger Robot
2017-12-15Merge changes I23281587,I9a7f8edcTreehugger Robot
* changes: Implement basic bottom sheet in NUI Voicemail tab. Remove voicemail settings if missing permission
2017-12-15Hide "Invite" and "Set up" Duo buttons for spam and voicemail callsroldenburg
Bug: 70681464 Test: GoogleCallLogAdapterTest PiperOrigin-RevId: 179224173 Change-Id: I7b70f478898fade5cc5a9bf50581d35f2ce2261f
2017-12-15Implement basic bottom sheet in NUI Voicemail tab.uabdullah
Implement the basic bottom sheet that displays name, location add to contacts, send a message and copy number option. Bug: 64882313,70682949 Test: Unit test, additional unit tests in the next CL that will implement calling from bottom sheet. PiperOrigin-RevId: 179212401 Change-Id: I23281587a0d42cea595e4dc1608f997036e2dbd0
2017-12-15Remove voicemail settings if missing permissiontwyen
Bug: 70282673 Test: DialerSettingsActivityTest PiperOrigin-RevId: 179124385 Change-Id: I9a7f8edc4ae8df44891f551a8aa561bd81922f66
2017-12-15Merge "Handle ActivityNotFoundException when starting intent from IntentModule"Treehugger Robot
2017-12-15Merge "Add PreCall step to check permission"Treehugger Robot
2017-12-15Merge "Implement PeopleApiPhoneLookup"Treehugger Robot
2017-12-14Handle ActivityNotFoundException when starting intent from IntentModuletwyen
Bug: 70515828 Test: IntentModuleTest PiperOrigin-RevId: 179123113 Change-Id: I3cfed7570505c058f3e86054186115db98bb2a8e
2017-12-14Add PreCall step to check permissiontwyen
If CALL_PHONE is missing PreCall will abort immediately and show a toast. Bug: 70565989,70566029 Test: PermissionCheckActionTest PiperOrigin-RevId: 179123070 Change-Id: I0d43c6acd44e77562752c871bed0223b2f787dde
2017-12-14Implement PeopleApiPhoneLookuptwyen
This CL rewrites com.google.android.dialer.reverselookup and uses gRPC instead to perform People API queries. Bug: 70355819 Test: PeopleApiPhoneLookupTest, PeopleApiPHoneLookupInfoTransformerTest PiperOrigin-RevId: 179122466 Change-Id: I769c8b420b9d71b9787d844380b2aceb7ff2c63c
2017-12-15Merge "Refactor add to contacts, send a message and copy number modules for ↵Treehugger Robot
bottom sheet"
2017-12-14Refactor add to contacts, send a message and copy number modules for bottom ↵uabdullah
sheet These three modules are to be shared between the voicemail and call log bottom sheets. This CL refactors it such that the functions take in generic parameters instead of coalesced annotated call log row so that they can be used by the voicemail tab. Bug: 64882313,70682949 Test: Existing tests PiperOrigin-RevId: 179110882 Change-Id: I2e8edafbf50e51d2299bfbcb95957e40c1b366ec
2017-12-15Merge changes I2c82e950,Ibb386e20Treehugger Robot
* changes: Use Dagger to get Duo instance in CallLogListItemViewHolder Add input dialog for simulator to use customized number.
2017-12-14Use Dagger to get Duo instance in CallLogListItemViewHolderroldenburg
Bug: 70402153 Test: GoogleCallLogAdapterTest PiperOrigin-RevId: 179106427 Change-Id: I2c82e95022c461d251d3385841640bc31d8aa765
2017-12-14Add input dialog for simulator to use customized number.weijiaxu
Add dialog for user to input whatever numbers with whatever types they want. With this functionality, users can use simulator to test payphone number, private number and etc.. This is a part of feature request in b/70244000. Bug: 70244000 Test: On a local device. PiperOrigin-RevId: 179105057 Change-Id: Ibb386e209d0907d23773cd2c55939b500de4d8f6
2017-12-14Merge "Add impressions for Duo related events (install, activate and invite)"Treehugger Robot
2017-12-14Add impressions for Duo related events (install, activate and invite)roldenburg
Bug: 70034799 Test: GoogleCallLogAdapterTest PiperOrigin-RevId: 179085188 Change-Id: I7546cf7e35bbdd3788b03d19627d9a04f612335f
2017-12-14Merge "Take into consideration special characters when we do contact match."Treehugger Robot
2017-12-14Take into consideration special characters when we do contact match.linyuh
Bug: 30225112 Test: CallLogGroupBuilderTest, PhoneNumberHelperTest, CallerInfoTest, and Manual (see demo) PiperOrigin-RevId: 179080046 Change-Id: I8e451a6c197a6c3df4260e58d0276a5dc5b9515a
2017-12-14Merge "Recycle TypedArray for AutoResizeTextView."Treehugger Robot
2017-12-14Recycle TypedArray for AutoResizeTextView.wangqi
Bug: 70625240 Test: none PiperOrigin-RevId: 179069025 Change-Id: Iaabbe55fdbedd8ae901c6b9cf0c67be1adb31eb4
2017-12-14Merge "Change dt for CVVM to 6"Treehugger Robot
2017-12-14Change dt for CVVM to 6twyen
Bug: 70243393 Test: N/A PiperOrigin-RevId: 179064288 Change-Id: Id8b2e600ae00edbe2697932ad2d9fe78ea4430b5
2017-12-14Merge "Support deleting voicemails"Treehugger Robot
2017-12-14Support deleting voicemailsuabdullah
Allows voicemails to be deleted when tapping on the delete icon. Upon tapping the delete button this first deletes/hides it in the recyler view and then subsequently deletes it from the underlying table. Test: Unit test PiperOrigin-RevId: 179055594 Change-Id: I98bb7694d59b7edfcaa4ae162b194c0ef3a0292e
2017-12-14Merge "Replace $(COMMON_JAVA_PACKAGE_SUFFIX) with .jar"Colin Cross
2017-12-14Merge "Implemented disambig dialog for new speed dial fragment."Treehugger Robot
2017-12-14Merge "Support normalization of numbers in Cp2PhoneLookup."Treehugger Robot
2017-12-14Implemented disambig dialog for new speed dial fragment.calderwoodra
This change implements the logic to build the disambig dialog and display the relevant information. Future CLs will: - Implement the logic for favoriting a communication avenue - Polish the UI Bug: 36841782 Test: DisambigDialogTest PiperOrigin-RevId: 179012593 Change-Id: I4294f4ae2a475b1e560eabd424e54a829c0d7829
2017-12-14Support normalization of numbers in Cp2PhoneLookup.zachh
Bug: 34672501 Test: unit PiperOrigin-RevId: 179012381 Change-Id: Icb78c73e243702a71f1a48692151b696ae2ac95f
2017-12-13Replace $(COMMON_JAVA_PACKAGE_SUFFIX) with .jarColin Cross
$(COMMON_JAVA_PACKAGE_SUFFIX) isn't adding anything, just use .jar. Test: m Dialer Change-Id: Ice24bc5462bb212a9c44ba051595fee61f7872db
2017-12-14Merge "Take user to install Duo if they tap "Set up" without the app installed"Treehugger Robot
2017-12-14Merge "Add reloadReachabilities to Duo interface"Treehugger Robot
2017-12-13Take user to install Duo if they tap "Set up" without the app installedroldenburg
Bug: 70034799 Test: DuoImplTest, GoogleCallLogAdapterTest PiperOrigin-RevId: 178981398 Change-Id: Id524dfe61bf3a2358d863dd8d5f7c6c083b8063c
2017-12-13Add reloadReachabilities to Duo interfaceroldenburg
Bug: 70034799 Test: DuoImplTest, GoogleDialtactsActivityTest PiperOrigin-RevId: 178971440 Change-Id: Ib624bd340fbeac11474db198763ae77eddb03ae3
2017-12-13Merge "Bubble v2 accessibility."Treehugger Robot
2017-12-13Bubble v2 accessibility.yueg
Add description and action for primary button and expanded view action buttons. Bug: 67605985 Test: manual PiperOrigin-RevId: 178955927 Change-Id: I43ad24334cb1e1676cbc390cdba5465ded1464b5
2017-12-13Merge "Integrate CallDetailsActivity with the new call log UI."Treehugger Robot
2017-12-13Integrate CallDetailsActivity with the new call log UI.linyuh
Bug: 70218437 Test: CallDetailsActivityTest, CallDetailsCursorLoaderTest, ModulesTest PiperOrigin-RevId: 178918820 Change-Id: Ib8034190550e8ca8e6e7fd9ce521bfadc73e834f
2017-12-13Merge changes I2dd58db1,I6cf55ad4Treehugger Robot
* changes: Refactor CallerInfo and ContactInfoHelper to improve readability. Move TelecomCallUtil to com.android.dialer
2017-12-12Refactor CallerInfo and ContactInfoHelper to improve readability.linyuh
Test: Existing tests PiperOrigin-RevId: 178862915 Change-Id: I2dd58db10d546c062b0f43dad80f74d588cb65e1
2017-12-12Move TelecomCallUtil to com.android.dialertwyen
Since PhoneLookup exposes Call, more common access to the utility is required. Bug: 70355819 Test: TelecomCallUtilTest PiperOrigin-RevId: 178847628 Change-Id: I6cf55ad4e3566596b7b2e8cffb5a1614e6640a8b
2017-12-13Merge "Cleanup. Changing voicemail_transcription_enabled to ↵Treehugger Robot
voicemail_transcription_available"
2017-12-13Merge changes I20238912,I1fe1eef4Treehugger Robot
* changes: InCallActivity#isDialpadVisible() now returns the correct value. BEGIN_PUBLIC Automated rollback of changelist 172505648
2017-12-12Cleanup. Changing voicemail_transcription_enabled to ↵mdooley
voicemail_transcription_available Follow the convention that features allowed by server configuration flags use the word 'available' and when a feature is allowed by the user via settings then use the word 'enabled' Bug: 37340510 Test: manual and updated unit tests PiperOrigin-RevId: 178831467 Change-Id: I5691fd7db45a70908d32cdac2b049fe76e6a0680
2017-12-12InCallActivity#isDialpadVisible() now returns the correct value.calderwoodra
Bug: 64657832 Test: manual/logging PiperOrigin-RevId: 178824989 Change-Id: I202389123732c05680ba329313e889437fb4a806
2017-12-12BEGIN_PUBLIClinyuh
Automated rollback of changelist 172505648 Bug: 30225112 Test: None PiperOrigin-RevId: 178815682 Change-Id: I1fe1eef49d587314d32e7125f5106769b3099ad3
2017-12-12Merge changes I45978ea4,Ia85b1008,I9e68c561,I9255dd3cTreehugger Robot
* changes: BEGIN_PUBLIC Automated rollback of changelist 172683494 BEGIN_PUBLIC Automated rollback of changelist 172956409 Download and play voicemails from server when not locally available. Updated writing of PhoneLookup columns in annotated call log.
2017-12-12BEGIN_PUBLIClinyuh
Automated rollback of changelist 172683494 Bug: 30225112 Test: None PiperOrigin-RevId: 178807986 Change-Id: I45978ea4daab71985ac93c3c3a0439fdd8e873d5
2017-12-12BEGIN_PUBLICroldenburg
Automated rollback of changelist 172956409 Bug: 30225112 Test: rollback PiperOrigin-RevId: 178805314 Change-Id: Ia85b10081948b64d4cfc9c9d10d35679df8296ef
2017-12-12Download and play voicemails from server when not locally available.uabdullah
Test: Unit tests PiperOrigin-RevId: 178791213 Change-Id: I9e68c561285988cc1def894f5c7ecf9715ecf6b6
2017-12-12Updated writing of PhoneLookup columns in annotated call log.zachh
We're not going to use the "cached" columns from the system call log any longer, and instead will write them using PhoneLookup. Bug: 34672501 Test: unit PiperOrigin-RevId: 178788155 Change-Id: I9255dd3cb727eef3b45bc05aeb3c6fd6fd513d63
2017-12-12Merge "Implement today and older for NUI Voicemail and update ↵Treehugger Robot
MediaPlayerView tests"
2017-12-11Implement today and older for NUI Voicemail and update MediaPlayerView testsuabdullah
This CL also updates the tests that were TODOs from http://b/70401224 to allow testing the MediaPlayerView SCREENSHOT: Today: http://screen/8KvVtLtHeq4 Older: http://screen/5oskBZPbDR5 Test: Unit tests PiperOrigin-RevId: 178699528 Change-Id: Idab797eff18fd277618938a8a54da350c60b3d54
2017-12-12Merge "Play voicemails, update seekbar timer, allow seeking, and maintain ↵Treehugger Robot
state after recycling."
2017-12-12Merge "Also show bubble avatar for incoming call and outgoing call."Treehugger Robot
2017-12-11Merge "Don't save UI executor in UiListener."Treehugger Robot
2017-12-11Play voicemails, update seekbar timer, allow seeking, and maintain state ↵uabdullah
after recycling. This CL adds the support for playing voicemails, changing the play button to pause button when playing the voicemail, updating the seekbar and duration timer when the voicemail is being played. It also adds the support to preserve the state of the media player such that when scrolling and recycling views, when an expanded and playing voicemail is recycled back into view, it's most recent state is shown i.e the duration and the seekbar are upto date. Video: https://drive.google.com/open?id=1CKbLK5-1YDeXBZFiKvuTxoPuFJQ1rbj7 Test: Unit tests PiperOrigin-RevId: 178681663 Change-Id: Ifdd1d945572926bdc7d652aa7a876d3156fc21ce
2017-12-11Also show bubble avatar for incoming call and outgoing call.yueg
Instead of just showing avatar for active or background call, we should also show avatar for other calls. In the order: 1. incoming call 2. outgoing call 3. active or background call Test: NewReturnToCallControllerTest PiperOrigin-RevId: 178675371 Change-Id: Ibf8b757821d9a6420ba56439e4f6a93e9e5c3d91