[settings-pixel-search] Add slice timeout to avoid showing empty slice view
Bug: 181810946 Test: m Change-Id: Icd83bbf428bf7d87e3957a6f6d888142c6008da3
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
package com.android.launcher3.allapps.search;
|
||||
|
||||
import android.net.Uri;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
@@ -39,6 +40,11 @@ public abstract class SearchAdapterProvider {
|
||||
*/
|
||||
public abstract void onBindView(AllAppsGridAdapter.ViewHolder holder, int position);
|
||||
|
||||
/**
|
||||
* Called from LiveSearchManager to notify slice status updates.
|
||||
*/
|
||||
public abstract void onSliceStatusUpdate(Uri sliceUri);
|
||||
|
||||
/**
|
||||
* Returns whether or not viewType can be handled by searchProvider
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user