summaryrefslogtreecommitdiff
path: root/java/com/android/dialer
AgeCommit message (Collapse)Author
2018-06-21Keep actions on new call log entries consistent with those in the old call log.linyuh
Bug: 110412130 Test: NewCallLogViewHolderTest, NewCallLogIntegrationTest PiperOrigin-RevId: 201543827 Change-Id: I301aaf686b729086776ab3bcc677bacd2450fea0
2018-06-20Enforce AnnotatedCallLog column constraints in its content provider.linyuh
Bug: 110185399 Test: AnnotatedCallLogConstraintsTest, AnnotatedCallLogContentProviderTest PiperOrigin-RevId: 201444134 Change-Id: I105ec7a201265ee5e7708ffb9a4b66b4cef01174
2018-06-20Bump Master version codes and name to v23Android Dialer
Test: n/a PiperOrigin-RevId: 201370189 Change-Id: I545fa556de2d0cb22ea563cc865570f99d01f13b
2018-06-19Drag favorite to removeyueg
Test: RemoveViewHolderTest, SpeedDialAdapterTest PiperOrigin-RevId: 201266033 Change-Id: Ie7ed9bac8ad9c7bbc35c351409b629e3fbad3de8
2018-06-19Changed Character Limit at request of translation teamAndroid Dialer
Test: "No Tests" PiperOrigin-RevId: 201252892 Change-Id: I1ea239d8eb67ea5793787221a0e9f7cd15ce086e
2018-06-18Added Change Voicemail Greeting Preference to Settings screenAndroid Dialer
Added empty classes and necessary XML files Test: "No Tests" PiperOrigin-RevId: 201063930 Change-Id: I2c24428a91c5d2a706f0e90ce899e8faaf1a2df9
2018-06-18Updated licenses for v22 release.Android Dialer
Test: 'N/A' PiperOrigin-RevId: 201037293 Change-Id: I572ef7cd3d82876b8f191f1d7d3a0af88c0aa26a
2018-06-18Show "Calling accounts" for all users in DialerSettingsActivitylinyuh
Bug: 110083450 Test: Manual PiperOrigin-RevId: 200774928 Change-Id: I4bb036ab5b2e7dc252ad32d49d2370cd17f8e3f8
2018-06-18Fix an AOSP build error caused by bottom sheet states.linyuh
Test: Existing tests PiperOrigin-RevId: 200771998 Change-Id: Icb2b9bc13dfb03d92c389124e20883952be60821
2018-06-18Improve Coalescer performancelinyuh
Bug: 77813585 Test: CoalescerTest PiperOrigin-RevId: 200764878 Change-Id: I7e3d9c3b4eab1e5de12a108b82c04704550c8c5e
2018-06-18Fix drag and drop crash.yueg
Test: manual PiperOrigin-RevId: 200629297 Change-Id: I6346fb2eb8742902949b2627a12956f0adca78ed
2018-06-18Fully expand the bottom sheet when touch exploration is enabled.linyuh
Bug: 80546794 Test: HistoryItemActionBottomSheetTest + Manual testing PiperOrigin-RevId: 200304666 Change-Id: Ie9d6b38b96e35c051469710ec2bae8fa2a1a17ba
2018-06-12Fix bug that voicemail is not shareable during phone call.wangqi
Bug: 78491417,80164592 Test: VoicemailPlaybackTest PiperOrigin-RevId: 200282735 Change-Id: I296b822550f558a8f08d6811bf557d24a52e01d9
2018-06-12Fix voicemail multi-select title text coloryueg
Test: manual PiperOrigin-RevId: 200265855 Change-Id: I4f082c7db8a2a1df51e13265766d8c3923368f8f
2018-06-12Fix bug that two messengers app showing on sharing voicemail screen.wangqi
This is due to wild card content type. It's fixed by setting audio type only. Bug: 62050463 Test: manual PiperOrigin-RevId: 200263392 Change-Id: Ie2ea17fc04bbf74d2ef795b71e2dfbfaea9d9cf3
2018-06-12Delete checkSpamStatusForInCallUimaxwelb
Test: Tap PiperOrigin-RevId: 200252072 Change-Id: I25aea0e324b070d0f8553cb0041c6b3e9668552e
2018-06-12Reorganized activities in manifests.zachh
Bug: 109931227 Test: manual PiperOrigin-RevId: 200232293 Change-Id: Id82ce87014a2a16b6b27398b7de2019e96c5d95b
2018-06-12Add battery events to primes.erfanian
Bug: 80425147 Test: tap PiperOrigin-RevId: 200211179 Change-Id: Icff35da693d713298a4cd6dcae90d9cbb1a71cdb
2018-06-11Default column IS_VOICEMAIL_CALL to 0 in the annotated call log.linyuh
Test: AnnotatedCallLogDatabaseHelperTest PiperOrigin-RevId: 200134473 Change-Id: I1d3f43630b6cd7753ef8b72a7a02d119c8ab75cc
2018-06-11Ignore read voicemails for notificationstwyen
Previously the notification is only auto-canceled if it is deleted from the server. In this CL it will also be canceled if it is read. TEST=TAP Bug: 80214330 Test: TAP PiperOrigin-RevId: 200134453 Change-Id: I716c4c6ee060a7b4162147d9bf9e2e1f5077317a
2018-06-11Have Coalescer return CoalescedRow protos directly.linyuh
Bug: 77813585 Test: CoalescerTest, NewCallLogAdapterTest, NewCallLogViewHolderTest PiperOrigin-RevId: 200086621 Change-Id: I8f79359a5972c578ae439aaf33233900b0606dc8
2018-06-08Removed cast to DialtactsActivity.zachh
DialtactsActivity should be dead code at this point so this code should be unreachable. Bug: 109931227 Test: none PiperOrigin-RevId: 199872804 Change-Id: I4f4f66f5c803662de238c42dc746423c8ab1f150
2018-06-08Don't refer to DialtactsActivity.class to launch the DIAL intent.zachh
We want to remove DialtactsActivity but cannot replace it with MainActivity or would create a circular dependency. Instead, just let the system to pick the activity appropriate for the dial intent (which should be MainActivity). Bug: 109931227 Test: manual PiperOrigin-RevId: 199871747 Change-Id: I6e4a5a854f3cd04d630df9d831df2767d411f1c1
2018-06-08Use an intent action to launch MainActivity instead of class reference to ↵zachh
DialtactsActivity. We can't just replace DialtactsActivity with MainActivity because a circular dependency would be created. Instead create a new dialer-specific "main" intent action and use it. Bug: 109931227 Test: manual PiperOrigin-RevId: 199868961 Change-Id: I0ef72ed418280eeb64ea1ea854d215093b0dba27
2018-06-08Moved EXTRA_CLEAR_NEW_VOICEMAILS to MainComponent.zachh
This needs to be moved in order to delete DialtactsActivity. Bug: 109931227 Test: none PiperOrigin-RevId: 199820125 Change-Id: I2b2c190152834bd1d0d0510f8e01110f05a5a8f3
2018-06-07Basic settings for SpeakEasyuabdullah
Bug: 73736474 Test: Unit Test PiperOrigin-RevId: 199731478 Change-Id: I14df12aadbd2b328381ca1b9bed063a753207792
2018-06-07Don't install StubDuoModule in tests.linyuh
Test: TapPresubmit PiperOrigin-RevId: 199727525 Change-Id: Ia58ba377d581ed46d02b443d4b65b906a68fbcfb
2018-06-07Wrap phone numbers in custom content descriptions in the new call log with ↵linyuh
TTS span. Bug: 70989658 Test: Manual (TTS span is not testable) PiperOrigin-RevId: 199724621 Change-Id: I6dc809660eecdd987ee966f30b68dbbf7bcf2094
2018-06-07Removed "last_tab_enabled" flag.zachh
END_PUBLIC The bottom nav buttons do not work correctly when this flag is not enabled (see bugs). This flag is intended to always be true via an experiment but can be false for example when the user clears data or just launched dialer for the first time and hasn't received config flags. It is not likely that we will ever want to turn off this behavior, so this change simply removes all support for it. TEST=unit Bug: 109762667,79485008 Test: unit PiperOrigin-RevId: 199660314 Change-Id: I105f6c553c7541673b6d5dd7abf4d29f566e155f
2018-06-06Update call log cache when annotated call log is updated.twyen
If the NumberAttribute has changed the new data will be cached back to the call log. Also updated TestCallLogProvider to support selection with ID based URI. Note: currently the write will trigger an extra refresh, the next CL will address that. TEST=TAP Bug: 77292040 Test: TAP PiperOrigin-RevId: 199509348 Change-Id: I49c43adb5bcec96128d5ec36676c4569bf536490
2018-06-05Center favorites name textyueg
Test: manual PiperOrigin-RevId: 199395233 Change-Id: If238bad0d3c65b7ab2a1e88eadec47e77e482745
2018-06-05Allow CallingAccountSelector to be shown when the device is locked.linyuh
Bug: 80408180 Test: PreCallActivityTest + Manual testing on a Moto device PiperOrigin-RevId: 199387969 Change-Id: I81d19e22f5a26676eb725b32148c43afd43d3119
2018-06-05Handling timeout in PeopleApiPhoneLookup & Cp2ExtendedDirectoryPhoneLookuplinyuh
Bug: 70989631 Test: PeopleApiPhoneLookupTest, Cp2ExtendedDirectoryPhoneLookupTest PiperOrigin-RevId: 199365461 Change-Id: I017cca8bdb469236ac60382e5fbe7f55976a12b9
2018-06-05Handle null carrier config for emergency call hinttwyen
getCarrierConfig() is @Nullable. While the default implementation always return a bundle, this is not true for other carrier apps. ShadowTelephonyManager.getCarrierConfig() now return null as default to catch this behavior. TEST=TAP Bug: 80629471 Test: TAP PiperOrigin-RevId: 199327865 Change-Id: I7416bee3d5f5307919c6825fc74c26f25b6b001f
2018-06-04Replace TextView with BidiTextView in the new call log where a phone number ↵linyuh
can be shown. Bug: 72162627 Test: Existing tests PiperOrigin-RevId: 199190694 Change-Id: I19f2ae7e8af452062672c67eb1be1bc6cc49b855
2018-06-01Simplify & improve DialerBidiFormatterlinyuh
Bug: 72162627,78464687 Test: DialerBidiFormatterTest + Manual testing PiperOrigin-RevId: 198950604 Change-Id: Ia3d4d29b7c6a96a7facfeb5c41b17a6e7cabebf2
2018-06-01Internal changeAndroid Dialer
Bug: 79169954 Test: added tests in BlockingTest.java PiperOrigin-RevId: 198950042 Change-Id: I380bc93276223db74b87f94140bd6c5c29c3f3cb
2018-06-01Remove @GenerateTestDaggerApp from RCG.weijiaxu
Test: tap presubmit. PiperOrigin-RevId: 198907001 Change-Id: Ida32182c4d6a45334cb120e1e2183abae3af2a54
2018-06-01Updating PhotoInfo and GlidePhotoManager to support conference calls.Android Dialer
Bug: 76205353 Test: GlidePhotoManagerImplTest PiperOrigin-RevId: 198872893 Change-Id: I7957078a63af2455e439286b8d2ef719d4c9ff4e
2018-06-01Solve BiDi problem when phone number is concatenated with RTL-stringlinyuh
Solves BiDi problem that might cause phone number to be displayed incorrectly in the dialer. Issue might occur when a phone number is concatenated with a custom number label containing an RTL-string. Solved by changing affected labels from TextView to BidiTextView. Removed function spanDisplayNumber in BottomRow which are now obsolete. Updates the DialerBidiFormatter to prevent whitespace to be misplaced within a BidiTextView. BUG=78464687 TEST=Manual Public-Origin-Change-Id: I789a6f76a5ca805c03a437813ce627eef7a0bf2e Signed-off-by: Linyu He <linyuh@google.com> Author: Torbjorn Eklund <torbjorn.eklund@sony.com> Bug: 78464687 Test: Manual PiperOrigin-RevId: 198823629 Change-Id: Id35c3ebf514609b4a1fe10a7ae5a297bde7c7456
2018-06-01Inlined ConfigProviderBindings.get() and removed ConfigProviderBindings.zachh
It no longer provides any value, so just use dagger directly. Bug: 80441695 Test: tap PiperOrigin-RevId: 198806461 Change-Id: Id607abb65b77633bce511ad0c943ac19453a85d5
2018-06-01Removed isUserUnlocked checks from ConfigProvider.zachh
Bug: 80441695 Test: modified code to fetch a flag value while the user was locked and observed the default value to be returned by Phenotype, unlocked the device, and observed the non-default value to be returned PiperOrigin-RevId: 198804521 Change-Id: I096fc22b47357b4bc61e9e98896ccda8d8bb57d8
2018-06-01Add new spam API which can query additional data.maxwelb
Bug: 80303132 Test: InAppSpamTest, verified using Blueline device PiperOrigin-RevId: 198801576 Change-Id: I30f8c0c7c850ac4bd7b6fcf2dad18c0d70f1b2d1
2018-06-01Fix color of name text in call log.wangqi
Bug: 79883035 Test: manual PiperOrigin-RevId: 198799252 Change-Id: I0636351e5b9bca2c173487c8a53282ca66e61e84
2018-06-01Removed static configProvider field in ConfigProviderBindings.zachh
Also removed setForTesting method as it was only used to reset static state which no longer exists. Bug: 80441695 Test: tap PiperOrigin-RevId: 198789280 Change-Id: If56aa3942bcb12c950c9250309b51e72f59c5bdc
2018-06-01Change RTT transcript screen to use toolbar.wangqi
This also fixes crash bug under new theme. Test: manual PiperOrigin-RevId: 198787768 Change-Id: I0b26dcefd519d40987f7338c32d1a47759b237c0
2018-06-01UI fixes for emergency numbers in the old call log.linyuh
Bug: 80426301,80426768 Test: Manual PiperOrigin-RevId: 198783744 Change-Id: Ib704a710680b3cf18e4c3c91cd48e7b8491671ff
2018-06-01Fix title and icon color of action bar.wangqi
Test: manual PiperOrigin-RevId: 198783472 Change-Id: I7a825564fb42f406aea493cbaa819ab6bcefb9eb
2018-06-01Update speakEasy colors and use theme_dialer_lightuabdullah
Bug: 80539843 Test: N/A PiperOrigin-RevId: 198778001 Change-Id: I70809eb4afe1a28c8a54d17f5e72f06aa18dcd07
2018-06-01Fix missing background colortwyen
Styles resource cannot process #COLOR TEST=manual Test: manual PiperOrigin-RevId: 198653265 Change-Id: Ic885cf384230a24ca8b8ec1e26941fd1c7e49975
2018-06-01Add toast message when RTT request failed.wangqi
Bug: 79522243 Test: manual PiperOrigin-RevId: 198598685 Change-Id: I05144ec734827b29e89bbba5070c9cb0ab06c215
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-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-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-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-30Better a11y for new call log entries.linyuh
Bug: 70989658 Test: CallLogDatesTest, CallLogEntryDescriptionsTest, NewCallLogViewHolderTest PiperOrigin-RevId: 197811739 Change-Id: I0f9d1e79d8e687efffbb1dac01aaf6fa26a45f6a
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-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-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-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-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-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-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-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-18Remove duplicate code when constructing PhotoInfo proto.linyuh
Bug: 79770053 Test: Existing tests PiperOrigin-RevId: 197192087 Change-Id: I44c60d13c83b3e23dc141fd9e9b88e108687bf96
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-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-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-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-16Implement accessibility for the new voicemail fragment.linyuh
Bug: 70989658 Test: Manual PiperOrigin-RevId: 196907085 Change-Id: If3db2d6906245f052e756b315365b9d306f9d06d
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-16Improve ContactPhotoViewlinyuh
Bug: 70989658 Test: NewCallLogIntegrationTest + Manual PiperOrigin-RevId: 196845473 Change-Id: Ic0cbcf668ea1921c88fb6b080308884fa1113e61
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-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-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
2018-05-15Don't use LoaderManager.getInstance() in dialer.zachh
It was added in support library 28 which isn't available in AOSP. TEST=none Test: none PiperOrigin-RevId: 196692493 Change-Id: Id53c298af61c4635f1874131a8ae84620669a16d