| <?xml version="1.0" encoding="utf-8"?> |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| package="com.fairphone.clock" |
| android:versionCode="2" |
| android:versionName="2.0" > |
| |
| <uses-sdk |
| android:minSdkVersion="17" |
| android:targetSdkVersion="21" /> |
| |
| <uses-permission android:name="android.permission.DISABLE_KEYGUARD"/> |
| <uses-permission android:name="com.android.alarm.permission.SET_ALARM"/> |
| |
| <application |
| android:icon="@mipmap/ic_clock_launcher" |
| android:label="@string/app_name" |
| android:theme="@style/AppTheme" > |
| <activity |
| android:name=".CentralActivity" |
| android:configChanges="orientation|keyboardHidden|screenSize" |
| android:label="@string/app_name" |
| android:theme="@style/FullscreenTheme" > |
| <intent-filter> |
| <action android:name="android.intent.action.MAIN" /> |
| </intent-filter> |
| </activity> |
| |
| <receiver |
| android:name=".widget.ClockWidget" |
| android:label="@string/app_name" > |
| <intent-filter> |
| <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| <action android:name="com.fairphone.clock.widget.ClockWidget.CLOCK_AM_PM_UPDATE" /> |
| <action android:name="android.intent.action.ALARM_CHANGED" /> |
| </intent-filter> |
| <!-- This specifies the widget provider info --> |
| <meta-data |
| android:name="android.appwidget.provider" |
| android:resource="@xml/clock_widget_info" /> |
| </receiver> |
| |
| <service |
| android:name=".ClockScreenService" |
| android:enabled="true" |
| android:exported="true" > |
| </service> |
| </application> |
| |
| </manifest> |