Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5bcd1ca3 authored by Becky Qiu's avatar Becky Qiu Committed by Automerger Merge Worker
Browse files

Fix the issue that on tablet/unfold, the allapps background color is wrong....

Fix the issue that on tablet/unfold, the allapps background color is wrong. am: aa6612d3 am: 64746f8a

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24030571



Change-Id: I9f00b40302eba3683f2260f5efa5e5dbc3566f38
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents fc681dbe 64746f8a
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -45,7 +45,6 @@ import android.util.AttributeSet;
import android.util.FloatProperty;
import android.util.Log;
import android.util.SparseArray;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.MotionEvent;
@@ -284,9 +283,8 @@ public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
                0,
                0 // Bottom left
        };
        final TypedValue value = new TypedValue();
        getContext().getTheme().resolveAttribute(android.R.attr.colorBackground, value, true);
        mBottomSheetBackgroundColor = value.data;
        mBottomSheetBackgroundColor =
                Themes.getAttrColor(getContext(), R.attr.materialColorSurfaceDim);
        updateBackgroundVisibility(mActivityContext.getDeviceProfile());
        mSearchUiManager.initializeSearch(this);
    }