From 05e963c245dfede778ddab90c357e20bdd5ea3f1 Mon Sep 17 00:00:00 2001 From: Brandon Dayauon Date: Tue, 4 Jun 2024 17:23:43 -0700 Subject: [PATCH] Make private profile header scrollable bug: 345007467 Test: manually video: before: https://drive.google.com/file/d/1XzpD-R48WRKFBeDlHXU5xSGgc50ZON8o/view?usp=sharing after: https://drive.google.com/file/d/1VBKZluzxvpP8ucs_uylk5esRlm9KzrZb/view?usp=sharing Flag: Aconfig com.android.launcher3.enable_private_space Nextfood Change-Id: I1db4bdf244b37b4c4cf55cb0d70d4011fee7de90 --- src/com/android/launcher3/allapps/AlphabeticalAppsList.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/android/launcher3/allapps/AlphabeticalAppsList.java b/src/com/android/launcher3/allapps/AlphabeticalAppsList.java index a8103317cd..5d03a93254 100644 --- a/src/com/android/launcher3/allapps/AlphabeticalAppsList.java +++ b/src/com/android/launcher3/allapps/AlphabeticalAppsList.java @@ -337,6 +337,8 @@ public class AlphabeticalAppsList implement && !mPrivateApps.isEmpty()) { // Always add PS Header if Space is present and visible. position = mPrivateProviderManager.addPrivateSpaceHeader(mAdapterItems); + mFastScrollerSections.add(new FastScrollSectionInfo( + mPrivateProfileAppScrollerBadge, position)); int privateSpaceState = mPrivateProviderManager.getCurrentState(); switch (privateSpaceState) { case PrivateProfileManager.STATE_DISABLED: