Removing some unnecessary interfaces and merging them to ActivityContext
Bug: 259733681 Test: Everything compiles Change-Id: If6b530f6e589a851cf8554f5de0849843bd66dd4
This commit is contained in:
1 parent
1c744c996c
commit
54fa110bba
16 files changed
+277
-302
No files matched your search
@@ -30,7 +30,6 @@ import androidx.annotation.Nullable;
|
||||
|
||||
import com.android.launcher3.BubbleTextView;
|
||||
import com.android.launcher3.DeviceProfile;
|
||||
import com.android.launcher3.DeviceProfile.DeviceProfileListenable;
|
||||
import com.android.launcher3.DeviceProfile.OnDeviceProfileChangeListener;
|
||||
import com.android.launcher3.R;
|
||||
import com.android.launcher3.Utilities;
|
||||
@@ -51,7 +50,7 @@ import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@TargetApi(Build.VERSION_CODES.P)
|
||||
public class PredictionRowView<T extends Context & ActivityContext & DeviceProfileListenable>
|
||||
public class PredictionRowView<T extends Context & ActivityContext>
|
||||
extends LinearLayout implements OnDeviceProfileChangeListener, FloatingHeaderRow {
|
||||
|
||||
private final T mActivityContext;
|
||||
|
||||
Reference in new issue
Block a user