summaryrefslogtreecommitdiff
path: root/java
AgeCommit message (Collapse)Author
2018-06-18Fix an AOSP build error caused by bottom sheet states.linyuh
Test: Existing tests PiperOrigin-RevId: 200771998 Change-Id: Icb2b9bc13dfb03d92c389124e20883952be60821
2018-06-18Check phone capabilities.erfanian
Bug: 110177989 Test: none/manual PiperOrigin-RevId: 200771224 Change-Id: I6c9d9b6eb0aa98be8e60d693549c07fbbf73c5d7
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-18Fix bug that RTT call is conferenceable with voice call.wangqi
Bug: 109763648 Test: manual PiperOrigin-RevId: 200460856 Change-Id: I1ce385490e6ce6167f56dc32c35a931292e0d03f
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-12Replaced a reference in a comment to DialtactsActivity with MainActivity.zachh
DialtactsActivity will be deleted soon. Bug: 109931227 Test: none PiperOrigin-RevId: 200270077 Change-Id: Iafba7081bd3878c3d426cc1483cbef45a6f545a1
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-12Rename keep.xml in spam.wangqi
Test: manual check resource are still kept PiperOrigin-RevId: 200237775 Change-Id: Ie6530b5317c898a85e601c4c5fb23cd9f67f5873
2018-06-12Use an activity instead of a fragment for SpeakEasySettingsuabdullah
Bug: 109890761,73736474,79701706 Test: Unit Tests PiperOrigin-RevId: 200237086 Change-Id: If33011f8a6477ea69f8a41d8f78ee9cf7fb51c1f
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-11Handle alternative form VVM SMS as legacy notification if the account is not ↵twyen
activated yet. On VVM3 if subscription failed, the alternative form SMS will still be sent by the carrier. In this state dialer should fallback to legacy voicemail notification. TEST=manual - disable auto subscription in code, check legacy voicemail notification functionality. Bug: 109896901 Test: manual - disable auto subscription in code, check legacy voicemail notification functionality. PiperOrigin-RevId: 200113818 Change-Id: I55b70e7a8b2cd3d8b40864fa03b2ba209037f4e8
2018-06-11Fix secondary color on incall screen.wangqi
Test: manual PiperOrigin-RevId: 200110976 Change-Id: I0cad28e7b9e650cd07423febd117b44ef61b00fd
2018-06-11Fix NPE issue when tapping speaker button on VT call ended screenwangqi
Null pointer exception occurred when tapping speaker button on VT call ended screen. At the ending of VT call, the call is NULL and issue caused by accessing the call. To resolve this issue, disable speaker button on VT call ended screen by updating button UI when button controller is disabled. Bug: 109765937 Test: manual - Check that speaker button is disabled on the VT call ended screen. This is an upstream change: https://android-review.googlesource.com/c/platform/packages/apps/Dialer/+/699606/ Bug: 109765937 Test: manual PiperOrigin-RevId: 200096438 Change-Id: Ibecda05fe93edd0a5bbd3bcc29107fc51d3ae2cc
2018-06-11Have Coalescer return CoalescedRow protos directly.linyuh
Bug: 77813585 Test: CoalescerTest, NewCallLogAdapterTest, NewCallLogViewHolderTest PiperOrigin-RevId: 200086621 Change-Id: I8f79359a5972c578ae439aaf33233900b0606dc8
2018-06-11A few more interface updates.erfanian
Bug: 73773964 Test: none PiperOrigin-RevId: 200079809 Change-Id: I1c505c4f63a17b34ed9fb062c9f9e1b1e16c3832
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-08Fix incall icon arrow coloryueg
Test: manual PiperOrigin-RevId: 199872562 Change-Id: I77e7ff7587f05c4c251ba8e55e43f32730cdc3c4
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-07Fix bubble theme crashyueg
Test: manual PiperOrigin-RevId: 199693464 Change-Id: I73428025592097e431567ef0cdf55abb84538c7c
2018-06-07Set the preferred SIM when InCallActivity is not visible.linyuh
Bug: 109653872 Test: N/A (InCallActivity is not testable, similar to cl/194824783). PiperOrigin-RevId: 199662982 Change-Id: I4effa2454246d852837d0878246898537f799980
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 mute states after add voice call from RTT call.wangqi
This fixes bug that new added call and original RTT call are both muted. Bug: 79956827 Test: manual PiperOrigin-RevId: 199539018 Change-Id: I242fcdd8f2e23470cf222dd4ccc390478d3e2919
2018-06-06Supported two RTT calls at same time.wangqi
Bug: 109738484 Test: manual PiperOrigin-RevId: 199524711 Change-Id: Ia75c41004179da5eae17b6acbc952d652e8d7480
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-05Update a few interfaces.erfanian
Bug: 73773964 Test: unit PiperOrigin-RevId: 199362698 Change-Id: I4b0ab4a3c07ad8fa206753c4826b42037b8a06be
2018-06-05Dismiss RTT request dialog if RTT is already active.wangqi
On VZW, RTT request will be accepted by modem automatically, in which case the dialog will be useless and should be dismissed. User won't see the dialog in this case since it's not visible yet when dismissed. This is a workaround since change in modem/telecom is not feasible at this point. Bug: 80259700 Test: manual PiperOrigin-RevId: 199334017 Change-Id: Ie5fb40e7a11975a423135ad7e5e6ef2dddbac56b
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-04Update dagger types.erfanian
Bug: 73736474 Test: unit PiperOrigin-RevId: 199224642 Change-Id: Ie11e0bfb261a1ff49b49697314c4341cab4a48d0
2018-06-04Add keep.xml to keep string resources for spam.wangqi
Without this rule, these string resources not directly referenced by code will be stripped out by Proguard. Bug: 80512860 Test: manual PiperOrigin-RevId: 199201142 Change-Id: I91ea90273051b6bb6fa57d116bfb037fc86c1a94
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-04Fix assert when disabling VVMtwyen
The SIM may no longer be valid, but the rest of the deactivation process should still go through. TEST=TAP Bug: 79476712 Test: TAP PiperOrigin-RevId: 199174445 Change-Id: I52d6030320f2675ac74fc06470e3cd8f33b613b8
2018-06-04Fix video call icon colortwyen
It is a state list. TEST=manual Bug: 80315482 Test: manual PiperOrigin-RevId: 199162757 Change-Id: I3be255506871e0d32e5433c2a96bf620701b9c0d
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-01Fix color in RTT call screen.wangqi
Bug: 79883035 Test: manual PiperOrigin-RevId: 198884630 Change-Id: I61636776c234a4000dbaf1e206ffd0429364d942
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-01Fix color of primary text on incall screen.wangqi
Bug: 79883035 Test: manual PiperOrigin-RevId: 198813765 Change-Id: If7dda82316946c7d1c07a3d7fb08e13c858807be
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-01Add new default interface.erfanian
Bug: 79701706 Test: tap PiperOrigin-RevId: 198747775 Change-Id: I3bd0d26ee6621ebe428e4e8c82b51959d313608f
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-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-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-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-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-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