Removing some unused code from All-Apps

Bug: 229860311
Test: Verified on device
Change-Id: I72394fb421679688f87cdbf725859ec35529a59e
This commit is contained in:
Sunny Goyal committed 2022-04-20 09:54:48 -07:00
1 parent 1a93004398
commit 3946ecd441
7 files changed
+95 -107

No files matched your search

@@ -45,6 +45,7 @@ import androidx.annotation.Nullable;
import androidx.annotation.VisibleForTesting;
import androidx.core.graphics.ColorUtils;
import androidx.recyclerview.widget.RecyclerView;
import androidx.recyclerview.widget.RecyclerView.AdapterDataObserver;
import com.android.launcher3.DeviceProfile;
import com.android.launcher3.DeviceProfile.DeviceProfileListenable;
@@ -727,6 +728,12 @@ public abstract class BaseAllAppsContainerView<T extends Context & ActivityConte
: new BaseAdapterProvider[]{mMainAdapterProvider};
adapter = getAdapter(mAppsList, adapterProviders);
adapter.registerAdapterDataObserver(new AdapterDataObserver() {
@Override
public void onChanged() {
Log.e("Hello", "On changed", new Exception());
}
});
mAppsList.setAdapter(adapter);
mLayoutManager = adapter.getLayoutManager();
}