Removing BaseDraggingActivity
> Merging come methods to BaseActivtiy > Separating wallpaper theme implementation to an independent class Bug: 393703968 Flag: EXEMPT refactor Test: Presubmit Change-Id: I8cdb6d1520beff3f8226b62c5b7eafd48b2c674f
This commit is contained in:
@@ -459,7 +459,7 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer,
|
||||
|
||||
protected void onItemClicked(View view) {
|
||||
if (!mSplitToWorkspaceController.handleSecondAppSelectionForSplit(view)) {
|
||||
QuickstepLauncher.super.getItemOnClickListener().onClick(view);
|
||||
super.getItemOnClickListener().onClick(view);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -731,6 +731,9 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer,
|
||||
final boolean ret = super.initDeviceProfile(idp);
|
||||
mDeviceProfile.isPredictiveBackSwipe =
|
||||
getApplicationInfo().isOnBackInvokedCallbackEnabled();
|
||||
if (ret) {
|
||||
SystemUiProxy.INSTANCE.get(this).setLauncherAppIconSize(mDeviceProfile.iconSizePx);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -1237,6 +1240,7 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer,
|
||||
}
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public ActivityOptionsWrapper getActivityLaunchOptions(View v, @Nullable ItemInfo item) {
|
||||
ActivityOptionsWrapper activityOptions = mAppTransitionManager.getActivityLaunchOptions(
|
||||
@@ -1366,12 +1370,6 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer,
|
||||
.areDesktopTasksVisibleAndNotInOverview();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onDeviceProfileInitiated() {
|
||||
super.onDeviceProfileInitiated();
|
||||
SystemUiProxy.INSTANCE.get(this).setLauncherAppIconSize(mDeviceProfile.iconSizePx);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void dispatchDeviceProfileChanged() {
|
||||
super.dispatchDeviceProfileChanged();
|
||||
@@ -1508,4 +1506,9 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer,
|
||||
public void setCanShowAllAppsEducationView(boolean canShowAllAppsEducationView) {
|
||||
mCanShowAllAppsEducationView = canShowAllAppsEducationView;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void returnToHomescreen() {
|
||||
getStateManager().goToState(LauncherState.NORMAL);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user