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

Commit 977e8672 authored by herriojr's avatar herriojr Committed by Gerrit Code Review
Browse files

Add System Property for Resolver

In order to distribute the custom Resolver with capps, we need
a way of updating which resolver to use.  This property will do
the trick.

Change-Id: I2ba27324599df1f2bb0200b2172fd9421edf8279
parent 6f9a34e0
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -1505,9 +1505,11 @@ public class PackageManagerService extends IPackageManager.Stub {
            mRestoredSettings = mSettings.readLPw(this, sUserManager.getUsers(false),
                    mSdkVersion, mOnlyCore);
            String customResolverActivity = Resources.getSystem().getString(
            String customResolverActivity = SystemProperties.get("ro.custom.resolver.activity");
            if (TextUtils.isEmpty(customResolverActivity)) {
                customResolverActivity = Resources.getSystem().getString(
                        R.string.config_customResolverActivity);
            }
            if (TextUtils.isEmpty(customResolverActivity)) {
                customResolverActivity = null;
            } else {