summaryrefslogtreecommitdiffstats
path: root/src/com/android/dialer/interactions
Commit message (Collapse)AuthorAgeFilesLines
* Permission protect UndemoteOutgoingCallReceiverYorke Lee2015-07-141-4/+23
| | | | | Bug: 22479151 Change-Id: I7e2689cfd3b6a315e7a225d2a8646b5917f70570
* Handle runtime permissions in DialerYorke Lee2015-05-221-3/+7
| | | | | | | | | | | | | | | | | | | Conditionally disable the following features if the required permissions are not available: 1) Display of all contacts 2) Display of speed dial 3) Caller ID in call log 4) Import/export contacts 5) Conversion of People.CONTENT_ITEM_TYPE and Phones.CONTENT_ITEM_TYPE into a phone number (via DIAL intent) 6) UndemoteOutgoingCallReceiver 7) Contact Search 8) Contact lookup in call detail activity 9) Nearby places search Bug: 20266292 Change-Id: I6d26902acb0eac407ae7bc18c11aa6ec57299506
* Reorganize Intent utilities, add send SMS intent.Andrew Lee2015-05-131-2/+2
| | | | | | | | | + Rename CallIntentUtils.java to IntentUtil.java. + Consolidate various intent creation methods to new file, and update referenes throughout the application. Bug: 20433758 Change-Id: Iee9e37985217c38c816124d0e74dff40a2871680
* Use TelecomManager.placeCall APIYorke Lee2015-04-231-2/+2
| | | | | Bug: 20348183 Change-Id: If1b193f933b4a7b2b322784b0cbbc66c210b25df
* Show corp contacts in call-log...Makoto Onuki2015-03-101-0/+2
| | | | | | | | | | | as wells as the missed-call notification. Just PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI instead of PhoneLookup.CONTENT_FILTER_URI. This CL requires the new column in calllog provider. Change-Id: I61a2f63bcad102cb8a7e8021483b7dfe254abd95
* Move CallUtil into Dialer. P1/3Brian Attwell2015-02-031-2/+2
| | | | | | | | | | | | | | | CallUtil relies on the a priviliged intent that should only be used by system apps. Therefore, it shouldn't be used by an unbundled Contacts app. I'm leaving one (isVideoEnabled) method from CallUtil inside ContactsCommon. This way, when the changes that Tyler made inside m-wireless-telephony-shamu-dev (b/19062133) get merged back into master both ContactsCommon and Dialer will be updated. Bug: 18777272 Change-Id: I49c9cc714ded01d523ed770a5bf62cf92c378e2f
* Delete duplicated classBrian Attwell2014-10-231-1/+1
| | | | | | | | | Also renamed dialerbind package Analytics CL #2/5 Bug: 18039620 Change-Id: I45722015978038cdccb6a848c28e4b6c90d5aa4f
* Fix cursor leaksJay Shrauner2014-09-111-22/+25
| | | | | Bug:17472228 Change-Id: Ia34252e1a4e0ba0193c8a13006121972e889d27d
* Use new undemote APIYorke Lee2014-07-301-2/+1
| | | | Change-Id: I92fdc2cc2e988681bfae9089708e67c8fe649a2f
* Changing Activities to implement Analytics (1/2).Sai Cheemalapati2014-07-301-1/+1
| | | | | | | Dialer's Activities now implement AnalyticsActivity. All Activities now have access to sendHitEvent, which is a no op in AOSP Dialer. Change-Id: I318f08bfaf98cb88f9dbf6e4f28994b215bafa77
* Switch PhoneNumberInteraction to use updated Collapser.collapseListPaul Soulos2014-06-301-1/+1
| | | | Change-Id: I3a050a77328885925e5792b012713b558deb0997
* Removes redundant method in DialerPaul Soulos2014-06-301-7/+0
| | | | Change-Id: I3dc2d1fcf3be18bf2fa366bc47e94df7ca4913f9
* Merge "Update method to match interface"Paul Soulos2014-06-261-1/+1
|\
| * Update method to match interfacePaul Soulos2014-06-261-1/+1
| | | | | | | | Change-Id: Iec800ea42fbb608577ec48f71fc5ca9ceeba6608
* | Adds temp function so build doesn't breakPaul Soulos2014-06-261-0/+7
|/ | | | Change-Id: Iea185f480215935cddbf9f8d0e4145a04dbd351c
* Merge "Follow new PinnedPositions API changes (1/2)"Yorke Lee2014-06-201-3/+3
|\
| * Follow new PinnedPositions API changes (1/2)Yorke Lee2014-06-191-3/+3
| | | | | | | | | | | | Bug: 15593967 Change-Id: I3e0a495bc83b8d69a453b463f8f2559ef543031d
* | Fix Dialer testsYorke Lee2014-06-191-3/+3
|/ | | | | | | Fix Dialer tests and also wrap all startActivity calls that have the potential to fail with a catch block for ActivityNotFoundException Change-Id: I02ce4b985eeb0e3e607b8008a333e02168acd378
* Add null check for cursor in UndemoteOutgoingCallReceiverYorke Lee2013-12-171-0/+3
| | | | | Bug: 12179558 Change-Id: I2a991b981a76afdec0282936f63732c43652baea
* Fix ANR in UndemoteOutgoingCallReceiverYorke Lee2013-11-191-8/+8
| | | | | | | | Querying the contacts provider for the contact id should happen in a new thread as well. Bug: 11773499 Change-Id: I715e7e9b4a650efbd708d4ad3793dad742b74a14
* Don't undemote contact on UI threadYorke Lee2013-09-051-2/+8
| | | | | Bug: 10606244 Change-Id: I2581a499e77eff058a3768280c75c005e2b6cefd
* Don't undemote if number of outgoing call is emptyYorke Lee2013-08-191-0/+4
| | | | | Bug: 10387346 Change-Id: I3276afe4d7f0e5541432f0b937d76bbd63e3a9b9
* Add outgoing call receiver to undemote a contactYorke Lee2013-08-142-9/+72
| | | | | Bug: 10292569 Change-Id: I377220822970d46c6706a636fbcc54f8eb2c8758
* Undemote contact if it is calledYorke Lee2013-08-051-18/+46
| | | | Change-Id: Ibcd14c7a71f73ed8c7faae07d2c50b23199ff1fd
* Smart Dialling v2 with phone number supportYorke Lee2013-02-121-9/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Behavior: Use a prefix tree to cache contacts instead of an array list Perform matches against phone numbers as well DialpadFragment now ignores results from stale tasks where queries no longer match Add ability to not use default phone number for phone number disambiguation dialog Contacts are now ranked by the order which they were sorted by in the ContactsProvider (affinity) Change remapAccentedChars to always return lowercase characters to avoid overhead of uppercase character conversion Resource/Layout changes: Tweak margins so that the section containing smart dial suggestions looks cleaner Use color resource instead of hardcoding color values Add phone number to SmartDial items ContentObserver: Add a contentobserver to be notified on changes in contacts Refactored cache to allow for forced cache refreshes Use a single instance of SmartDialCache Tests: Added SmartDialTrie tests Comments: Comment cleanup Change-Id: Ica2854e2845d4d75048aa1fd982f139496d21bf3
* Dedup NANPA numbersJay Shrauner2013-01-081-5/+1
| | | | | | | | Remove redundant call to shouldCollapseWith() and remove ignored return value in collapseWith(). Bug:7519057 Change-Id: I7e01746749d8574dbb596b2e1b09673bf78fa045
* Moving PhoneNumberInteraction from Contacts.Chiao Cheng2012-10-311-0/+474
Bug: 6993891 Change-Id: Id4701c00455de609850a5afea74e68c6bd84cbb3