OverviewActions: Renaming overview_actions_container and setActionsView

Change-Id: Ie444101f246e0d00980b47ce39f6e74dade23f73
This commit is contained in:
Sreyas 2020-03-06 10:50:43 -08:00
parent e90adc47ef
commit e7dd35ef0d
4 changed files with 4 additions and 5 deletions

View File

@ -31,6 +31,6 @@
<include
android:id="@+id/overview_actions_view"
layout="@layout/overview_actions_holder" />
layout="@layout/overview_actions_container" />
</com.android.quickstep.fallback.RecentsRootView>

View File

@ -88,7 +88,6 @@ import com.android.launcher3.DeviceProfile;
import com.android.launcher3.Insettable;
import com.android.launcher3.InsettableFrameLayout;
import com.android.launcher3.InvariantDeviceProfile;
import com.android.launcher3.Launcher;
import com.android.launcher3.LauncherState;
import com.android.launcher3.PagedView;
import com.android.launcher3.R;
@ -479,7 +478,7 @@ public abstract class RecentsView<T extends BaseActivity> extends PagedView impl
mIPinnedStackAnimationListener.setActivity(mActivity);
SystemUiProxy.INSTANCE.get(getContext()).setPinnedStackAnimationListener(
mIPinnedStackAnimationListener);
addActionsView();
setActionsView();
}
@Override
@ -2105,7 +2104,7 @@ public abstract class RecentsView<T extends BaseActivity> extends PagedView impl
}
}
private void addActionsView() {
private void setActionsView() {
if (mActionsView == null && ENABLE_OVERVIEW_ACTIONS.get()
&& SysUINavigationMode.removeShelfFromOverview(mActivity)) {
mActionsView = ((ViewGroup) getParent()).findViewById(R.id.overview_actions_view);

View File

@ -50,7 +50,7 @@
<include
android:id="@+id/overview_actions_view"
layout="@layout/overview_actions_holder" />
layout="@layout/overview_actions_container" />
<!-- Keep these behind the workspace so that they are not visible when
we go into AllApps -->