summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorherriojr <jherriott@cyngn.com>2015-09-08 16:09:22 -0700
committerherriojr <jherriott@cyngn.com>2015-09-14 10:25:22 -0700
commitc6d40c01f7b9cf12b4a2cd61ed72d62c681fe742 (patch)
treed59d1069f2f0cdec9e8a4e82507ba2beceb565ef
parented63484e8a080170af8a5bc675efc6514a40c147 (diff)
downloadvendor_replicant-c6d40c01f7b9cf12b4a2cd61ed72d62c681fe742.zip
vendor_replicant-c6d40c01f7b9cf12b4a2cd61ed72d62c681fe742.tar.gz
vendor_replicant-c6d40c01f7b9cf12b4a2cd61ed72d62c681fe742.tar.bz2
Enable The AppSuggestService
We need to enable our custom AppSuggestService in order to show possible suggestions. Change-Id: I9489723dfec315c7ff4ab414ebe88c3880876bd3
-rw-r--r--config/common_full.mk3
-rw-r--r--overlay/common/frameworks/base/core/res/res/values/config.xml4
-rw-r--r--sepolicy/service_contexts1
3 files changed, 7 insertions, 1 deletions
diff --git a/config/common_full.mk b/config/common_full.mk
index 22d25e1..51c3923 100644
--- a/config/common_full.mk
+++ b/config/common_full.mk
@@ -17,7 +17,8 @@ PRODUCT_PACKAGES += \
PhotoTable \
SoundRecorder \
PhotoPhase \
- CMSettingsProvider
+ CMSettingsProvider \
+ CMResolver
# Extra tools in CM
PRODUCT_PACKAGES += \
diff --git a/overlay/common/frameworks/base/core/res/res/values/config.xml b/overlay/common/frameworks/base/core/res/res/values/config.xml
index f204688..e0e529a 100644
--- a/overlay/common/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/common/frameworks/base/core/res/res/values/config.xml
@@ -72,5 +72,9 @@
<item>org.cyanogenmod.platform.internal.PartnerInterfaceService</item>
<item>org.cyanogenmod.platform.internal.CMTelephonyManagerService</item>
<item>org.cyanogenmod.platform.internal.CMHardwareService</item>
+ <item>org.cyanogenmod.platform.internal.AppSuggestManagerService</item>
</string-array>
+
+ <!-- Enable custom resolver, so we can supply suggestions if nothing can handle the intent -->
+ <string name="config_customResolverActivity">org.cyanogenmod.resolver/org.cyanogenmod.resolver.ResolverActivity</string>
</resources>
diff --git a/sepolicy/service_contexts b/sepolicy/service_contexts
index b1ba6f2..eea1d81 100644
--- a/sepolicy/service_contexts
+++ b/sepolicy/service_contexts
@@ -8,3 +8,4 @@ profile u:object_r:system_server_service:s0
cmpartnerinterface u:object_r:system_server_service:s0
cmtelephonymanager u:object_r:system_server_service:s0
cmhardware u:object_r:system_server_service:s0
+cmappsuggest u:object_r:system_server_service:s0