Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7dd35ef authored by Sreyas's avatar Sreyas
Browse files

OverviewActions: Renaming overview_actions_container and setActionsView

Change-Id: Ie444101f246e0d00980b47ce39f6e74dade23f73
parent e90adc47
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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>
+2 −3
Original line number Diff line number Diff line
@@ -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);
+1 −1
Original line number Diff line number Diff line
@@ -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 -->