[Predictive Back] Add extra bottom space in taskbar all apps to home

Bug: 272797556
Test: manual
Change-Id: Ie84117d4211c382544c9ed8e1226bf70b2bd382d
This commit is contained in:
Fengjiang Li
2023-03-13 15:33:00 -07:00
parent 7f4d53b074
commit 11f873da0b
7 changed files with 58 additions and 38 deletions

View File

@@ -20,7 +20,6 @@ import android.util.AttributeSet;
import android.view.View;
import android.view.WindowInsets;
import com.android.launcher3.DeviceProfile;
import com.android.launcher3.R;
import com.android.launcher3.allapps.ActivityAllAppsContainerView;
import com.android.launcher3.taskbar.overlay.TaskbarOverlayContext;
@@ -61,13 +60,6 @@ public class TaskbarAllAppsContainerView extends
return false;
}
@Override
protected void updateBackground(DeviceProfile deviceProfile) {
super.updateBackground(deviceProfile);
// TODO(b/240670050): Remove this and add header protection for the taskbar entrypoint.
mBottomSheetBackground.setBackgroundResource(R.drawable.bg_rounded_corner_bottom_sheet);
}
@Override
public boolean isInAllApps() {
// All apps is always open