summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/main/impl/toolbar/SearchBarListener.java
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-02-22 22:46:58 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-02-22 22:46:58 +0000
commitc6943fd4f2050576dd1688d7f22d9683478e114e (patch)
tree012b1dd73ba554b09be6eee250d9fc1a9311feb2 /java/com/android/dialer/main/impl/toolbar/SearchBarListener.java
parent494552349aefe18dd3dea0dd656d5cd48f813e64 (diff)
parentdde326ea2878112b0e59412cabd2ff98ce51d46e (diff)
Merge changes I099f22b7,Ia014e5e1,I3950071e,I1863a28e,I622b52f4, ...
* changes: Removed item animator in Call Log RecyclerView. NUI bug fixes: handling intents and onActivityResult. Use the vector spam icon in the new call log. Fixed some Dialer theming bugs in NUI. Make MarkDirtyObserver available to all call log data sources & PhoneLookups. Updating PrimaryInfo value class to use AutoValue with builder pattern. When there is no VM support hide the tab in the Old Main Activity Rebuild Call Log on first launch after NUI is enabled Changing the voicemail transcription font size Moved metrics related methods out of LoggingBindings. Record jank metrics in old and new call logs. Fixed some bugs in NUI search. Adding information section to voicemail settings Add Tracfone to Motorola menu, move existing menu to Sprint only Fixed some issues in NUI search bar. Disable VVM for tracfone USA Fix an NPE when ContactInfoHelper tries to retrieve remote directories. Merge searchfragment/remote into searchfragment/directories and renaming things accordingly. Initialize/Update the UI of New{CallLog|Voicemail}Fragment iff the fragment is truly visible. Use a broadcast receiver to refresh the annotated call log. Rename invalid resource folder Fix a few UI issues based around multiselect in new nav. Include the primary callback action in the new call log's bottom sheet. Implement read/write text stream to RttCall. Add configuration for when we show decimal and barcode device id Annotate RTT as @TargetApi(28).
Diffstat (limited to 'java/com/android/dialer/main/impl/toolbar/SearchBarListener.java')
-rw-r--r--java/com/android/dialer/main/impl/toolbar/SearchBarListener.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/java/com/android/dialer/main/impl/toolbar/SearchBarListener.java b/java/com/android/dialer/main/impl/toolbar/SearchBarListener.java
index a074b5131..857c4b9c9 100644
--- a/java/com/android/dialer/main/impl/toolbar/SearchBarListener.java
+++ b/java/com/android/dialer/main/impl/toolbar/SearchBarListener.java
@@ -16,6 +16,7 @@
package com.android.dialer.main.impl.toolbar;
+import android.support.v7.app.AppCompatActivity;
import android.view.MenuItem;
/** Useful callback for {@link SearchBarView} listeners. */
@@ -36,6 +37,12 @@ public interface SearchBarListener {
/** Called when a toolbar menu item is clicked. */
boolean onMenuItemClicked(MenuItem menuItem);
+ /** Called when {@link AppCompatActivity#onUserLeaveHint()} is called. */
+ void onUserLeaveHint();
+
+ /** Called when the user places a call from search (regular or dialpad). */
+ void onCallPlacedFromSearch();
+
/** Interface for returning voice results to the search bar. */
interface VoiceSearchResultCallback {