summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-01Fix missing background colortwyen
Styles resource cannot process #COLOR TEST=manual Test: manual PiperOrigin-RevId: 198653265 Change-Id: Ic885cf384230a24ca8b8ec1e26941fd1c7e49975
2018-06-01Also check call configuration for disconnected callyueg
Test: manual PiperOrigin-RevId: 198609574 Change-Id: Ic5e599b65d81968bdacaf6a90cb1ad34647b8419
2018-06-01Add toast message when RTT request failed.wangqi
Bug: 79522243 Test: manual PiperOrigin-RevId: 198598685 Change-Id: I05144ec734827b29e89bbba5070c9cb0ab06c215
2018-06-01Update button color.erfanian
Test: nope PiperOrigin-RevId: 198596861 Change-Id: Ibc2cccdcb7b02b5ba8b79f5429babc9028f282d8
2018-06-01Some minor tweaks to the UI.calderwoodra
Bug: 79883035 Test: tap PiperOrigin-RevId: 198510062 Change-Id: Ia07624a4511626b2b397199f3674817612557133
2018-06-01Fix dialpad theme on incall screen.wangqi
Test: manual PiperOrigin-RevId: 198488607 Change-Id: I54e2d7ac4320fd67e1670bb2e888cfe833dfb243
2018-06-01Accommodate long call time text in call details.linyuh
Bug: 80408178 Test: Manual PiperOrigin-RevId: 198485864 Change-Id: I72fa8bdbf9e600daad9be8c6466e2ae6bf2f42f6
2018-06-01Fix color of checked button on incall screen.wangqi
Bug: 80232219 Test: manual PiperOrigin-RevId: 198478103 Change-Id: Ic36bf831eef81754f5697e32c4e8813d7e41adf1
2018-06-01Use geocode as label for businesses.twyen
Business number from PhoneNumberService does not always have a sensible label. Previously it would be "Main", but geocode are a bit more useful. TEST=manual, old UI has no tests. Bug: 80251984 Test: manual, old UI has no tests. PiperOrigin-RevId: 198455846 Change-Id: I5efbc66aa295f8039eecfbcb119f18afc735b15c
2018-06-01Add inject method to generated component by RCG.weijiaxu
Bug: 80270083 Test: tap presubmit. PiperOrigin-RevId: 198430675 Change-Id: Iaf0e5a22a8e496339b666b5906584de3acdde6ed
2018-05-30Merge changes Ica13ee39,I5e0fedc8,I8e7efad0,I0ecc1f91,Iee1e658a, ...Eric Erfanian
* changes: Drop maps.impl from packages.mk Check if ID column is null before retrieving data from the smart dial database. Rename theme/private to theme/hidden. Some improvements to the answer fragment layouts. Better a11y for the bottom sheet. Fix a few UI bugs. Log IMS video call available state Better a11y for contact badge in the new call log. Use lookup key to determine the letter tile color Use Dialer Light Theme for SpeakEasyFragment Better a11y for new call log entries. Use Maps SDK lite mode instead of static API for emergency call. Updating locations where PrimaryInfo#setPhoto is used to also PrimaryInfo#setPhotoUri for new GlidePhotoManager implementation. As part of this addition, we also are cleaning the setPhoto(null) because this is not explicitly needed. Converted ThemeUtil into a DaggerModule. Delete AppCompatConstants Remove photo support in PhoneNumberService Began implementation of Dialer dark theme.
2018-05-30Drop maps.impl from packages.mkerfanian
PiperOrigin-RevId: 198426134 Change-Id: Ica13ee3942ef07e9f129d7c53c680953a8fa79ed
2018-05-30Check if ID column is null before retrieving data from the smart dial database.linyuh
Bug: 79469672 Test: None. See above. PiperOrigin-RevId: 198090637 Change-Id: I5e0fedc82d9b464d3d48111530c5836e5d84197f
2018-05-30Rename theme/private to theme/hidden.calderwoodra
private is a reserved word in java. Test: tap PiperOrigin-RevId: 198089995 Change-Id: I8e7efad0a8fed747466593dc7ddf1884f50fa9ac
2018-05-30Some improvements to the answer fragment layouts.erfanian
Test: unit PiperOrigin-RevId: 198080186 Change-Id: I0ecc1f918b2c62e42b287e4fc9ea38fafaf1e6c9
2018-05-30Better a11y for the bottom sheet.linyuh
Bug: 70989658 Test: Manual PiperOrigin-RevId: 197983797 Change-Id: Iee1e658a7a652f53413dec01db68109c3b75dc6e
2018-05-30Fix a few UI bugs.calderwoodra
- clear call log dialog no longer crashes - phone account selector dialog now has a visible title - dialpad text in the incall ui is now visible. Bug: 80144855,80146941,80175230 Test: tap PiperOrigin-RevId: 197952658 Change-Id: Ifaea9b798fef7e36d681a83269e4f65df33f1193
2018-05-30Log IMS video call available statetwyen
TEST=TAP Bug: 77976254 Test: TAP PiperOrigin-RevId: 197924728 Change-Id: I512ebe193cefae24e45c0526bcabdcb23846e236
2018-05-30Better a11y for contact badge in the new call log.linyuh
Bug: 70989658 Test: GlidePhotoManagerImplTest PiperOrigin-RevId: 197918533 Change-Id: I61d04e270ddf4237e8ed9c10e62e8d95f86d1eca
2018-05-30Use lookup key to determine the letter tile colortwyen
The lookup key is part of the lookup URI that is supposed to be stable even if the row is moved around. TEST=TAP Bug: 78266240 Test: TAP PiperOrigin-RevId: 197822055 Change-Id: Iee09556c284efaa68f71e1e0a69a511944c6b46e
2018-05-30Use Dialer Light Theme for SpeakEasyFragmentuabdullah
Bug: 79523664,80195371 Test: Need to add Scuba tests (http://b/80194939) PiperOrigin-RevId: 197821095 Change-Id: I92ea1e6b95d264ea69f7d30eea12f547ee60eeac
2018-05-30Better a11y for new call log entries.linyuh
Bug: 70989658 Test: CallLogDatesTest, CallLogEntryDescriptionsTest, NewCallLogViewHolderTest PiperOrigin-RevId: 197811739 Change-Id: I0f9d1e79d8e687efffbb1dac01aaf6fa26a45f6a
2018-05-30Use Maps SDK lite mode instead of static API for emergency call.yueg
Test: manual PiperOrigin-RevId: 197810897 Change-Id: Ia9dff17333152763b6c644d4f89bc32eedcc2aab
2018-05-29Updating locations where PrimaryInfo#setPhoto is used to also ↵Android Dialer
PrimaryInfo#setPhotoUri for new GlidePhotoManager implementation. As part of this addition, we also are cleaning the setPhoto(null) because this is not explicitly needed. Bug: 76206920 Test: BottomRowTest,TopRowTest,SpeakEasyFragmentV2Test PiperOrigin-RevId: 197785533 Change-Id: I1702f43ec206a6c31cf162978712292aff0f8a17
2018-05-29Converted ThemeUtil into a DaggerModule.calderwoodra
This enables us to have Google-Sans font in GoogleDialer and Roboto in AOSP. Bug: 79883035 Test: tap PiperOrigin-RevId: 197774497 Change-Id: I1d490ab196a444c62e439444627d659fc42973ea
2018-05-29Delete AppCompatConstantslinyuh
Test: Existing tests PiperOrigin-RevId: 197681266 Change-Id: I27fdda1d5c252993795b6eb860663c8cab0d363c
2018-05-29Remove photo support in PhoneNumberServicetwyen
Also cleaned up unused parameters. TEST=TAP Bug: 78654933 Test: TAP PiperOrigin-RevId: 197652430 Change-Id: I1820e8c8de83fcda17f38e92d4ab1c28f519cdce
2018-05-29Began implementation of Dialer dark theme.calderwoodra
- README on how to properly theme Dialer going forward. - Migrated all widgets to use global colors. - Removed all activity and application themes where it wasn't necessary. - Added themeing test rule for Espresso tests. Bug: 79883035 Test: tap PiperOrigin-RevId: 197634256 Change-Id: I4b7d94d45aeeb59d484b0069fdd1e200a654910b
2018-05-22Merge "Fix bug that SpeakEasyFragment is added again after recreate of ↵Treehugger Robot
InCallActivity."
2018-05-22Merge changes Ia1765cb4,Ib262ca4bTreehugger Robot
* changes: Use new dialer base theme instead of AppCompat theme for spam blocking promo dialog. Append the directory ID when building contact lookup URIs in CP2 lookups.
2018-05-22Fix bug that SpeakEasyFragment is added again after recreate of InCallActivity.wangqi
Bug: 79885898 Test: manual PiperOrigin-RevId: 197630981 Change-Id: Ib4ace31c7c207f5ee9f69aee148ddf49021da37b
2018-05-22Use new dialer base theme instead of AppCompat theme for spam blocking promoAndroid Dialer
dialog. Test: N/A PiperOrigin-RevId: 197629283 Change-Id: Ia1765cb42f08002c671a5ac4a774d9b69dfaeda0
2018-05-22Append the directory ID when building contact lookup URIs in CP2 lookups.zachh
Before, when tapping the icon in the call log for a call made to a remote contact, I would get a "Contact doesn't exist" message because CP2 couldn't find the contact due to: 05-18 22:28:48.750 E/DatabaseUtils(26187): java.lang.IllegalArgumentException: Invalid lookup id: people-v2:114584120460114609902 05-18 22:28:48.750 E/DatabaseUtils(26187): at com.android.providers.contacts.ContactLookupKey.parse(ContactLookupKey.java:157) 05-18 22:28:48.750 E/DatabaseUtils(26187): at com.android.providers.contacts.ContactsProvider2.lookupContactIdByLookupKey(ContactsProvider2.java:7766) 05-18 22:28:48.750 E/DatabaseUtils(26187): at com.android.providers.contacts.ContactsProvider2.queryLocal(ContactsProvider2.java:6248) 05-18 22:28:48.750 E/DatabaseUtils(26187): at com.android.providers.contacts.ContactsProvider2.queryDirectoryIfNecessary(ContactsProvider2.java:5565) 05-18 22:28:48.750 E/DatabaseUtils(26187): at com.android.providers.contacts.ContactsProvider2.query(ContactsProvider2.java:5544) 05-18 22:28:48.750 E/DatabaseUtils(26187): at android.content.ContentProvider.query(ContentProvider.java:1147) 05-18 22:28:48.750 E/DatabaseUtils(26187): at android.content.ContentProvider$Transport.query(ContentProvider.java:240) 05-18 22:28:48.750 E/DatabaseUtils(26187): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:102) 05-18 22:28:48.750 E/DatabaseUtils(26187): at android.os.Binder.execTransact(Binder.java:697) When we construct the contact URI in Cp2ExtendedDirectoryPhoneLookup, we should include the directory ID so that CP2 knows where to look when the user taps the icon in the call log. TEST=unit, manual Bug: 80008014 Test: unit, manual PiperOrigin-RevId: 197600727 Change-Id: Ib262ca4b7e605c3e94ea683289f62c727389b32f
2018-05-22Merge "Don't show "Add contact" and/or "Message" in the bottom sheet if ↵Treehugger Robot
corresponding permissions are not granted."
2018-05-21Don't show "Add contact" and/or "Message" in the bottom sheet if ↵linyuh
corresponding permissions are not granted. Bug: 80059644 Test: HistoryItemActionModulesBuilderTest, PermissionUtilTest PiperOrigin-RevId: 197494701 Change-Id: I607ebd3079fa816b447fbff08cc28c96c55e22bb
2018-05-22Merge "Handle null VideoCall"Treehugger Robot
2018-05-22Merge "Set navigation bar color when dialpad is visible."Treehugger Robot
2018-05-21Merge changes Ifedddd2b,Iaeeae900,I1f8348fb,Iff042966Treehugger Robot
* changes: Check for WRITE_CALL_LOG permission in CallLogNotificationsQueryHelper. Ignore dialer OMTP VVM error if VVM is disabled Bump version codes and name to v22 Adds alternative spam words for non-english speaking countries.
2018-05-21Handle null VideoCalltwyen
When a call is downgraded, video call might be set to null by telecom. TEST=TAP Bug: 79336398 Test: TAP PiperOrigin-RevId: 197479259 Change-Id: Ib5400b0d59bc97b952ee64aad41812f3477a3722
2018-05-21Set navigation bar color when dialpad is visible.wangqi
Instead of fake a black bar on voice incall UI, the more reliable way is to set navigation bar color. Bug: 79902234 Test: manual PiperOrigin-RevId: 197475300 Change-Id: I96085700e633570ef385386cdf366d758e50a6e2
2018-05-21Check for WRITE_CALL_LOG permission in CallLogNotificationsQueryHelper.zachh
TEST=unit Bug: 79667976,79925108 Test: unit PiperOrigin-RevId: 197468611 Change-Id: Ifedddd2bccd76b1fc2c9d3ea4e9854bfe6a218e5
2018-05-21Merge "Check READ_PHONE_STATE for isVoicemailAvailable()"Treehugger Robot
2018-05-21Ignore dialer OMTP VVM error if VVM is disabledtwyen
The status will be stale. TEST=TAP Bug: 78831353 Test: TAP PiperOrigin-RevId: 197462056 Change-Id: Iaeeae9007f6b5ad8319889a860fdcce782be8a0d
2018-05-21Bump version codes and name to v22Android Dialer
Test: n/a PiperOrigin-RevId: 197456564 Change-Id: I1f8348fbeba098d3c6522a9ba0d8e083beb60dbe
2018-05-21Adds alternative spam words for non-english speaking countries.Android Dialer
This CL adds alternative spam words and code for using these words in an experiment. Test: Tap, Unit tests where alterntive experiment is provided and not provided. PiperOrigin-RevId: 197444892 Change-Id: Iff042966f1728ac571699085f07d1325e756dd36
2018-05-21Check READ_PHONE_STATE for isVoicemailAvailable()twyen
TelecomUtil.has*Permission() pass if the dialer is the default dialer. In reality most API does not allow the default dialer do whatever they want. PermissionUtil should be used instead. TEST=uabdullah please fix your "Temporary" @Ignore Bug: 77907588 Test: uabdullah please fix your "Temporary" @Ignore PiperOrigin-RevId: 197442842 Change-Id: Idff3fda855ab0dfc330e963557776461aac677e1
2018-05-21Merge "Check READ_PHONE_STATE for isVoicemailAvailable()"Treehugger Robot
2018-05-21Check READ_PHONE_STATE for isVoicemailAvailable()twyen
TelecomUtil.has*Permission() pass if the dialer is the default dialer. In reality most API does not allow the default dialer do whatever they want. PermissionUtil should be used instead. TEST=uabdullah please fix your "Temporary" @Ignore Bug: 77907588 Test: uabdullah please fix your "Temporary" @Ignore PiperOrigin-RevId: 197442842 Change-Id: I1e6f275e2b8e6d3cfa54ddb8cd24f7d47f9462ca
2018-05-21Merge changes I511c3930,Ifc534793Treehugger Robot
* changes: Add promotion module. Implement a global theme to be easily configured in Dialer.
2018-05-21Add promotion module.wangqi
Refactor Duo disclosure card to general promotion card. Bug: 78905507 Test: unit tests PiperOrigin-RevId: 197436677 Change-Id: I511c39308cadfb96ee4519b71ca29b75d0e6750b
2018-05-21Implement a global theme to be easily configured in Dialer.calderwoodra
deleted several colors and unified them across the app migrated several alert dialogs to support alert dialogs added many todos migrated several tests from GoogleRobolectricTestRunner to RobolectricTestRunner Because of the test migration: - moved dialpad theme attributes into dialpad/theme - moved incall ui theme attributes into incallui/theme Bug: 79883035 Test: tap PiperOrigin-RevId: 197246477 Change-Id: Ifc534793bc32757bbbf2007a7c40287c8d0817ad
2018-05-19Merge "A11y: group caller information together."Treehugger Robot
2018-05-19A11y: group caller information together.wangqi
Bug: 79723777 Test: manual PiperOrigin-RevId: 197245874 Change-Id: Iad639ef467c8d0db861dddb7a174355127b8636c
2018-05-18Merge "Fix video call from search stripping + prefix"Treehugger Robot
2018-05-18Merge "Don't show an outgoing call to a spam number as spam."Treehugger Robot
2018-05-18Merge "Cleaned up deps in SpamBlockingPromoHelperTest."Treehugger Robot
2018-05-18Fix video call from search stripping + prefixtwyen
The smart dial normalization remove non-digits, so the raw number must be set. TEST=TAP Bug: 79400183 Test: TAP PiperOrigin-RevId: 197208475 Change-Id: I303f1b19c30f11303066750f7a830f33ab79ce4f
2018-05-18Don't show an outgoing call to a spam number as spam.linyuh
Bug: 79770053 Test: SpamTest + Existing tests PiperOrigin-RevId: 197201496 Change-Id: Iff2eb03d00d3b559d2a008487b19a2d044b2cb5b
2018-05-18Cleaned up deps in SpamBlockingPromoHelperTest.zachh
Deprecated RobolectricApplication. RobolectricApplication uses RobolectricDialerRootComponent, which depends on all parts of the dialer application (CallLog, PhoneLookup, CommandLine, etc). None of these things matter for leafy unit tests like SpamBlockingPromoHelperTest and they just serve to slow down builds; both for tests that use RobolectricApplication and presubmits for all parts of the application. (Unrelated changes to the call log for example, would trigger this test on presubmit because this test depends on call log when it shouldn't.) TEST=yes Test: yes PiperOrigin-RevId: 197193370 Change-Id: I425351eef2954d105ac7fc7c4120767d275a4fc8
2018-05-18Merge "Remove duplicate code when constructing PhotoInfo proto."Treehugger Robot
2018-05-18Remove duplicate code when constructing PhotoInfo proto.linyuh
Bug: 79770053 Test: Existing tests PiperOrigin-RevId: 197192087 Change-Id: I44c60d13c83b3e23dc141fd9e9b88e108687bf96
2018-05-18Merge "Don't post throttled notifications again."Treehugger Robot
2018-05-18Merge "Handle invalid PhoneAccountHandle for CarrierIdentifier"Treehugger Robot
2018-05-18Don't post throttled notifications again.yueg
Throttled missed call notification can be post again since they are in the newCalls list and not in activeNotifications list. We should record them and don't post again. Test: MissedCallNotifierTest, NotificationThrottlerTest PiperOrigin-RevId: 197177610 Change-Id: I1b03029663621f0a0c06951564eadf78bad016a1
2018-05-18Handle invalid PhoneAccountHandle for CarrierIdentifiertwyen
Previously the phoneAccountHandle is validated before creating the CarrierIdentifier, but it seems like there's a chance that it would be invalidated in the gap before the identifier is created. TEST=TAP Bug: 73890027 Test: TAP PiperOrigin-RevId: 197172168 Change-Id: I6f4f77819ed6ce9f3449f7e47a3538af1098d826
2018-05-18Merge "Show spam blocking promo notification in place of after call ↵Treehugger Robot
notification instead of canceling it and recreating a new notification."
2018-05-18Merge changes I2f94f9a6,Ie58ecf2a,I56696fefTreehugger Robot
* changes: Update spam blocking promotion wordings. Handle null returned from TelecomManager.getCallCapablePhoneAccounts() Add more Cequint provider.
2018-05-17Show spam blocking promo notification in place of after call notificationAndroid Dialer
instead of canceling it and recreating a new notification. Test: ManuallyTested PiperOrigin-RevId: 197093375 Change-Id: I5214acd160d10a191d66c95798b2a44cdd3a9c7e
2018-05-17Update spam blocking promotion wordings.Android Dialer
Bug: 79884797 Test: N/A PiperOrigin-RevId: 197092298 Change-Id: I2f94f9a66a2530a5f2d0ad6630993a2e7b2b4bb8
2018-05-17Handle null returned from TelecomManager.getCallCapablePhoneAccounts()twyen
Usually it is non-null, but not true for some OEMs. TEST=TAP Bug: 73905236 Test: TAP PiperOrigin-RevId: 197076980 Change-Id: Ie58ecf2ab392e3393d190cefe9815b6bb8542800
2018-05-17Add more Cequint provider.wangqi
Bug: 64975757 Test: none PiperOrigin-RevId: 197074854 Change-Id: I56696fef1e76d72bbb2ef639cdd4257321cacc94
2018-05-18Merge changes Ia72bdfab,I72df9febTreehugger Robot
* changes: Update dynamic shortcuts to match speed dial pinned positions. Add empty content view for when the user has no contacts in favorites.
2018-05-18Merge changes I642a11d6,Ic4b69781Treehugger Robot
* changes: Fixed various speed dial issues. Use StorageComponent to get SharedPreference in SpamBlockingPromoHelper
2018-05-17Update dynamic shortcuts to match speed dial pinned positions.calderwoodra
6. App shortcut list should refresh when changes are made to favorites, does not do so currently. Bug: 79873008 Test: manual PiperOrigin-RevId: 197073422 Change-Id: Ia72bdfab39a11daf8811cb122e819964ec37594f
2018-05-17Add empty content view for when the user has no contacts in favorites.calderwoodra
Bug: 79885614 Test: SpeedDialFragmentTest PiperOrigin-RevId: 197071565 Change-Id: I72df9feb44737e5f0fe42d26a77be7ffe57c1d09
2018-05-17Fixed various speed dial issues.calderwoodra
X. Pinned contacts are now saved onPause 4. Large display size no longer crops images 14. If ViLTE is disabled, IMS_VIDEO channels won't be added. Bug: 78491298,79876391,79876661 Test: manual PiperOrigin-RevId: 197068627 Change-Id: I642a11d684c648b7f6579792313b09eabb09a9fa
2018-05-17Use StorageComponent to get SharedPreference in SpamBlockingPromoHelperAndroid Dialer
Test: SpamBlockingPromoHelperTest PiperOrigin-RevId: 197068358 Change-Id: Ic4b69781d0b32035c7d12d91d27e85d99e7d3732
2018-05-17Merge "Finishing touches for accessibility in the new call log and the new ↵Treehugger Robot
voicemail fragment"
2018-05-17Merge "Internal change."Treehugger Robot
2018-05-17Merge "Updating ContactGridManager to use GlidePhotoManager for more ↵Treehugger Robot
efficient contact photo creation. If the photoUri does not exist, GlidePhotoManagerImpl will create the needed LetterTileDrawable to use in the contact photo's place."
2018-05-17Finishing touches for accessibility in the new call log and the new ↵linyuh
voicemail fragment Bug: 70989658 Test: Manual PiperOrigin-RevId: 197046549 Change-Id: I11f9515aad0b5d9c07ebb5d3ff480ed6751bd187
2018-05-17Internal change.linyuh
Bug: 38502365 Test: None PiperOrigin-RevId: 197043585 Change-Id: If9baef5cdd59d6f94cca6d6298efe59d4e296485
2018-05-17Updating ContactGridManager to use GlidePhotoManager for more efficient ↵Android Dialer
contact photo creation. If the photoUri does not exist, GlidePhotoManagerImpl will create the needed LetterTileDrawable to use in the contact photo's place. Bug: 76204286,76206686,76206786 Test: ContactGridManagerTest PiperOrigin-RevId: 197034807 Change-Id: Icb286e557b21a21029bfa7e7d5a390e4eb889dde
2018-05-17Merge "Implement accessibility for the new voicemail fragment."Treehugger Robot
2018-05-16Implement accessibility for the new voicemail fragment.linyuh
Bug: 70989658 Test: Manual PiperOrigin-RevId: 196907085 Change-Id: If3db2d6906245f052e756b315365b9d306f9d06d
2018-05-16Merge "Added assisted dialing to all calls in speed dial."Treehugger Robot
2018-05-16Added assisted dialing to all calls in speed dial.calderwoodra
Bug: 79213974 Test: n/a PiperOrigin-RevId: 196868459 Change-Id: Ic1df5debf5273f3b41985b6922589854f07733e1
2018-05-16Merge "Improve ContactPhotoView"Treehugger Robot
2018-05-16Improve ContactPhotoViewlinyuh
Bug: 70989658 Test: NewCallLogIntegrationTest + Manual PiperOrigin-RevId: 196845473 Change-Id: Ic0cbcf668ea1921c88fb6b080308884fa1113e61
2018-05-16Merge "Don't add identical numbers in the cursor to the SpeedDialUiItem."Treehugger Robot
2018-05-15Don't add identical numbers in the cursor to the SpeedDialUiItem.calderwoodra
Bug: 78492722,79213974 Test: SpeedDialUiItemTest PiperOrigin-RevId: 196754044 Change-Id: I7aec281ea7904087de0363245974cb08aec54c73
2018-05-15Merge "Refactoring simulator portal and related files."Treehugger Robot
2018-05-15Merge "Clear frequents dialog now reloads the speed dial fragment."Treehugger Robot
2018-05-15Refactoring simulator portal and related files.weijiaxu
Delete simulator/portal package and move all files to simulator/impl package. Bug: 79488174 Test: presubmit test. PiperOrigin-RevId: 196735123 Change-Id: I2f578ca0912552ee32104d9ee5088bbb34ce5123
2018-05-15Clear frequents dialog now reloads the speed dial fragment.calderwoodra
Bug: 79131964 Test: manual, frequents table is only readable, so setting up tests is difficult PiperOrigin-RevId: 196720970 Change-Id: I0b0ef991fadaebb8abbcd48394a2780d8f824550
2018-05-15Merge "Add Espresso tests for the new call log."Treehugger Robot
2018-05-15Merge "Use new instances of PreCallAction on activity resume"Treehugger Robot
2018-05-15Merge changes Id53c298a,I7df0ece7,I9f41b1a7,Iffbfa408,I2aac0df1, ...Treehugger Robot
* changes: Don't use LoaderManager.getInstance() in dialer. Implement PhoneNumberCacheLookup Fix add call button behavior. Use component for iconography Move SpamStub to separate package. Initialize dialpadFragment and searchFragment with FragmentManager when MainSearchController is created Compress all of dialer's png files. Delete unused check__SpamStatus methods Refactor simulator menu and add portal package for adding simulator service later. Add simulator component in generated root component. Update DialerCall to use SpamStatus instead of booleans Added contacts permission screen to speed dial fragment. Don't crash when cp2 returns a null label. Register system call log content observer if user enables Phone permission. Exit multiselect mode when opening the dialpad. Support missing phone permission in new call log.
2018-05-15Add Espresso tests for the new call log.linyuh
Bug: 70989635 Test: NewCallLogIntegrationTest PiperOrigin-RevId: 196696755 Change-Id: I63c45f2996e08b40e41344fc35ce69317c08a42d
2018-05-15Use new instances of PreCallAction on activity resumetwyen
Previously the same action instance is used every time the PreCallActivity is resumed. This causes some state to be retain, for example the isDiscarding state on CallingAccountSelector prevents canceling the next dialog to abort the call. Actions should not retain state between activity life cycles. TEST=TAP Bug: 79692264 Test: TAP PiperOrigin-RevId: 196696224 Change-Id: Ifa604f431563dd1fb123a42e2a64b34c001e897d