diff options
author | Dianne Hackborn <hackbod@google.com> | 2014-08-08 17:35:50 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2014-08-09 13:31:59 -0700 |
commit | a351ab96987381ffe7ea29a7cdec1e7fbd1497d5 (patch) | |
tree | 8cec8f73970a6b7fa81e6e279080d76d065e5185 /services/java/com/android | |
parent | d78e8114988326d557a1405e669b330f63fbf0d3 (diff) | |
download | frameworks_base-a351ab96987381ffe7ea29a7cdec1e7fbd1497d5.zip frameworks_base-a351ab96987381ffe7ea29a7cdec1e7fbd1497d5.tar.gz frameworks_base-a351ab96987381ffe7ea29a7cdec1e7fbd1497d5.tar.bz2 |
Fix issues 16739817 and 16709247 in voice interaction service.
Issue #16739817 VIS doesn't start for non-primary user(s)
Issue #16709247 GSA is not the default voice interaction agent
These are both fixed by getting rid of the existing code for applying
the default voice recognizer, moving it in to the voice interaction
manager service, and extending it to also set up the default voice
interaction service.
Change-Id: If8d5936c28aebfa7eff77c8d99241c3a2ffdb0a4
Diffstat (limited to 'services/java/com/android')
-rw-r--r-- | services/java/com/android/server/SystemServer.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index e8d6773..e70f0cf 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -402,7 +402,6 @@ public final class SystemServer { BluetoothManagerService bluetooth = null; UsbService usb = null; SerialService serial = null; - RecognitionManagerService recognition = null; NetworkTimeUpdateService networkTimeUpdater = null; CommonTimeManagementService commonTimeMgmtService = null; InputManagerService inputManager = null; @@ -843,13 +842,6 @@ public final class SystemServer { mSystemServiceManager.startService(APPWIDGET_SERVICE_CLASS); } - try { - Slog.i(TAG, "Recognition Service"); - recognition = new RecognitionManagerService(context); - } catch (Throwable e) { - reportWtf("starting Recognition Service", e); - } - if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_VOICE_RECOGNIZERS)) { mSystemServiceManager.startService(VOICE_RECOGNITION_MANAGER_SERVICE_CLASS); } @@ -1046,7 +1038,6 @@ public final class SystemServer { final NetworkScoreService networkScoreF = networkScore; final WallpaperManagerService wallpaperF = wallpaper; final InputMethodManagerService immF = imm; - final RecognitionManagerService recognitionF = recognition; final LocationManagerService locationF = location; final CountryDetectorService countryDetectorF = countryDetector; final NetworkTimeUpdateService networkTimeUpdaterF = networkTimeUpdater; @@ -1117,11 +1108,6 @@ public final class SystemServer { reportWtf("making Connectivity Service ready", e); } try { - if (recognitionF != null) recognitionF.systemReady(); - } catch (Throwable e) { - reportWtf("making Recognition Service ready", e); - } - try { if (audioServiceF != null) audioServiceF.systemReady(); } catch (Throwable e) { reportWtf("Notifying AudioService running", e); |