summaryrefslogtreecommitdiff
path: root/src/com/android/dialer/list/RegularSearchFragment.java
AgeCommit message (Collapse)Author
2015-12-18Support carrier presence-based video calling icon.Tyler Gunn
- Update SmartDial database to track carrier presence. - Add video call style elements to dialer stylesheet. - Tore out hair in frustration tracing through code. - Add listeners to allow dialing of video calls from search results. Bug: 20257833 Change-Id: I476cccb8c2805ae6f9949366fc5c2ce2669b7734
2015-11-18Handle backwards compatible permission lookup and requests (1/3).Nancy Chen
requestPermissions is not available to the Fragments class and checkSelfPermission is not available to the Context class in API < 23. Use other backwards compatible methods to implement the behavior. Bug: 25776171 Change-Id: I6cb221236f28b319f618d2cf32a9f503a6f4e6e0
2015-11-10Log screen events for blocked call fragmentsYorke Lee
* Add blocked number screen types to Logger * Log screen views for SearchFragments in DialtactsActivity rather than in onStart, to avoid double logging for some fragments (e.g. children of RegularSearchFragment) * Log screen view for call log context menu (where the block number action appears Bug: 25288435 Change-Id: I4ebf1410f93afb37d20be2cc57f933e5d635cfb6
2015-11-09More work to hook up screen event loggingYorke Lee
* Change logScreenView to log by an integer rather than string representing a screen name * Add some missing log events (SmartDialSearchFragment, etc) * Add mapping of integer to screen name strings for AnalyticsUtil Bug: 23164804 Change-Id: If34a01b71a3fb598caa237e4b679cfeb30c4dd01
2015-11-06Route all existing screen view events through the LoggerYorke Lee
* The logger is responsible for sending it to its logging implementation, and also to AnalyicsUtil. * Standardize logic for creating a tagged version of a screen name Bug: 23164804 Change-Id: I9b817fba5359f78340f2d9fdba54af9ea73cdb37
2015-10-26Show list of all phone numbers for empty query.Andrew Lee
+ Configure BlockedListSearchFragment so it will not show empty when the search query is null. + Removed local reference and equality check for changes in the query string. This is done in the superclasses already, so was redundant. - Removed unnecessary override in RegularSearchFragment. Bug: 24910704 Change-Id: Ifd11eed9e3ba6fb00ba535ae019df477f81518fb
2015-10-12Move capability checker out of RegularSearchFragmentYorke Lee
AOSP Dialer does not care about having location enabled, so move the relevant code out into a separate fragment Bug: 24172011 Change-Id: I7c29ba4ed8e3fb0a600360c10e9c9fdd6d543b1f
2015-10-09Fix crash in BlockedNumberSearchActivityYorke Lee
Don't require RegularSearchFragment's parent activity to implement CapabilityChecker interface. In the context of the BlockedNumberSearchActivity this functionality is not needed. Bug: 24804134 Change-Id: I848ae66c6f8afc6e60b19bc28e933ae1e2f59893
2015-10-06Show prompt to request for location permissionYorke Lee
Clicking on TURN ON currently only asks for the location permission. Showing the dialog that toggles location sources is planned for a follow up CL. Bug: 24172011 Change-Id: Ieb6bd58a60aacbda76f9c754efeebfdd9e89aa86
2015-09-16Fix unused importsYorke Lee
Change-Id: Ibb8fa066e7da501a1227b413b48f0895352fb372
2015-09-16Log various call initiation entry pointsYorke Lee
Speed dial (PhoneNumberPickerInteraction, SpeedDialFragment) Regular search (RegularSearchFragment) Remote Directory (RegularSearchFragment) Call Log (CallLogAdapter) Smart Dial Search (SmartDialSearchFragment) Dialpad (DialpadFragment) Bug: 23164804 Change-Id: I7cc881ac655fca6d4f365b5de36a4087c4f17700
2015-09-02Send notification when permission granted in searchYorke Lee
Bug: 23686207 Change-Id: I2ac23ab403159f1f335d3c0e92752558d7ddc293
2015-07-17Add permission prompts for contacts and dialpad searchYorke Lee
Update the following fragments to handle denied permissions -Contacts Search (Contacts and Location) -Dialpad Search (Phone) Tweak and remove some of the onTouch listener logic as they are no longer valid with the new UI. Instead of intercepting the touches when the query is empty and returning to the main dialer activity, allow the fragments to remain on screen if the permission request UI is showing. Modify signature of onEmptyViewActionButtonClicked to remove unused permissions parameter. Bug: 22174668 Change-Id: I96d00f2ab45df936dca602ac025f723638ac02c4
2014-11-05Improve Dialer analyticsYorke Lee
* Send screen view for first fragment loaded inside ListsFragment * Send screen view for voicemail playback fragment * Send screen view for currently active fragment when activity is restarted * Don't send spurious screen views on rotation * Send screen views for call log fragments in call log activity, and differentiate between them with a tag Bug: 18158037 Change-Id: I09fda53db33f6a6acc4a3b477de992aa94921c71
2013-10-01Clicking on dialer directory headers scrolls to selected directoryYorke Lee
Enable setScrollToSectionOnHeaderTouch for dialer search Bug: 10991974 Change-Id: If6021ece166ae0cba8bb3a9f1db77c7b3f8a9e5c
2013-09-28Change cached info to interfaceJay Shrauner
Change AOSP cache API to interface and move DB data types to GoogleDialer Bug:10980951 Change-Id: I37eb07f672458ab4d8789ecc4e9f2f60745de862
2013-09-11Add enable reverse number lookup link to call card.Chiao Cheng
Bug: 10525344 Change-Id: I6f01110e76222a2558374426675e285cfca5801b
2013-09-03Add contacts to the cache when dialedJay Shrauner
Add GAL or local search contacts to the cache when dialed. Bug: 10609551 Change-Id: I787e0f2e1fe458a7f5518241823493333d9ade7c
2013-08-29Refactor SearchFragmentJay Shrauner
Refactor SearchFragment into a base SearchFragment and an implementation RegularSearchFragment. This allows SmartDialSearchFragment to inherit directly from the base. Bug: Change-Id: Iae9cd11ac733445c76d390c35fa778d942707b57