feat: Add option to clear home screen in settings (#6125)
Signed-off-by: abhixv <abhi.sharma1@hotmail.com>
This commit is contained in:
1 parent
9898749619
commit
5f3a03f4fb
1577 files changed
+112559
-80244
No files matched your search
@@ -20,8 +20,6 @@ package com.android.launcher3.statemanager;
|
||||
import static com.android.launcher3.LauncherState.FLAG_CLOSE_POPUPS;
|
||||
import static com.android.launcher3.statemanager.BaseState.FLAG_NON_INTERACTIVE;
|
||||
|
||||
import android.content.res.Configuration;
|
||||
|
||||
import androidx.annotation.CallSuper;
|
||||
|
||||
import com.android.launcher3.AbstractFloatingView;
|
||||
@@ -56,15 +54,12 @@ public interface StatefulContainer<STATE_TYPE extends BaseState<STATE_TYPE>> ext
|
||||
|
||||
/**
|
||||
* Called when transition to state ends
|
||||
*
|
||||
* @param state current state of State_Type
|
||||
*/
|
||||
default void onStateSetEnd(STATE_TYPE state) {
|
||||
}
|
||||
default void onStateSetEnd(STATE_TYPE state) { }
|
||||
|
||||
/**
|
||||
* Called when transition to state starts
|
||||
*
|
||||
* @param state current state of State_Type
|
||||
*/
|
||||
@CallSuper
|
||||
@@ -76,7 +71,6 @@ public interface StatefulContainer<STATE_TYPE extends BaseState<STATE_TYPE>> ext
|
||||
|
||||
/**
|
||||
* Returns true if the activity is in the provided state
|
||||
*
|
||||
* @param state current state of State_Type
|
||||
*/
|
||||
default boolean isInState(STATE_TYPE state) {
|
||||
@@ -87,8 +81,4 @@ public interface StatefulContainer<STATE_TYPE extends BaseState<STATE_TYPE>> ext
|
||||
* Returns true if state change should transition with animation
|
||||
*/
|
||||
boolean shouldAnimateStateChange();
|
||||
|
||||
default void handleConfigurationChanged(Configuration configuration){
|
||||
//no op
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user