[Predictive Back] Swipe back within workspace all apps should only scale down content view, rather than whole all apps sheet

Fix: 335467443
Test: manual - took a video
Flag: aconfig com.android.launcher3.enable_predictive_back_gesture TRUNKFOOD
Change-Id: I97f2bfa47dbb7d4866c5d2864ee9cd059a94ca5c
This commit is contained in:
Fengjiang Li committed 2024-04-17 15:03:58 -07:00
1 parent 9ebefa5ec9
commit af20dc761c
1 file changed
+3 -1
@@ -294,7 +294,9 @@ public class AllAppsTransitionController
private void onScaleProgressChanged() {
final float scaleProgress = mAllAppScale.value;
SCALE_PROPERTY.set(mLauncher.getAppsView(), scaleProgress);
mLauncher.getScrimView().setScrimHeaderScale(scaleProgress);
if (!mLauncher.getAppsView().isSearching() || !mLauncher.getDeviceProfile().isTablet) {
mLauncher.getScrimView().setScrimHeaderScale(scaleProgress);
}
AllAppsRecyclerView rv = mLauncher.getAppsView().getActiveRecyclerView();