110 lines
5 KiB
XML
110 lines
5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2012 The CyanogenMod Project (DvTonder)
|
|
|
|
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.
|
|
-->
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.cyanogenmod.lockclock"
|
|
android:versionCode="22"
|
|
android:versionName="3.5" >
|
|
|
|
<uses-sdk android:minSdkVersion="24" android:targetSdkVersion="24" />
|
|
|
|
<!-- Weather -->
|
|
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
|
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<protected-broadcast android:name="com.cyanogenmod.lockclock.action.FORCE_WEATHER_UPDATE" />
|
|
|
|
<!-- Calendar -->
|
|
<uses-permission android:name="android.permission.READ_CALENDAR" />
|
|
|
|
<!-- General -->
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
|
|
<uses-permission android:name="cyanogenmod.permission.ACCESS_WEATHER_MANAGER" />
|
|
<uses-permission android:name="cyanogenmod.permission.READ_WEATHER" />
|
|
|
|
<application
|
|
android:allowBackup="true"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/app_name"
|
|
android:theme="@style/Theme.Main"
|
|
android:name=".WidgetApplication" >
|
|
|
|
<activity
|
|
android:name=".preference.Preferences"
|
|
android:configChanges="orientation|screenSize"
|
|
android:label="@string/app_name" >
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LEANBACK_SETTINGS" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<!-- Preferences fragments -->
|
|
<activity android:name=".preference.ClockPreferences" />
|
|
<activity android:name=".preference.CalendarPreferences" />
|
|
<activity android:name=".preference.WeatherPreferences" />
|
|
|
|
<!-- The weather forecast activity -->
|
|
<activity android:name=".weather.ForecastActivity"
|
|
android:hardwareAccelerated="true"
|
|
android:noHistory="true"
|
|
android:theme="@style/transparent"
|
|
android:launchMode="singleInstance"
|
|
android:taskAffinity=""
|
|
android:excludeFromRecents="true" />
|
|
|
|
<activity android:name=".weather.PermissionRequestActivity"
|
|
android:theme="@android:style/Theme.Translucent.NoTitleBar"
|
|
android:excludeFromRecents="true"
|
|
android:noHistory="true"
|
|
android:exported="true" />
|
|
|
|
<!-- The Widget receiver -->
|
|
<receiver android:name=".ClockWidgetProvider" >
|
|
<meta-data android:name="android.appwidget.provider" android:resource="@xml/lock_clock" />
|
|
<intent-filter>
|
|
<action android:name="android.app.action.NEXT_ALARM_CLOCK_CHANGED" />
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
<action android:name="android.intent.action.TIMEZONE_CHANGED"/>
|
|
<action android:name="android.intent.action.DATE_CHANGED"/>
|
|
<action android:name="android.intent.action.TIME_SET"/>
|
|
<action android:name="android.intent.action.LOCALE_CHANGED"/>
|
|
<action android:name="android.intent.action.BOOT_COMPLETED"/>
|
|
<action android:name="com.android.deskclock.NEXT_ALARM_TIME_SET"/>
|
|
<action android:name="com.cyanogenmod.lockclock.action.SHOW_FORECAST" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.PROVIDER_CHANGED"/>
|
|
<data android:scheme="content"/>
|
|
<data android:host="com.android.calendar"/>
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<service android:name=".ClockWidgetService"></service>
|
|
<service android:name=".DeviceStatusService"></service>
|
|
<service android:name=".weather.WeatherUpdateService"></service>
|
|
<service android:name=".weather.WeatherSourceListenerService"></service>
|
|
<service android:name=".calendar.CalendarViewsService"
|
|
android:permission="android.permission.BIND_REMOTEVIEWS">
|
|
</service>
|
|
|
|
</application>
|
|
|
|
</manifest>
|