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

Commit 8e93ac66 authored by Chris Antol's avatar Chris Antol
Browse files

Remove SPA gating from App Cloning click ingress

Bug: 277002988
Test: existing tests. flag on by default, no-op unless disabled, which now has access to this otherwise accessible feature
Change-Id: Ic37e4c76d379133f1dbda3c65930ae44afc24f70
parent 1eb3724e
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -16,8 +16,6 @@

package com.android.settings.applications.manageapplications;

import static android.util.FeatureFlagUtils.SETTINGS_ENABLE_SPA;

import static androidx.recyclerview.widget.RecyclerView.SCROLL_STATE_DRAGGING;
import static androidx.recyclerview.widget.RecyclerView.SCROLL_STATE_IDLE;

@@ -67,7 +65,6 @@ import android.provider.DeviceConfig;
import android.provider.Settings;
import android.text.TextUtils;
import android.util.ArraySet;
import android.util.FeatureFlagUtils;
import android.util.IconDrawableFactory;
import android.util.Log;
import android.view.LayoutInflater;
@@ -728,9 +725,6 @@ public class ManageApplications extends InstrumentedFragment
                        R.string.long_background_tasks_label);
                break;
            case LIST_TYPE_CLONED_APPS:
                if (!FeatureFlagUtils.isEnabled(getContext(), SETTINGS_ENABLE_SPA)) {
                    return;
                }
                int userId = UserHandle.getUserId(mCurrentUid);
                UserInfo userInfo = mUserManager.getUserInfo(userId);
                if (userInfo != null && !userInfo.isCloneProfile()) {