summaryrefslogtreecommitdiffstats
path: root/services/core
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2016-08-05 06:35:41 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-08-08 09:21:04 -0700
commit66c02c8c4bc07c683223785ac2203bfd73888f4e (patch)
tree819c43f02bca56ca0960402af744e8decaacac71 /services/core
parent583e76db8e2d119ec12578625edc22acbd1e61fa (diff)
downloadframeworks_base-66c02c8c4bc07c683223785ac2203bfd73888f4e.zip
frameworks_base-66c02c8c4bc07c683223785ac2203bfd73888f4e.tar.gz
frameworks_base-66c02c8c4bc07c683223785ac2203bfd73888f4e.tar.bz2
framework: extend provision check to SEARCH intents
TIcket: CYNGNOS-3242 Change-Id: I61ce295737471ca9bb59f45c616d626bbc4f7784 Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'services/core')
-rw-r--r--services/core/java/com/android/server/am/ActivityStackSupervisor.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/am/ActivityStackSupervisor.java b/services/core/java/com/android/server/am/ActivityStackSupervisor.java
index d54feeb..bde32e7 100644
--- a/services/core/java/com/android/server/am/ActivityStackSupervisor.java
+++ b/services/core/java/com/android/server/am/ActivityStackSupervisor.java
@@ -959,6 +959,8 @@ public final class ActivityStackSupervisor implements DisplayListener {
if (intent.getAction() != null && !isProvisioned()) {
switch (intent.getAction()) {
+ case Intent.ACTION_SEARCH:
+ case Intent.ACTION_WEB_SEARCH:
case Intent.ACTION_PROCESS_TEXT:
case Intent.ACTION_ASSIST:
case Intent.ACTION_VOICE_ASSIST: