63 lines
2.9 KiB
XML
63 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright 2015 The Chromium Authors. All rights reserved.
|
|
Use of this source code is governed by a BSD-style license that can be
|
|
found in the LICENSE file.
|
|
-->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.domokit.fitness" android:versionCode="4" android:versionName="0.0.4">
|
|
|
|
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" />
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
|
|
<!-- for GCM -->
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
|
|
<!-- Supposedly this permission prevents other apps from receiving our
|
|
messages, but it doesn't seem to have any effect. -->
|
|
<permission android:name="org.domokit.fitness.permission.C2D_MESSAGE"
|
|
android:protectionLevel="signature" />
|
|
<uses-permission android:name="org.domokit.fitness.permission.C2D_MESSAGE" />
|
|
<!-- end for GCM -->
|
|
|
|
<application android:icon="@mipmap/ic_launcher" android:label="Fitness" android:name="org.domokit.sky.shell.SkyApplication">
|
|
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize" android:hardwareAccelerated="true" android:launchMode="singleTask" android:name="org.domokit.sky.shell.SkyActivity" android:theme="@android:style/Theme.Black.NoTitleBar">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
<service
|
|
android:name="org.domokit.sky.shell.UpdateService"
|
|
android:exported="false"
|
|
android:process=":remote"/>
|
|
|
|
<!-- for GCM -->
|
|
<receiver
|
|
android:name="com.google.android.gms.gcm.GcmReceiver"
|
|
android:exported="true"
|
|
android:permission="com.google.android.c2dm.permission.SEND" >
|
|
<intent-filter>
|
|
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
|
|
<category android:name="org.domokit.sky.shell" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<service
|
|
android:name="org.domokit.gcm.GcmListenerService"
|
|
android:exported="false" >
|
|
<intent-filter>
|
|
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
|
|
</intent-filter>
|
|
</service>
|
|
<service
|
|
android:name="org.domokit.gcm.InstanceIDListenerService"
|
|
android:exported="false">
|
|
<intent-filter>
|
|
<action android:name="com.google.android.gms.iid.InstanceID"/>
|
|
</intent-filter>
|
|
</service>
|
|
<service
|
|
android:name="org.domokit.gcm.RegistrationIntentService"
|
|
android:exported="false">
|
|
</service>
|
|
</application>
|
|
</manifest>
|