mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Cleanup raw usage of AllAppsStore.
Test: Compiles Bug: 287523421 Flag: No Change-Id: I35cdb1b281f251b74305129b583f29cdb29e15a6
This commit is contained in:
@@ -139,7 +139,7 @@ public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
|
||||
private final SearchTransitionController mSearchTransitionController;
|
||||
private final Paint mHeaderPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
|
||||
private final Rect mInsets = new Rect();
|
||||
private final AllAppsStore mAllAppsStore;
|
||||
private final AllAppsStore<T> mAllAppsStore;
|
||||
private final RecyclerView.OnScrollListener mScrollListener =
|
||||
new RecyclerView.OnScrollListener() {
|
||||
@Override
|
||||
@@ -192,7 +192,7 @@ public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
|
||||
public ActivityAllAppsContainerView(Context context, AttributeSet attrs, int defStyleAttr) {
|
||||
super(context, attrs, defStyleAttr);
|
||||
mActivityContext = ActivityContext.lookupContext(context);
|
||||
mAllAppsStore = new AllAppsStore(mActivityContext);
|
||||
mAllAppsStore = new AllAppsStore<>(mActivityContext);
|
||||
|
||||
mScrimColor = Themes.getAttrColor(context, R.attr.allAppsScrimColor);
|
||||
mHeaderThreshold = getResources().getDimensionPixelSize(
|
||||
@@ -892,7 +892,7 @@ public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
|
||||
container.put(R.id.work_tab_state_id, state);
|
||||
}
|
||||
|
||||
public AllAppsStore getAppsStore() {
|
||||
public AllAppsStore<T> getAppsStore() {
|
||||
return mAllAppsStore;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user