Home | History | Annotate | Download | only in main
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3   ~ Copyright 2016 Google Inc.
      4   ~
      5   ~ Licensed under the Apache License, Version 2.0 (the "License");
      6   ~ you may not use this file except in compliance with the License.
      7   ~ You may obtain a copy of the License at
      8   ~
      9   ~      http://www.apache.org/licenses/LICENSE-2.0
     10   ~
     11   ~ Unless required by applicable law or agreed to in writing, software
     12   ~ distributed under the License is distributed on an "AS IS" BASIS,
     13   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14   ~ See the License for the specific language governing permissions and
     15   ~ limitations under the License.
     16   -->
     17 <manifest package="com.example.android.wearable.wear.wearverifyremoteapp"
     18           xmlns:android="http://schemas.android.com/apk/res/android"
     19           android:versionCode="1"
     20           android:versionName="1.0">
     21 
     22     <uses-feature android:name="android.hardware.type.watch"/>
     23     <!-- Required for Always-on. -->
     24     <uses-permission android:name="android.permission.WAKE_LOCK"/>
     25 
     26     <application
     27         android:allowBackup="true"
     28         android:icon="@mipmap/ic_launcher"
     29         android:label="@string/app_name"
     30         android:supportsRtl="true"
     31         android:theme="@android:style/Theme.DeviceDefault">
     32 
     33         <meta-data
     34             android:name="com.google.android.wearable.standalone"
     35             android:value="true" />
     36 
     37         <!--If you want your app to run on pre-22, then set required to false -->
     38         <uses-library android:name="com.google.android.wearable" android:required="false" />
     39 
     40         <activity
     41             android:name=".MainWearActivity"
     42             android:label="@string/app_name"
     43             android:theme="@android:style/Theme.DeviceDefault.Light">
     44             <intent-filter>
     45                 <action android:name="android.intent.action.MAIN"/>
     46                 <category android:name="android.intent.category.LAUNCHER"/>
     47             </intent-filter>
     48         </activity>
     49 
     50     </application>
     51 </manifest>