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
This commit is contained in:
1 parent
bf5e19fcb1
commit
05e963c245
1 file changed
+2
@@ -337,6 +337,8 @@ public class AlphabeticalAppsList<T extends Context & ActivityContext> 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:
|
||||
|
||||
Reference in new issue
Block a user