summaryrefslogtreecommitdiff
path: root/java/com
AgeCommit message (Collapse)Author
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-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-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-19Delete DialerCall#onDestroy since it's redudant with onRemovedFromCallList.wangqi
Test: manual PiperOrigin-RevId: 193581061 Change-Id: Ia28f86c82f94ecd68623cfaa9c401073579358e5
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-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-18Multi-HFP device support for audio selector.yueg
Test: BluetoothDeviceProviderTest PiperOrigin-RevId: 193401073 Change-Id: I3483392d1d7a473a753477074b5c377af257186e
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-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-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-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-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-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-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-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-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-12Add Duo disclosure card to the new call log.linyuh
Bug: 70989614 Test: NewCallLogAdapterTest PiperOrigin-RevId: 192692744 Change-Id: I42dbb5738558803ad6eae9fe2c2f98b31c49f360
2018-04-12Added impressions.zachh
Bug: 77715083 Test: unit PiperOrigin-RevId: 192688918 Change-Id: I4448162871ea69ba07c1ed022e9c7daa936dab64
2018-04-12Add RTT transcript to call details.wangqi
1. Save RTT transcript when call is destroyed 2. Show RTT transcript link when it's available Bug: 67596257,77717594 Test: manual PiperOrigin-RevId: 192673172 Change-Id: If541ad9137c965166548d2fb449e835b95566727
2018-04-12Get dialpad fragment hint text sooner and hold onto it.calderwoodra
Bug: 77908301 Test: opened dialpad, didn't crash PiperOrigin-RevId: 192654487 Change-Id: If5bf9b6df7f15364358fb601d154d4bb99dd5b55
2018-04-12Add SpeedDialFragment to the old peer.calderwoodra
Bug: 36841782 Test: OldMainActivityPeerTest PiperOrigin-RevId: 192647371 Change-Id: I3fff1784ce642b86f1e87a27e38737833f74c6b0
2018-04-11Added context menu for favorite contacts in new speed dial.calderwoodra
Bug: 36841782,77761023 Test: WIP PiperOrigin-RevId: 192556602 Change-Id: I50c0baef7ef6c8ae533545567ec797283a9a870f
2018-04-11Ignore case for GID matchingtwyen
TEST=TAP Bug: 77838297 Test: TAP PiperOrigin-RevId: 192534802 Change-Id: I9c6b0aaab33f5ae5e9d26131c7a9a2858005c385
2018-04-11Add support for support fragments in UiListener.calderwoodra
Bug: 36841782 Test: SupportUiListenerTest PiperOrigin-RevId: 192502743 Change-Id: Id06ed732528db1ae486def86ecc2f44828635d81
2018-04-11Add RTT badge to new call log.wangqi
Bug: 77717594 Test: ContactPhotoViewTest PiperOrigin-RevId: 192492913 Change-Id: I6db36017fde2cf9dca580d60d5c88bf2ad2dfe16
2018-04-11Update logic for incoming and active calls.erfanian
Bug: 73774461,73774884,73775516,73775590 Test: unit PiperOrigin-RevId: 192456945 Change-Id: I0f0b44e56550939d4af16297bd305297e6c74310
2018-04-10Change speaker button for in call UI and bubble.yueg
Bug: 74238896 Test: ButtonControllerTest PiperOrigin-RevId: 192370117 Change-Id: I265cc9541957c2dd376176ed7a703b4938fe4563
2018-04-10Add RTT icon to RTT call log.wangqi
This is for old call log UI. This change also improves scaling for vector drawable icons. Bug: 67596257 Test: manual PiperOrigin-RevId: 192359601 Change-Id: I3322fe08b668f01c1e3a7ce3264c2988e2703aae
2018-04-10Add a flag to control whether to show spam blocking promotionAndroid Dialer
Test: SpamBlockingPromoHelperTest PiperOrigin-RevId: 192355809 Change-Id: Id9fc792b6e4649af4df588a523299a8fcf7727f0
2018-04-10Implement the disambig dialog for favorite contacts.calderwoodra
Bug: 36841782,77760800 Test: DisambigDialogTest PiperOrigin-RevId: 192354880 Change-Id: Ie7e9f0e3994d871ce6c90e4028131204ccb0a32a
2018-04-10Wire up SpeedDial fragment with SpeedDialUiItemLoader.calderwoodra
This change is mostly just a migration from a cursor loader and cursor to a listenable future and list of POJOs. Bug: 36841782 Test: tap PiperOrigin-RevId: 192349724 Change-Id: I37140dcc2e5e03bc5745573c0d777e18c4f1a880
2018-04-10Add Tracfone VZW GID to vvm_config.twyen
TEST=Manual Bug: 77838297 Test: Manual PiperOrigin-RevId: 192343100 Change-Id: I2f054d432c54359b99dcf4e15d9059abdda91293
2018-04-10For an audio call log entry, add a video call option in the bottom sheet if ↵linyuh
the capability is present. Bug: 70989603 Test: ModulesTest PiperOrigin-RevId: 192302145 Change-Id: I3162e7d22223aa02709d0d401c70c6fc37a00e3b
2018-04-09Autogenerate IDs for inserts and consolidate loader into one transaction.calderwoodra
Bug: 36841782,77724716,77725859 Test: implemented PiperOrigin-RevId: 192191296 Change-Id: I7a22367b33c7555d014a29a2af2942f2eb76c0a5
2018-04-09Ensure listeners are added each time setUp is calledroldenburg
Bug: 77666799 Test: existing tests in InCallPresenterTest PiperOrigin-RevId: 192191167 Change-Id: Ifa35451cf94d925f9d73397460b48754952cb216
2018-04-09Implemented SpeedDialUiItemLoader.calderwoodra
SpeedDialUiItemLoader builds a listenable future for returning a list of SpeedDialUiItems which are the POJO representation of each speed dial list element. Bug: 36841782 Test: SpeedDialContentObserverTest PiperOrigin-RevId: 192186376 Change-Id: I70f3abbeac14117ff4a68355e3a07b395b72386b
2018-04-08Have PhoneLookup read carrier presence data from CP2.linyuh
Bug: 70988687 Test: Cp2DefaultDirectoryPhoneLookupTest, PhoneLookupInfoConsolidatorTest PiperOrigin-RevId: 192085574 Change-Id: I4512c9e2e9e14340fa3aa9b2d7d6aaea6344bba6
2018-04-06Update ToS for donationuabdullah
Disambiguates the "this" by adding the reference to settings as required by privacy. Test: N/A PiperOrigin-RevId: 191970994 Change-Id: Idc357e8c908b4f54273bf1b2823a6759ea1332b6
2018-04-06Resolve resource conflicts.linyuh
Bug: 77710848 Test: None PiperOrigin-RevId: 191957734 Change-Id: I0b2674298722a405f4f2e970e877671cff37e60f
2018-04-06Change voicemail empty state icon to voicemail icon.calderwoodra
Bug: 75962146 Test: screenshot PiperOrigin-RevId: 191948101 Change-Id: Icba3cb63cbfe42ce0f193e731dbe2240b3dfc27d
2018-04-06Use sensible audio route for bubble mode.yueg
Bug: 74022483 Test: InCallPresenterTest PiperOrigin-RevId: 191941513 Change-Id: If2090c6dae63981a46586d785e2836edbdf8a729
2018-04-06Convert new speed dial to support fragment and add it to new peer.calderwoodra
Bug: 36841782 Test: MainActivityNewPeerTest PiperOrigin-RevId: 191924314 Change-Id: I5e4a4adadd5477115d6b4daf8afb8c6f819496c8
2018-04-06Only request focus on search edit text when it's slide down.calderwoodra
Bug: 77586391 Test: manual PiperOrigin-RevId: 191924178 Change-Id: I792a6f0308f0dde9b4ae82227aa6a8327208a192
2018-04-06Merge "Reorganized rootcomponentgenerator package and added demo."Treehugger Robot
2018-04-06Reorganized rootcomponentgenerator package and added demo.Zachary Heidepriem
-Moved rootcomponentgenerator/annotations to dialer/inject to reduce the number of deps engineers need to include -Move rootcomponentgenerator/processor into rootcomponentgenerator/ since the other package is now gone -Added inject/demo and tests TEST=unit, tap Test: unit, tap PiperOrigin-RevId: 191916595 Change-Id: Ic155808c7435bdce198970caa92309edb9fadac8
2018-04-06Add tests for RttChatFragment.wangqi
This is to test how the fragment handle messages. Test: RttChatFragmentTest PiperOrigin-RevId: 191912866 Change-Id: Ia50688cdf8eceab376e163aa09bda56406a64933
2018-04-05Exclude Duo audio calls from the new call log.linyuh
Bug: 77496097 Test: SystemCallLogDataSourceTest PiperOrigin-RevId: 191845115 Change-Id: Id0d3770e0cd21383cf2f4c5ae5314ca4de258edd
2018-04-05Implement background calling.yueg
Bug: 74022483 Test: InCallPresenterTest PiperOrigin-RevId: 191825857 Change-Id: I9c70290da32484faf42a2a25fd6b22ba706cb63e
2018-04-05Add Spam#updateSpamSync API to control when syncing the Apdl spam list is ↵maxwelb
enabled Bug: 69072794 Test: Tap PiperOrigin-RevId: 191824966 Change-Id: Ia219074f32f77f308d88e9c29edb1e56c694bcc7
2018-04-05Change @DialerComponent to @IncludeInDialerRoot and turn on ↵weijiaxu
@IncludeInDialerRoot in root component generator. Test: local test. PiperOrigin-RevId: 191820677 Change-Id: I9df15cccf65e8c51c8fadf57eabec4fd41a51007
2018-04-05Add settings fragment boilerplate.erfanian
Bug: 73736474 Test: unit tests PiperOrigin-RevId: 191776448 Change-Id: Idf3eaee2d6639d5a6643c9670230e88d0028bf3c
2018-04-05Fix leak of InCallActivity's DecorView and stuck on disconnection bug.wangqi
This is caused by not dismissing error dialog when recreating InCallActivity. The dialog will be shown again after recreating. Bug: 71376489,77152802 Test: manual PiperOrigin-RevId: 191775030 Change-Id: I07ef5041979c0bbb2d44df9e41b55f0ac41e9339
2018-04-05Expand Duo Interfacetwyen
Added status() and audioCallable() TEST=TAP Bug: 76430187 Test: TAP PiperOrigin-RevId: 191767563 Change-Id: I5852b93bd3042f3c6ed8f2155e57fdefe58edd32
2018-04-05Support new voicemail fragment in old peer.uabdullah
This makes the old peer read the CallLogConfig#isNewVoicemailFragmentEnabled and show the old or new fragment accordingly. If the user is viewing the NewVoicemail and the CallLogConfig needs to disable the framework, the new fragment is immediately replaced with the old one. This is necessary because if the user were to scroll the fragment, the AnnotatedCallLog database would be read, which would trigger creation. I tested this by flipping flags and observing underlying data being removed: > dialer-cmd configprovider set new_voicemail_fragment_enabled false > adb shell ls /data/data/com.google.android.dialer/databases/ && echo && adb shell cat /data/user_de/0/com.google.android.dialer/shared_prefs/com.google.android.dialer_preferences.xml I test flipping flags back and forth on the voicemail tab, call log tab and ensuring that they are independent. Bug: 77601968 Test: unit and manual. Some tests are failing, so to ensure we can have the voicemail ready for the bug bash tomorrow, I've ignored them temporarily but will be fixed in a follow up CL (tracked by b/77601893) PiperOrigin-RevId: 191738860 Change-Id: I24ca38b862e98324cf802a3020e7e9df31c0b966
2018-04-04Fix search bar margin issue in RTLtwyen
The RemoveView is pushing it around. Since RemoveView and SearchBarView are mutually exclusive, this CL put them into a FrameLayout to avoid position interference. Bug: 77273749 Test: manual PiperOrigin-RevId: 191678018 Change-Id: If4000f63c77c9da6794193d389f890d21452dcbf
2018-04-04Prevent crash when dialpad animation ends after activity is saved.twyen
Bug: 77484989 Test: TAP PiperOrigin-RevId: 191677909 Change-Id: If49a357a9ba158cd740eb789befd2ff802f670d4
2018-04-04Fixed some issues in dialer's dialpad for talkback users.calderwoodra
- Content description for voicemail button is now "1... double tap and hold to call vociemail" - Content description for 0 button is now "0... double tap and hold for plus symbol" Bug: 19621015,62712616 Test: manual + a11y office hours PiperOrigin-RevId: 191673375 Change-Id: I9b5d8d875f1bf218be6fcc33dff4ac9e479e4f43
2018-04-04Voicemail and Call log notifications now open GoogleMainActivity.calderwoodra
Bug: 75972847,77595270 Test: manual PiperOrigin-RevId: 191672019 Change-Id: I9ea7fb67b4dffeb6acb30840eaf093e4d00a3bcf
2018-04-04Added some logging for mysterious bugs.calderwoodra
Bug: 74196353,77485680,77486095,77540395 Test: tap PiperOrigin-RevId: 191666270 Change-Id: I0423735dde42299bf33ea0b8482c03fd3c2d4675
2018-04-04Remove null check.erfanian
Bug: 77486043 Test: unit tests PiperOrigin-RevId: 191660058 Change-Id: Ia68c8b06e266950cb964a796ea338e4bbc1d6b07
2018-04-04Better support for multi call.erfanian
Bug: 73775453,73775590 Test: unit tests PiperOrigin-RevId: 191657758 Change-Id: If1ae5505185191f04fd57aa828ae5bcc9c21b173
2018-04-04Migrate RTT chat history to use proto buffer.wangqi
This change also moved chat history to be saved in DialerCall, thus it will be persist when switching calls. Bug: 67596257 Test: RttChatMessageTest PiperOrigin-RevId: 191626079 Change-Id: I65e9c6ac7aa41beb45dfe561b0a48506ea938e6f
2018-04-04Disable RTT request button when the call is not active yet.wangqi
Bug: 70177426 Test: unit PiperOrigin-RevId: 191612825 Change-Id: I1a72ca86fe9c74fb6420dcfa14f417a8aa6bd5d7
2018-04-04Use the default phone account for a voice call when the call log item is for ↵linyuh
Duo. Bug: 77535982 Test: ModulesTest + Manual PiperOrigin-RevId: 191612821 Change-Id: I417b46ed3ec131bf409c427d82f5b2fa6b791054
2018-04-04Explicitly hide the badge in ContactPhotoView when it shouldn't be shown.linyuh
Bug: 70988682 Test: ContactPhotoViewTest PiperOrigin-RevId: 191600243 Change-Id: I60f979241898f1799a57c2401cbddb8975a9caa7
2018-04-03Remove reference to RTT system setting.wangqi
This should be handled by PhoneAccount.hasCapabilities(PhoneAccount.CAPABILITY_RTT) Test: none PiperOrigin-RevId: 191522319 Change-Id: I28244a725c63fb3b83e97fd9a585473a94da96d9
2018-04-03Fix the button style of RTT request dialog.wangqi
Change to use public android API of button style. Also changed padding left and right to 16dp (up from default 8dp). Bug: 70177426 Test: manual PiperOrigin-RevId: 191505606 Change-Id: Ic984f95843775af3057fb15bf5fe54d3384c478d
2018-04-03Don't deadlock in DialerDatabaseHelper.zachh
The fix is to use FutureSerializer instead of synchronizing on the method. FutureSerializer provides the guarantee that the next AsyncCallable won't even be submitted until the ListenableFuture returned by the previous one completes. Bug: 73877234 Test: added sleep to update task, and verified that resuming activity > 5 times does not deadlock the app PiperOrigin-RevId: 191494662 Change-Id: I5dc2bed7e117fd3ba5a3cd6a8c39c82a565ce070
2018-04-03Fix NPE for details numbermaxwelb
The phone number can be null in the call log (typically for conference calls), but this wasn't handled properly for calls from non-contacts. This CL fixes the issue by instead using the display number. PhoneNumberUtils properly handles null values and can parse the formatted version. Bug: 77486039 Test: manual :/ PiperOrigin-RevId: 191492307 Change-Id: I1be427b3f4ed1381bea3943d130256618f730f5d
2018-04-03Per linguists' request, increase CHAR_LIMIT of "Carrier video" from 30 to 31.linyuh
Bug: 77513242 Test: None PiperOrigin-RevId: 191470111 Change-Id: I0220a342dc1ff04f247ad09dc1fc308f61bbe80c
2018-04-03Fix permissionroldenburg
Bug: 76445204 Test: manual PiperOrigin-RevId: 191470043 Change-Id: I8d57331b2fbeff358535d92852d6bbb2ac677613
2018-04-03Handle missed calls for new call log in old peer.zachh
Test: unit PiperOrigin-RevId: 191380073 Change-Id: If554d5ee0c55754802692a364bae591c3951c060
2018-04-03Separate calls with the video feature from others when coalescing rows in ↵linyuh
the new call log. Test: CoalescerTest PiperOrigin-RevId: 191376690 Change-Id: Id5939175edddd164a1b477319fb20e6d2a9671a9
2018-04-03Support placing Duo calls in the new UI's bottom sheet.linyuh
Bug: 70988685 Test: DuoCallModuleTest, PlaceDuoCallEndToEndTest, Manual testing PiperOrigin-RevId: 191372706 Change-Id: I439be71c361eaca722820b81278e5f95322e100c
2018-04-03Turn off component generating step of RootComponentGenerato and ↵weijiaxu
@DialerCompoennt. Delete related tests. Test: On a local device. PiperOrigin-RevId: 191365675 Change-Id: Ia90463b936f3f07df99909c463b2bdb51223fbe6
2018-04-03Implement dialog for responding RTT request.wangqi
Bug: 67596257 Test: manual PiperOrigin-RevId: 191365412 Change-Id: Ida741a837d6495c0d5f51b748f4d6c09a1beafec
2018-04-02Disable transcrption downloads for T-Mobile.twyen
In this CL, the client will stop treating text/* attachments as transcrptions for T-mobile. Transcriptions are already disabled by the device type sent during provisioning so this will not affect any existing functionality. This prevents other data on the server showing up as transcription. Bug: 77342321 Test: TAP, exact behavior not testable. PiperOrigin-RevId: 191350836 Change-Id: I758996c3fef75ece7cecf0f7a0b4df7ace970d80
2018-04-02Update contact photo for RTT call screen.wangqi
Bug: 70177426 Test: manual PiperOrigin-RevId: 191348602 Change-Id: I332d53ab0c3c628b3dca0c184435bafcf2a13d02
2018-04-02Fix the bug that number format is not correct in RTL mode.wangqi
Bug: 76227259 Test: manual PiperOrigin-RevId: 191347301 Change-Id: I18d63f4e85ca07be00f7564a5ee256d3a6b1b480