mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Revert "Provide AllApps item OnLongClickListener through ActivityContext."
This reverts commit 0acab2532d.
Reason for revert: b/290403189
Change-Id: Ie3f67f78a8ffce8c2d5a92f65a7e74d788c82a81
This commit is contained in:
committed by
Android (Google) Code Review
parent
0acab2532d
commit
853a5b9e0c
@@ -892,6 +892,15 @@ public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
|
||||
container.put(R.id.work_tab_state_id, state);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the long click listener for icons
|
||||
*/
|
||||
public void setOnIconLongClickListener(OnLongClickListener listener) {
|
||||
for (AdapterHolder holder : mAH) {
|
||||
holder.mAdapter.setOnIconLongClickListener(listener);
|
||||
}
|
||||
}
|
||||
|
||||
public AllAppsStore getAppsStore() {
|
||||
return mAllAppsStore;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user