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

Commit dd26189e authored by himanshuz's avatar himanshuz Committed by Himanshu Gupta
Browse files

Enabling App Cloning Device Config flags by default. The features will be...

Enabling App Cloning Device Config flags by default. The features will be guarded *only* by config overlays, which are off by default.

Bug: 253449368
Test: Manual by building and flashing
Change-Id: I9099019f2bd982588f12ac1741fce27d24e5849e
parent bc12caac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ public class ClonedAppsPreferenceController extends BasePreferenceController
    @Override
    public int getAvailabilityStatus() {
        return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_APP_CLONING,
                PROPERTY_CLONED_APPS_ENABLED, false)
                PROPERTY_CLONED_APPS_ENABLED, true)
                && mContext.getResources().getBoolean(R.bool.config_cloned_apps_page_enabled)
                ? AVAILABLE : UNSUPPORTED_ON_DEVICE;
    }
+1 −1
Original line number Diff line number Diff line
@@ -871,7 +871,7 @@ public class ManageApplications extends InstrumentedFragment
        mOptionsMenu.findItem(R.id.delete_all_app_clones)
                .setVisible(mListType == LIST_TYPE_CLONED_APPS  && DeviceConfig.getBoolean(
                        DeviceConfig.NAMESPACE_APP_CLONING, PROPERTY_DELETE_ALL_APP_CLONES_ENABLED,
                false) && Utils.getCloneUserId(getContext()) != -1);
                true) && Utils.getCloneUserId(getContext()) != -1);
    }

    @Override