58 lines
2.5 KiB
XML
58 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
~ Copyright (c) 2025 Nishant Mishra
|
|
~
|
|
~ This file is part of Tomato - a minimalist pomodoro timer for Android.
|
|
~
|
|
~ Tomato is free software: you can redistribute it and/or modify it under the terms of the GNU
|
|
~ General Public License as published by the Free Software Foundation, either version 3 of the
|
|
~ License, or (at your option) any later version.
|
|
~
|
|
~ Tomato is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
|
~ the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
~ Public License for more details.
|
|
~
|
|
~ You should have received a copy of the GNU General Public License along with Tomato.
|
|
~ If not, see <https://www.gnu.org/licenses/>.
|
|
-->
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_NOTIFICATION_POLICY" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />
|
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
<uses-permission android:name="android.permission.POST_PROMOTED_NOTIFICATIONS" />
|
|
<uses-permission android:name="android.permission.VIBRATE" />
|
|
|
|
<application
|
|
android:name=".TomatoApplication"
|
|
android:allowBackup="true"
|
|
android:dataExtractionRules="@xml/data_extraction_rules"
|
|
android:enableOnBackInvokedCallback="true"
|
|
android:fullBackupContent="@xml/backup_rules"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/app_name"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/Theme.Tomato"
|
|
tools:targetApi="36">
|
|
<activity
|
|
android:name=".MainActivity"
|
|
android:exported="true"
|
|
android:theme="@style/Theme.Tomato">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
<service
|
|
android:name=".service.TimerService"
|
|
android:foregroundServiceType="specialUse">
|
|
<property
|
|
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
|
|
android:value="Required to keep the timer running in the background" />
|
|
</service>
|
|
</application>
|
|
|
|
</manifest> |