summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-04-25Show clear frequents option in the toolbar if there are suggested contacts.calderwoodra
Bug: 36841782 Test: SpeedDialAdapterTest PiperOrigin-RevId: 194210091 Change-Id: I5b8ad5ca43ee6f519de09ad2a8b1b959637a825b
2018-04-25Use UI listener for preferred account worker in in call UItwyen
Before this CL it is ran on a non-UI task, where the callback might happen after the activity has already ended. TEST=manual Bug: 78517857 Test: manual PiperOrigin-RevId: 194169377 Change-Id: I0011019cb31b0b2c01c9d774776fb44dcac4d8c6
2018-04-25Make SIM Selection hint multi-linetwyen
SIM names can be really long and might be truncated if the template placed it at the end of the string. Also removed the char limit on the hint. TEST=TAP Bug: 69675796,72618783 Test: TAP PiperOrigin-RevId: 194163675 Change-Id: I8ee43ce87da80bc6438d2eaad480c63a0d89fbe2
2018-04-25Convert CequintCallerIdContact into an @AutoValuelinyuh
Bug: 70989584 Test: None PiperOrigin-RevId: 194161852 Change-Id: I35e0748ab634a84f6b6a19b790bfc55090026a35
2018-04-25Newly starred SpeedDialUiItems now have SpeedDialEntry ids set.calderwoodra
Bug: 78241895 Test: numerous PiperOrigin-RevId: 194147693 Change-Id: I9e9947ad689c5bf24dd52e37787f4138a92f5238
2018-04-25Disable entries in CallingAccountSelector that are not selectabletwyen
This CL also unifies the disabled color for primary and secondary text. The in call UI dialog will be implemented in a followup CL. TEST=TAP DEFAULT_VALUE_OK=no server. Bug: 69675796,72618783 Test: TAP PiperOrigin-RevId: 194147061 Change-Id: I5be5a45a7df09061a3bf391f6ae2a32d9c73b6e3
2018-04-25Add "enabled" to SelectPhoneAccountDialogFragment.twyen
This is used to inform the user an account cannot be used right now. On most dual SIM devices, only a single SIM can make calls at the same time. The UI will be implemented in a followup CL. This CL also packs the parameters of SelectPhoneAccountDialogFragment into a proto. There are too many arguments and it needs structured representation. TEST=TAP Bug: 69675796,72618783 Test: TAP PiperOrigin-RevId: 194139636 Change-Id: I7d9f92c73b650654fff28ba625a2c8e3dfa0b96c
2018-04-25Add skeleton for CequintPhoneLookuplinyuh
Bug: 70989584 Test: CequintPhoneLookupTest PiperOrigin-RevId: 194133375 Change-Id: I10fb22c0c92b2d79f4d8287316e7a0373c09a72e
2018-04-25Log send button impressions for RTT call.wangqi
Bug: 78243122 Test: none PiperOrigin-RevId: 194128823 Change-Id: Ic886fd9c2236bbac4cbc884b7d777cea20451f0b
2018-04-25Show international call on wifi dialog without InCallActivity.yueg
Bug: 74022483 Test: InCallPresenterTest PiperOrigin-RevId: 194125192 Change-Id: Ie7c50554079fe3a0a23b18ac44fc81b913c3e619
2018-04-25Expose active calls from in call UItwyen
Dual SIM features need to know what phone account the current call is using because usually only one SIM can be in a call at the same time. TEST=TAP Bug: 69675796,72618783 Test: TAP PiperOrigin-RevId: 194121273 Change-Id: I512eb7aca2050f38449b0a911dea9cee9b5ffdb5
2018-04-24Merge "Don't allow reporting a inaccurate number for a voicemail call."Treehugger Robot
2018-04-24Don't allow reporting a inaccurate number for a voicemail call.linyuh
Bug: 78291768 Test: ModulesTest PiperOrigin-RevId: 194114862 Change-Id: Iee367be53ffff5226a818ebb4af69ddd55054812
2018-04-24Merge "Add impression logging for RTT call"Treehugger Robot
2018-04-24Merge changes I54dbbaad,If0adf10aTreehugger Robot
* changes: Don't show SIM selection and swap SIM for emergency calls. Update emergency wifi calling string Set content description for dialpad hint
2018-04-24Add impression logging for RTT callwangqi
Bug: 78243122 Test: CallListTest PiperOrigin-RevId: 194111299 Change-Id: I8cb3a0266b6796321e83a2a703630a745879be97
2018-04-24Don't show SIM selection and swap SIM for emergency calls.twyen
TEST=TAP Bug: 73012833,73718978 Test: TAP PiperOrigin-RevId: 194110263 Change-Id: I54dbbaada89e4974030e0b3a397040d4d686bcae
2018-04-24Update emergency wifi calling stringtwyen
Set content description for dialpad hint TEST=manual. Bug: 77653768,78286138 Test: manual. PiperOrigin-RevId: 194110061 Change-Id: If0adf10aedf606ed4a6fa1bbff23a887c3777d48
2018-04-24Merge "SpeedDialEntries with default numbers now properly show up."Treehugger Robot
2018-04-23SpeedDialEntries with default numbers now properly show up.calderwoodra
This change includes: - fixing an issue where default numbers were being removed when inserting duo channels. - setting a max height on the disambig dialog scrollview because it was causing accessibility issues (and will be needed later). Test: SpeedDialIntegrationTest, SpeedDialUiItemLoaderTest PiperOrigin-RevId: 194023169 Change-Id: I4896fb5dbbb99aefd9713c6768ea9c07ca906d6d
2018-04-24Merge "Add spam blocking promo notification after user reports spam in after ↵Treehugger Robot
call notification."
2018-04-24Merge "Implement display name ordering in Speed Dial fragment."Treehugger Robot
2018-04-23Merge "Implemented context menu actions."Treehugger Robot
2018-04-23Add spam blocking promo notification after user reports spam in after callAndroid Dialer
notification. Bug: 76436793 Test: SpamNotificationServiceTest PiperOrigin-RevId: 194006876 Change-Id: I7325599cc5581200f124a8fb64a8f4938675c734
2018-04-23Implement display name ordering in Speed Dial fragment.calderwoodra
Bug: 77724765 Test: manual PiperOrigin-RevId: 194001119 Change-Id: I6bef1f746e39c36df5daf5938c774041b0f0f47e
2018-04-23Implemented context menu actions.calderwoodra
Actions implemented in this CL: - placing a voice call - placing a video call - opening an sms conversation - opening a contact card Remove action will be implemented in a follow up CL. Made a few adjustments to the context menu UI. Bug: 77761023 Test: ContextMenuTest PiperOrigin-RevId: 193994428 Change-Id: I85b328f5820175ff91514c0057267b85649b0755
2018-04-23Merge "Show the caller name obtained via CNAP in the new call log."Treehugger Robot
2018-04-23Show the caller name obtained via CNAP in the new call log.linyuh
Bug: 70988915 Test: PhoneLookupInfoConsolidatorTest PiperOrigin-RevId: 193979609 Change-Id: I7084bad0d7bb85c804b5fe365d5a6ddbc4ad66ab
2018-04-23Merge "Bump version codes and name to v21"Treehugger Robot
2018-04-23Merge "Check call configuration for every call instead of every ↵Treehugger Robot
InCallService bound."
2018-04-23Merge "Implement CnapPhoneLookup"Treehugger Robot
2018-04-23Bump version codes and name to v21Android Dialer
Test: n/a PiperOrigin-RevId: 193977078 Change-Id: I17fa9b4acb3867c75ff65b5a6edcdd30e15990f8
2018-04-23Check call configuration for every call instead of every InCallService bound.yueg
Bug: 74022483 Test: InCallPresenterTest PiperOrigin-RevId: 193975862 Change-Id: I7b5bdbd986b3f4a543e1591d06a0829b7fe72e6a
2018-04-23Implement CnapPhoneLookuplinyuh
Bug: 70988915 Test: CnapPhoneLookupTest PiperOrigin-RevId: 193968830 Change-Id: I7f0c8468472e831699e56e399060067286e3ea0d
2018-04-20Merge changes I933020d3,I27b6a630Treehugger Robot
* changes: Use PreCall.start instead of context.startActivity when starting calls from call log. Support extracting info from a Call in PhoneLookup
2018-04-19Use PreCall.start instead of context.startActivity when starting calls from ↵zachh
call log. For some reason not understood, startActivity with the call intent causes the current activity (MainActivity) to be paused, resumed, and paused again. This results in an opportunity to double-tap the row which causes the InCallUi to open in bubble mode (this is also not well understood). In any event, PreCall.start eventually uses TelecomManager to place the call rather than startActivity, which is presumably the thing that fixes the problem. Also refactored TestPreCallModule to remove the many test implementations of PreCall and remove the static field in the module which could cause test interference. TEST=manual Bug: 78187587 Test: manual PiperOrigin-RevId: 193596093 Change-Id: I933020d33db1c158628f14b30c2681c59c86201b
2018-04-19Support extracting info from a Call in PhoneLookuplinyuh
Bug: 70988915 Test: CompositePhoneLookupTest, PhoneLookupTest PiperOrigin-RevId: 193592973 Change-Id: I27b6a63049117ce6d31e50aea9c56c14f01d0e1d
2018-04-19Merge "Delete DialerCall#onDestroy since it's redudant with ↵Treehugger Robot
onRemovedFromCallList."
2018-04-19Delete DialerCall#onDestroy since it's redudant with onRemovedFromCallList.wangqi
Test: manual PiperOrigin-RevId: 193581061 Change-Id: Ia28f86c82f94ecd68623cfaa9c401073579358e5
2018-04-19Merge "If the Speed Dial contact only has one channel, place the call ↵Treehugger Robot
immediately."
2018-04-19Merge "Implement remember this choice in SpeedDialEntry database."Treehugger Robot
2018-04-19Merge "Change RttTransciptUtil methods to return ListenableFuture."Treehugger Robot
2018-04-19Merge "Update RTT transcript screen."Treehugger Robot
2018-04-19If the Speed Dial contact only has one channel, place the call immediately.calderwoodra
If the disambig dialog would only show one option, just skip the dialog and place the call directly. Don't save the number as a default entry though because the contact could potentially change later (become duo reachable, get another number, ect.) Bug: 36841782 Test: SpeedDialIntegrationTest PiperOrigin-RevId: 193555958 Change-Id: Icbb7e876b7a7c5aaa979980249bf074ec1d7a395
2018-04-19Implement remember this choice in SpeedDialEntry database.calderwoodra
In order to connect SpeedDialUiItems to the correct SpeedDialEntry in the database, we need to pipe the entry ID throgh to the UI item. So this change includes the logic to pipe the id as well. Bug: 36841782,77760800 Test: DisambigDialogTest PiperOrigin-RevId: 193550938 Change-Id: I6ec64d0aec7f85d36555707a54953bfdff938bb5
2018-04-19Change RttTransciptUtil methods to return ListenableFuture.wangqi
Bug: 70177426 Test: RttTranscriptUtilTest PiperOrigin-RevId: 193549902 Change-Id: Icb10e44edf32ef7913783628b38861465d0f6c93
2018-04-19Update RTT transcript screen.wangqi
1. default to show first message 2. fix bug that first timestamp is not full format when it's grouped with previous messages Bug: 70177426 Test: RttTranscriptAdapterTest PiperOrigin-RevId: 193542992 Change-Id: Ic7a00f1fad8a9305b6fc1111783d589cc7956d58
2018-04-19Merge "Implement adding favorites."Treehugger Robot
2018-04-19Merge "Add support for adding module in the same class annotated with ↵Treehugger Robot
@DialerRootComponent."
2018-04-19Merge "Support placing a call with assisted dialing in the new call log."Treehugger Robot
2018-04-19Merge "Added duo channels to favorite contacts and duo suggestions."Treehugger Robot
2018-04-19Merge "Reduce the number of parameters when building bottom sheet options ↵Treehugger Robot
for telecom/Duo calls."
2018-04-18Implement adding favorites.calderwoodra
This change deletes the AddFavoritesActivity in favor of the activity provided to us by the Intent.ACTION_PICK intent. Bug: 36841782 Test: SpeedDialUiItemLoaderTest PiperOrigin-RevId: 193439522 Change-Id: Ie297abd2307c727d746f26ba99961de116636dc4
2018-04-18Add support for adding module in the same class annotated with ↵weijiaxu
@DialerRootComponent. Test: local test. PiperOrigin-RevId: 193435828 Change-Id: Ieb2be7c7d3e2861c0d2f32f1461535e439dbcb1a
2018-04-18Support placing a call with assisted dialing in the new call log.linyuh
Bug: 70988691 Test: ModulesTest PiperOrigin-RevId: 193434411 Change-Id: I3fe493eeb2869cad0d42ccf08d57018a42b1b84e
2018-04-18Added duo channels to favorite contacts and duo suggestions.calderwoodra
Bug: 36841782,77724710,77760800 Test: SpeedDialUiItemLoaderTest PiperOrigin-RevId: 193432314 Change-Id: If9e0aa05b1aeb266960281ac13218091882ff4c3
2018-04-18Reduce the number of parameters when building bottom sheet options for ↵linyuh
telecom/Duo calls. Bug: 70988691 Test: ModulesTest, DuoCallModuleTest PiperOrigin-RevId: 193431749 Change-Id: I2af9979504b99175513cb753a030244f735828be
2018-04-18Merge "Multi-HFP device support for audio selector."Treehugger Robot
2018-04-18Multi-HFP device support for audio selector.yueg
Test: BluetoothDeviceProviderTest PiperOrigin-RevId: 193401073 Change-Id: I3483392d1d7a473a753477074b5c377af257186e
2018-04-18Merge "Add spam blocking promotion after showing spam dialog in after-call ↵Treehugger Robot
notification"
2018-04-18Merge "Improved support for short codes in Coalescer."Treehugger Robot
2018-04-18Merge "Added logging for contacts provider metrics."Treehugger Robot
2018-04-17Add spam blocking promotion after showing spam dialog in after-callAndroid Dialer
notification Test: N/A PiperOrigin-RevId: 193290689 Change-Id: Idff99e2f67d5161d09b7ea3c0818ed92d2286b61
2018-04-17Improved support for short codes in Coalescer.zachh
Use ShortNumberInfo to identify shortcodes and apply more basic matching for them; without this short codes like '5555' and '55555' would match due to being a SHORT_NSN_MATCH even though they should not match. Also removed the PhoneNumberUtil argument from DialerPhoneNumberUtil's constructor as it was always PhoneNumberUtil.getInstance(). (This allowed me to do a similar thing for ShortNumberInfo.getInstance()). TEST=unit Bug: 71586485 Test: unit PiperOrigin-RevId: 193288929 Change-Id: Ia16c78e7eee5e0912d3913660952b9ee32713731
2018-04-17Added logging for contacts provider metrics.zachh
TEST=unit Test: unit PiperOrigin-RevId: 193288015 Change-Id: I350fa06cb96ff1887c428c8d60c489ddf0da81f6
2018-04-18Merge "Don't slide the toolbar up if we've scheduled a runnable to slide it up."Treehugger Robot
2018-04-17Don't slide the toolbar up if we've scheduled a runnable to slide it up.calderwoodra
Bug: 78132954 Test: listnr PiperOrigin-RevId: 193279654 Change-Id: I0d6e2e39d2f695b2e7d51ddf8c5abbc689187fbd
2018-04-18Merge "Improved handling of IS_READ in new call log."Treehugger Robot
2018-04-17Improved handling of IS_READ in new call log.zachh
It is not marked "not null" in the system call log and our simulator gives it null data, so handle it more gracefully to be on the safe side. Also enforce "not null" for IS_READ and NEW in annotated call log as I observed that happening somehow (possibly from older builds though). TEST=existing Test: existing PiperOrigin-RevId: 193271095 Change-Id: I780db20c9d6ea5cf5e1d757def9ea06b492267c1
2018-04-17Merge "Update in call button logic."Treehugger Robot
2018-04-17Merge "Add RTT transcript screen."Treehugger Robot
2018-04-17Update in call button logic.erfanian
Bug: 73774242 Test: unit PiperOrigin-RevId: 193262041 Change-Id: Idc0de19cc6d58cf79715ec243108c53b9b1df848
2018-04-17Add RTT transcript screen.wangqi
Bug: 67596257 Test: CallDetailsCursorLoaderTest PiperOrigin-RevId: 193259769 Change-Id: I8c6a8eb9a6bf06e9c1c25c45fc035f8db8ae5a65
2018-04-17Merge "Add checks for call eligibility."Treehugger Robot
2018-04-17Merge "More improvements call flow."Treehugger Robot
2018-04-17Merge "Migrate SpeedDialUiLoader to use contact lookup URIs."Treehugger Robot
2018-04-17Merge "Export activities with exported aliases."Treehugger Robot
2018-04-17Add checks for call eligibility.erfanian
Bug: 73736190,73775046 Test: none PiperOrigin-RevId: 193239591 Change-Id: I0af371b59e57a902df8162f3f04ba8e5a7900588
2018-04-17More improvements call flow.erfanian
Bug: 73774461,73774884,73775516,73775590,73775873 Test: unit/manual PiperOrigin-RevId: 193236364 Change-Id: I03726ed7e5a3383f6e8632fb2cf9b948c3203f87
2018-04-17Migrate SpeedDialUiLoader to use contact lookup URIs.calderwoodra
The changes in this CL improve the loader in the follow ways: - Speed: by reducing the number of queries - Long term accuracy: by using lookup URIs This change also adds ViLTE presence and contact labels to the results returned by the Loader. Bug: 36841782,77724710,77725860 Test: SpeedDialUiLoaderTest PiperOrigin-RevId: 193235046 Change-Id: If5e6aa821c8bad88dc77af81827abbd8e0f1b28e
2018-04-17Export activities with exported aliases.calderwoodra
Bug: 77974883 Test: tap PiperOrigin-RevId: 193225925 Change-Id: I0698abffa232a2e3a575de80642005b454a743ca
2018-04-17Merge "Fix the calculation of day difference in the new call log."Treehugger Robot
2018-04-17Merge "Fix bug that new call details is empty."Treehugger Robot
2018-04-16Fix the calculation of day difference in the new call log.linyuh
Test: CallLogDatesTest PiperOrigin-RevId: 193124157 Change-Id: I552bf7fa50142dd51c9a7dda9eaceb7d445607fb
2018-04-16Fix bug that new call details is empty.wangqi
RTT transcript needs to be loaded after call details is loaded. Test: OldCallDetailsActivityTest,CallDetailsActivityTest PiperOrigin-RevId: 193113115 Change-Id: I86e64ac00b17549864ed0778f79ec3aee58b7a1a
2018-04-16Merge "Don't show the Duo disclosure card if it's been viewed for more than ↵Treehugger Robot
1 day."
2018-04-16Don't show the Duo disclosure card if it's been viewed for more than 1 day.linyuh
Bug: 70989614 Test: NewCallLogAdapterTest PiperOrigin-RevId: 193101600 Change-Id: I52b0db9dc03d5e44cad7462403c2639fb33b5f33
2018-04-16Merge changes Ifaf2e78f,I39244c69,I466b6094Treehugger Robot
* changes: Remove voicemail/impl/TelephonyMangerCompat Remove column PHONE_ACCOUNT_LABEL and PHONE_ACCOUNT_COLOR from the annotated call log. Don't close search if the user leaves with the dialpad open.
2018-04-16Remove voicemail/impl/TelephonyMangerCompattwyen
These reflection calls are used for the transition period when amending VVM APIs in O. The public version should be used now. TEST=TAP Bug: 77334965 Test: TAP PiperOrigin-RevId: 193095281 Change-Id: Ifaf2e78f007a155221146b40369aaed66d4325c6
2018-04-16Remove column PHONE_ACCOUNT_LABEL and PHONE_ACCOUNT_COLOR from the annotated ↵linyuh
call log. Bug: 77808449 Test: NewCallLogViewHolderTest + existing tests for the call log framework PiperOrigin-RevId: 193086917 Change-Id: I39244c69acf1d261699610f6010c0cf147ca3492
2018-04-16Don't close search if the user leaves with the dialpad open.calderwoodra
Bug: 77736276 Test: MainActivityOldPeerSearchIntegrationTest PiperOrigin-RevId: 193081987 Change-Id: I466b6094f4d7851033be3bf68f170485a2ec733d
2018-04-13Merge "Implement drag to remove contacts in SpeedDialFragment."Treehugger Robot
2018-04-13Merge "Animate duo disclosure dismissal."Treehugger Robot
2018-04-13Merge "Increased tap target for 3-dot menu in new call log."Treehugger Robot
2018-04-13Implement drag to remove contacts in SpeedDialFragment.calderwoodra
Bug: 36841782 Test: manual PiperOrigin-RevId: 192828773 Change-Id: Id9066346e6b2a03f672ce3ad11027f15adfbb7e6
2018-04-13Animate duo disclosure dismissal.calderwoodra
Test: tap PiperOrigin-RevId: 192825959 Change-Id: I814537b08d9afd678c1cb88e6012e60e5511b6bb
2018-04-13Increased tap target for 3-dot menu in new call log.zachh
Accomplished by replacing margin with padding. TEST=manual Bug: 77812328 Test: manual PiperOrigin-RevId: 192818386 Change-Id: Iaf58b8460c18259a0472fd154695238c7e93a489
2018-04-13Merge "Add Duo disclosure card to the new call log."Treehugger Robot
2018-04-13Merge "Added impressions."Treehugger Robot
2018-04-12Add Duo disclosure card to the new call log.linyuh
Bug: 70989614 Test: NewCallLogAdapterTest PiperOrigin-RevId: 192692744 Change-Id: I42dbb5738558803ad6eae9fe2c2f98b31c49f360