|
|
@ -17,9 +17,10 @@
|
|
|
|
~ with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
~ with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
|
|
|
package="org.isoron.uhabits">
|
|
|
|
package="org.isoron.uhabits">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<uses-permission android:name="android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS" />
|
|
|
|
|
|
|
|
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
|
|
|
|
<uses-permission android:name="android.permission.VIBRATE" />
|
|
|
|
<uses-permission android:name="android.permission.VIBRATE" />
|
|
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
|
|
|
|
|
|
|
|
|
@ -48,11 +49,11 @@
|
|
|
|
android:name=".activities.habits.list.ListHabitsActivity"
|
|
|
|
android:name=".activities.habits.list.ListHabitsActivity"
|
|
|
|
android:exported="true"
|
|
|
|
android:exported="true"
|
|
|
|
android:label="@string/main_activity_title"
|
|
|
|
android:label="@string/main_activity_title"
|
|
|
|
android:launchMode="singleTop">
|
|
|
|
android:launchMode="singleTop" />
|
|
|
|
</activity>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<activity-alias
|
|
|
|
<activity-alias
|
|
|
|
android:name=".MainActivity"
|
|
|
|
android:name=".MainActivity"
|
|
|
|
|
|
|
|
android:exported="true"
|
|
|
|
android:label="@string/main_activity_title"
|
|
|
|
android:label="@string/main_activity_title"
|
|
|
|
android:launchMode="singleTop"
|
|
|
|
android:launchMode="singleTop"
|
|
|
|
android:targetActivity=".activities.habits.list.ListHabitsActivity">
|
|
|
|
android:targetActivity=".activities.habits.list.ListHabitsActivity">
|
|
|
@ -85,6 +86,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<activity
|
|
|
|
<activity
|
|
|
|
android:name=".widgets.activities.HabitPickerDialog"
|
|
|
|
android:name=".widgets.activities.HabitPickerDialog"
|
|
|
|
|
|
|
|
android:exported="true"
|
|
|
|
android:theme="@style/Theme.AppCompat.Light.Dialog">
|
|
|
|
android:theme="@style/Theme.AppCompat.Light.Dialog">
|
|
|
|
<intent-filter>
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
|
|
|
|
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
|
|
|
@ -93,6 +95,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<activity
|
|
|
|
<activity
|
|
|
|
android:name=".widgets.activities.BooleanHabitPickerDialog"
|
|
|
|
android:name=".widgets.activities.BooleanHabitPickerDialog"
|
|
|
|
|
|
|
|
android:exported="true"
|
|
|
|
android:theme="@style/Theme.AppCompat.Light.Dialog">
|
|
|
|
android:theme="@style/Theme.AppCompat.Light.Dialog">
|
|
|
|
<intent-filter>
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
|
|
|
|
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
|
|
|
@ -101,6 +104,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<activity
|
|
|
|
<activity
|
|
|
|
android:name=".widgets.activities.NumericalHabitPickerDialog"
|
|
|
|
android:name=".widgets.activities.NumericalHabitPickerDialog"
|
|
|
|
|
|
|
|
android:exported="true"
|
|
|
|
android:theme="@style/Theme.AppCompat.Light.Dialog">
|
|
|
|
android:theme="@style/Theme.AppCompat.Light.Dialog">
|
|
|
|
<intent-filter>
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
|
|
|
|
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
|
|
|
@ -117,9 +121,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
<activity
|
|
|
|
<activity
|
|
|
|
android:name=".widgets.activities.NumericalCheckmarkWidgetActivity"
|
|
|
|
android:name=".widgets.activities.NumericalCheckmarkWidgetActivity"
|
|
|
|
|
|
|
|
android:excludeFromRecents="true"
|
|
|
|
|
|
|
|
android:exported="true"
|
|
|
|
android:label="NumericalCheckmarkWidget"
|
|
|
|
android:label="NumericalCheckmarkWidget"
|
|
|
|
android:noHistory="true"
|
|
|
|
android:noHistory="true"
|
|
|
|
android:excludeFromRecents="true"
|
|
|
|
|
|
|
|
android:theme="@style/Theme.AppCompat.Light.Dialog">
|
|
|
|
android:theme="@style/Theme.AppCompat.Light.Dialog">
|
|
|
|
<intent-filter>
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="org.isoron.uhabits.ACTION_SHOW_NUMERICAL_VALUE_ACTIVITY" />
|
|
|
|
<action android:name="org.isoron.uhabits.ACTION_SHOW_NUMERICAL_VALUE_ACTIVITY" />
|
|
|
@ -128,13 +133,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
<activity
|
|
|
|
<activity
|
|
|
|
android:name=".notifications.SnoozeDelayPickerActivity"
|
|
|
|
android:name=".notifications.SnoozeDelayPickerActivity"
|
|
|
|
android:taskAffinity=""
|
|
|
|
|
|
|
|
android:excludeFromRecents="true"
|
|
|
|
android:excludeFromRecents="true"
|
|
|
|
android:launchMode="singleInstance"
|
|
|
|
android:launchMode="singleInstance"
|
|
|
|
|
|
|
|
android:taskAffinity=""
|
|
|
|
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
|
|
|
|
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
|
|
|
|
|
|
|
|
|
|
|
|
<receiver
|
|
|
|
<receiver
|
|
|
|
android:name=".widgets.CheckmarkWidgetProvider"
|
|
|
|
android:name=".widgets.CheckmarkWidgetProvider"
|
|
|
|
|
|
|
|
android:exported="true"
|
|
|
|
android:label="@string/checkmark">
|
|
|
|
android:label="@string/checkmark">
|
|
|
|
<intent-filter>
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
|
@ -152,6 +158,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<receiver
|
|
|
|
<receiver
|
|
|
|
android:name=".widgets.HistoryWidgetProvider"
|
|
|
|
android:name=".widgets.HistoryWidgetProvider"
|
|
|
|
|
|
|
|
android:exported="true"
|
|
|
|
android:label="@string/history">
|
|
|
|
android:label="@string/history">
|
|
|
|
<intent-filter>
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
|
@ -164,6 +171,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<receiver
|
|
|
|
<receiver
|
|
|
|
android:name=".widgets.ScoreWidgetProvider"
|
|
|
|
android:name=".widgets.ScoreWidgetProvider"
|
|
|
|
|
|
|
|
android:exported="true"
|
|
|
|
android:label="@string/score">
|
|
|
|
android:label="@string/score">
|
|
|
|
<intent-filter>
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
|
@ -176,6 +184,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<receiver
|
|
|
|
<receiver
|
|
|
|
android:name=".widgets.StreakWidgetProvider"
|
|
|
|
android:name=".widgets.StreakWidgetProvider"
|
|
|
|
|
|
|
|
android:exported="true"
|
|
|
|
android:label="@string/streaks">
|
|
|
|
android:label="@string/streaks">
|
|
|
|
<intent-filter>
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
|
@ -188,6 +197,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<receiver
|
|
|
|
<receiver
|
|
|
|
android:name=".widgets.FrequencyWidgetProvider"
|
|
|
|
android:name=".widgets.FrequencyWidgetProvider"
|
|
|
|
|
|
|
|
android:exported="true"
|
|
|
|
android:label="@string/frequency">
|
|
|
|
android:label="@string/frequency">
|
|
|
|
<intent-filter>
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
|
@ -200,6 +210,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<receiver
|
|
|
|
<receiver
|
|
|
|
android:name=".widgets.TargetWidgetProvider"
|
|
|
|
android:name=".widgets.TargetWidgetProvider"
|
|
|
|
|
|
|
|
android:exported="true"
|
|
|
|
android:label="@string/target">
|
|
|
|
android:label="@string/target">
|
|
|
|
<intent-filter>
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
|
@ -210,13 +221,17 @@
|
|
|
|
android:resource="@xml/widget_target_info" />
|
|
|
|
android:resource="@xml/widget_target_info" />
|
|
|
|
</receiver>
|
|
|
|
</receiver>
|
|
|
|
|
|
|
|
|
|
|
|
<receiver android:name=".receivers.ReminderReceiver">
|
|
|
|
<receiver
|
|
|
|
|
|
|
|
android:name=".receivers.ReminderReceiver"
|
|
|
|
|
|
|
|
android:exported="true">
|
|
|
|
<intent-filter>
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
|
|
</intent-filter>
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
</receiver>
|
|
|
|
|
|
|
|
|
|
|
|
<receiver android:name=".receivers.WidgetReceiver">
|
|
|
|
<receiver android:name=".receivers.WidgetReceiver"
|
|
|
|
|
|
|
|
android:exported="true"
|
|
|
|
|
|
|
|
android:permission="false">
|
|
|
|
<intent-filter>
|
|
|
|
<intent-filter>
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<action android:name="org.isoron.uhabits.ACTION_SET_NUMERICAL_VALUE" />
|
|
|
|
<action android:name="org.isoron.uhabits.ACTION_SET_NUMERICAL_VALUE" />
|
|
|
@ -267,7 +282,7 @@
|
|
|
|
<!-- Locale/Tasker -->
|
|
|
|
<!-- Locale/Tasker -->
|
|
|
|
<receiver
|
|
|
|
<receiver
|
|
|
|
android:name=".automation.FireSettingReceiver"
|
|
|
|
android:name=".automation.FireSettingReceiver"
|
|
|
|
android:exported="true">
|
|
|
|
android:exported="false">
|
|
|
|
<intent-filter>
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="com.twofortyfouram.locale.intent.action.FIRE_SETTING" />
|
|
|
|
<action android:name="com.twofortyfouram.locale.intent.action.FIRE_SETTING" />
|
|
|
|
</intent-filter>
|
|
|
|
</intent-filter>
|
|
|
|