commit | 05e963c245dfede778ddab90c357e20bdd5ea3f1 | [log] [tgz] |
---|---|---|
author | Brandon Dayauon <brdayauon@google.com> | Tue Jun 04 17:23:43 2024 -0700 |
committer | Brandon Dayauon <brdayauon@google.com> | Tue Jun 04 17:23:43 2024 -0700 |
tree | f8d7b4518e2d8b554381f0bc59f127bdfaad46f2 | |
parent | bf5e19fcb15bfdecf65889a2a8d739a4019a3b3e [diff] |
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
diff --git a/src/com/android/launcher3/allapps/AlphabeticalAppsList.java b/src/com/android/launcher3/allapps/AlphabeticalAppsList.java index a810331..5d03a93 100644 --- a/src/com/android/launcher3/allapps/AlphabeticalAppsList.java +++ b/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
@@ -337,6 +337,8 @@ && !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: