mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
Removing some unnecessary interfaces and merging them to ActivityContext
Bug: 259733681 Test: Everything compiles Change-Id: If6b530f6e589a851cf8554f5de0849843bd66dd4
This commit is contained in:
@@ -18,7 +18,7 @@ package com.android.launcher3.statemanager;
|
||||
import android.content.Context;
|
||||
|
||||
import com.android.launcher3.DeviceProfile;
|
||||
import com.android.launcher3.DeviceProfile.DeviceProfileListenable;
|
||||
import com.android.launcher3.views.ActivityContext;
|
||||
|
||||
/**
|
||||
* Interface representing a state of a StatefulActivity
|
||||
@@ -37,7 +37,7 @@ public interface BaseState<T extends BaseState> {
|
||||
/**
|
||||
* @return How long the animation to this state should take (or from this state to NORMAL).
|
||||
*/
|
||||
<DEVICE_PROFILE_CONTEXT extends Context & DeviceProfileListenable>
|
||||
<DEVICE_PROFILE_CONTEXT extends Context & ActivityContext>
|
||||
int getTransitionDuration(DEVICE_PROFILE_CONTEXT context, boolean isToState);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user