diff options
author | Dianne Hackborn <hackbod@google.com> | 2014-04-25 17:06:18 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2014-04-28 10:54:15 -0700 |
commit | 18f0d357f9693fe787a3e3777d8fdf01357a6e3f (patch) | |
tree | 87ffa17a98fa81355a37e25b2c7fc649ffc4e9be /tests/VoiceInteraction/res | |
parent | 01c70711d5e4f1c3405bcd169be70605e92166f2 (diff) | |
download | frameworks_base-18f0d357f9693fe787a3e3777d8fdf01357a6e3f.zip frameworks_base-18f0d357f9693fe787a3e3777d8fdf01357a6e3f.tar.gz frameworks_base-18f0d357f9693fe787a3e3777d8fdf01357a6e3f.tar.bz2 |
Rework some of the voice interaction APIs.
On the app side, requests are now composed by subclassing
from various types of Request objects.
On the service side, starting a voice interaction session
involves starting another service that will then manage the
session. This leads the service design much more to what
we want, where the long-running main service is very tiny
and all the heavy-weight transient session work is elsewhere
in another process.
Change-Id: I46c074c6fe27b6c1cf2583c6d216aed1de2f1143
Diffstat (limited to 'tests/VoiceInteraction/res')
-rw-r--r-- | tests/VoiceInteraction/res/xml/interaction_service.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/VoiceInteraction/res/xml/interaction_service.xml b/tests/VoiceInteraction/res/xml/interaction_service.xml new file mode 100644 index 0000000..45bd994d --- /dev/null +++ b/tests/VoiceInteraction/res/xml/interaction_service.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/** + * Copyright (c) 2014, The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +--> + +<voice-interaction-service xmlns:android="http://schemas.android.com/apk/res/android" + android:sessionService="com.android.test.voiceinteraction.MainInteractionSessionService" /> |