Skip to content

Commit

Permalink
Updates for XE16 compatibility. XE16 was released in April 2014 and r…
Browse files Browse the repository at this point in the history
…eplaced XE12 from December 2013. XE16 changes the way voice triggers are set up. They now require a permission in the manifest and use a different trigger syntax.
  • Loading branch information
mscheel committed Apr 29, 2014
1 parent 151ad68 commit 6619c16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions glass/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
android:versionName="0.2.0">

<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="com.google.android.glass.permission.DEVELOPMENT" />


<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="19"/>

Expand Down
2 changes: 1 addition & 1 deletion glass/res/xml/barcode_scanner_show.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<trigger command="TRANSLATE_THIS">
<trigger keyword="BARCODE SCANNER">
<constraints camera="true" />
</trigger>

0 comments on commit 6619c16

Please sign in to comment.