From 17422a8c616068d47ad588885a3f02ac333e5048 Mon Sep 17 00:00:00 2001 From: Marcelo Arteiro Date: Fri, 2 Aug 2024 14:54:38 +0000 Subject: [PATCH] Fixes background color issue in private space Bug: 355066712 Test: Manual Flag: EXEMPT bug fix Change-Id: I3d53b7d82b577c05642aab9fc40f54d382578942 --- src/com/android/launcher3/allapps/AlphabeticalAppsList.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/com/android/launcher3/allapps/AlphabeticalAppsList.java b/src/com/android/launcher3/allapps/AlphabeticalAppsList.java index 5d03a93254..d7cda63678 100644 --- a/src/com/android/launcher3/allapps/AlphabeticalAppsList.java +++ b/src/com/android/launcher3/allapps/AlphabeticalAppsList.java @@ -403,9 +403,8 @@ public class AlphabeticalAppsList implement // Apply decorator to private apps. if (hasPrivateApps) { mAdapterItems.add(AdapterItem.asAppWithDecorationInfo(info, - new SectionDecorationInfo(mActivityContext.getApplicationContext(), - getRoundRegions(i, appList.size()), - true /* decorateTogether */))); + new SectionDecorationInfo(mActivityContext, + getRoundRegions(i, appList.size()), true /* decorateTogether */))); } else { mAdapterItems.add(AdapterItem.asApp(info)); }