Do not pre-add All Apps icon in phone mode.
Flag: com.android.launcher3.taskbar_recents_layout_transition Bug: 343521765 Test: go/testedequals Change-Id: Ie152344613cf982183c4bb72b8dde138f4f74e37
This commit is contained in:
@@ -199,7 +199,8 @@ public class TaskbarView extends FrameLayout implements FolderIcon.FolderIconPar
|
||||
// TODO: Disable touch events on QSB otherwise it can crash.
|
||||
mQsb = LayoutInflater.from(context).inflate(R.layout.search_container_hotseat, this, false);
|
||||
|
||||
mNumStaticViews = taskbarRecentsLayoutTransition() ? addStaticViews() : 0;
|
||||
mNumStaticViews = taskbarRecentsLayoutTransition() && !mActivityContext.isPhoneMode()
|
||||
? addStaticViews() : 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user