Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / clock / src / main / AndroidManifest.xml
AndroidManifest.xml119 lines · 5.3 KiBRaw
| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | xmlns:tools="http://schemas.android.com/tools"> |
| 4 | |
| 5 | <!-- Offline app (#884): androidx.work merges in ACCESS_NETWORK_STATE, which nothing here uses. --> |
| 6 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" tools:node="remove" /> |
| 7 | |
| 8 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| 9 | <uses-permission android:name="android.permission.USE_EXACT_ALARM" /> |
| 10 | <uses-permission |
| 11 | android:name="android.permission.SCHEDULE_EXACT_ALARM" |
| 12 | android:maxSdkVersion="32" /> |
| 13 | <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
| 14 | <uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" /> |
| 15 | |
| 16 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| 17 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" /> |
| 18 | <uses-permission android:name="android.permission.VIBRATE" /> |
| 19 | <uses-permission android:name="com.android.alarm.permission.SET_ALARM" /> |
| 20 | |
| 21 | <permission |
| 22 | android:name="com.vayunmathur.clock.permissions.ACCESS_CLOCK" |
| 23 | android:protectionLevel="signature" /> |
| 24 | |
| 25 | <application |
| 26 | android:allowBackup="true" |
| 27 | android:dataExtractionRules="@xml/data_extraction_rules" |
| 28 | android:icon="@mipmap/ic_launcher" |
| 29 | android:label="@string/app_name" |
| 30 | android:roundIcon="@mipmap/ic_launcher" |
| 31 | android:supportsRtl="true" |
| 32 | android:theme="@style/Theme.General"> |
| 33 | <activity |
| 34 | android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" |
| 35 | android:name=".MainActivity" |
| 36 | android:exported="true" |
| 37 | android:theme="@style/Theme.General"> |
| 38 | <intent-filter> |
| 39 | <action android:name="android.intent.action.MAIN" /> |
| 40 | <category android:name="android.intent.category.LAUNCHER" /> |
| 41 | </intent-filter> |
| 42 | <intent-filter> |
| 43 | <action android:name="android.intent.action.SHOW_ALARMS" /> |
| 44 | <category android:name="android.intent.category.DEFAULT" /> |
| 45 | </intent-filter> |
| 46 | <intent-filter> |
| 47 | <action android:name="android.intent.action.SET_ALARM" /> |
| 48 | <category android:name="android.intent.category.DEFAULT" /> |
| 49 | </intent-filter> |
| 50 | <intent-filter> |
| 51 | <action android:name="android.intent.action.SET_TIMER" /> |
| 52 | <category android:name="android.intent.category.DEFAULT" /> |
| 53 | </intent-filter> |
| 54 | </activity> |
| 55 | <receiver |
| 56 | android:name=".platform.TimerReceiver" |
| 57 | android:enabled="true" |
| 58 | android:exported="false" /> |
| 59 | <receiver |
| 60 | android:name=".platform.TimerActionReceiver" |
| 61 | android:enabled="true" |
| 62 | android:exported="false" /> |
| 63 | <receiver |
| 64 | android:name=".platform.StopwatchActionReceiver" |
| 65 | android:enabled="true" |
| 66 | android:exported="false" /> |
| 67 | <receiver |
| 68 | android:name=".platform.AlarmReceiver" |
| 69 | android:enabled="true" |
| 70 | android:directBootAware="true" |
| 71 | android:exported="false"> |
| 72 | </receiver> |
| 73 | <receiver |
| 74 | android:name=".platform.BootReceiver" |
| 75 | android:enabled="true" |
| 76 | android:directBootAware="true" |
| 77 | android:exported="true"> |
| 78 | <intent-filter> |
| 79 | <action android:name="android.intent.action.LOCKED_BOOT_COMPLETED" /> |
| 80 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 81 | <action android:name="android.intent.action.QUICKBOOT_POWERON" /> |
| 82 | </intent-filter> |
| 83 | </receiver> |
| 84 | <activity |
| 85 | android:name=".platform.AlarmActivity" |
| 86 | android:showWhenLocked="true" |
| 87 | android:turnScreenOn="true" |
| 88 | android:directBootAware="true" |
| 89 | android:lockTaskMode="if_whitelisted" |
| 90 | android:launchMode="singleInstance" /> |
| 91 | |
| 92 | <activity |
| 93 | android:name=".intents.SetAlarmIntent" |
| 94 | android:exported="true" |
| 95 | android:theme="@android:style/Theme.NoDisplay" |
| 96 | android:permission="com.vayunmathur.clock.permissions.ACCESS_CLOCK" /> |
| 97 | <activity |
| 98 | android:name=".intents.SetTimerIntent" |
| 99 | android:exported="true" |
| 100 | android:theme="@android:style/Theme.NoDisplay" |
| 101 | android:permission="com.vayunmathur.clock.permissions.ACCESS_CLOCK" /> |
| 102 | <service |
| 103 | android:name=".service.AlarmSoundService" |
| 104 | android:foregroundServiceType="mediaPlayback" |
| 105 | android:directBootAware="true" |
| 106 | android:exported="false" /> |
| 107 | <receiver |
| 108 | android:name=".widget.AnalogClockWidgetProvider" |
| 109 | android:exported="false" |
| 110 | android:label="@string/analog_clock_widget_label"> |
| 111 | <intent-filter> |
| 112 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 113 | </intent-filter> |
| 114 | <meta-data |
| 115 | android:name="android.appwidget.provider" |
| 116 | android:resource="@xml/analog_clock_widget_info" /> |
| 117 | </receiver> |
| 118 | </application> |
| 119 | </manifest> |