mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-17 09:38:19 +00:00
Merge "Reset split selection state when RecentsView resets" into sc-v2-dev am: 84b64d7910
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16299751 Change-Id: Id2bb37c56201df52da0be8749970b3ecd05eafdb
This commit is contained in:
@@ -24,14 +24,12 @@ import static com.android.launcher3.util.SplitConfigurationOptions.STAGE_POSITIO
|
||||
import android.app.ActivityOptions;
|
||||
import android.app.ActivityThread;
|
||||
import android.graphics.Rect;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.os.IBinder;
|
||||
import android.view.RemoteAnimationAdapter;
|
||||
import android.view.SurfaceControl;
|
||||
import android.window.TransitionInfo;
|
||||
|
||||
import com.android.launcher3.Utilities;
|
||||
import com.android.launcher3.util.SplitConfigurationOptions;
|
||||
import com.android.launcher3.util.SplitConfigurationOptions.StagePosition;
|
||||
import com.android.quickstep.SystemUiProxy;
|
||||
|
||||
@@ -71,7 +71,6 @@ public class FloatingTaskView extends FrameLayout {
|
||||
mImageView.setLayerType(LAYER_TYPE_HARDWARE, null);
|
||||
mSplitPlaceholderView = findViewById(R.id.split_placeholder);
|
||||
mSplitPlaceholderView.setAlpha(0);
|
||||
mSplitPlaceholderView.setBackgroundColor(getResources().getColor(android.R.color.white));
|
||||
}
|
||||
|
||||
public static FloatingTaskView getFloatingTaskView(StatefulActivity launcher,
|
||||
|
||||
@@ -1897,6 +1897,7 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
remoteTargetHandle.getTransformParams().setTargetSet(null);
|
||||
remoteTargetHandle.getTaskViewSimulator().setDrawsBelowRecents(false);
|
||||
});
|
||||
resetFromSplitSelectionState();
|
||||
mSplitSelectStateController.resetState();
|
||||
|
||||
// These are relatively expensive and don't need to be done this frame (RecentsView isn't
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
android:id="@+id/split_placeholder"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/split_placeholder_size"
|
||||
android:background="@android:color/white"
|
||||
android:background="?android:colorPrimary"
|
||||
android:visibility="gone" />
|
||||
|
||||
</com.android.quickstep.views.FloatingTaskView>
|
||||
Reference in New Issue
Block a user