| <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| package="org.lineageos.updater" |
| android:versionCode="1"> |
| |
| <uses-permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM" /> |
| <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| <uses-permission android:name="android.permission.INTERNET" /> |
| <uses-permission android:name="android.permission.REBOOT" /> |
| <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| <uses-permission android:name="android.permission.RECOVERY" /> |
| <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| |
| <application |
| android:allowBackup="false" |
| android:icon="@mipmap/ic_launcher" |
| android:label="@string/app_name" |
| android:requestLegacyExternalStorage="true" |
| android:supportsRtl="true" |
| android:theme="@style/AppTheme" |
| android:usesCleartextTraffic="false"> |
| |
| <activity |
| android:name=".UpdatesActivity" |
| android:excludeFromRecents="true" |
| android:label="@string/display_name" |
| android:exported="true" |
| android:theme="@style/AppTheme.NoActionBar" |
| android:launchMode="singleTop"> |
| <intent-filter android:priority="1"> |
| <action android:name="android.settings.SYSTEM_UPDATE_SETTINGS" /> |
| |
| <category android:name="android.intent.category.DEFAULT" /> |
| </intent-filter> |
| |
| <intent-filter> |
| <action android:name="android.intent.action.MAIN" /> |
| |
| <category android:name="com.android.settings.SHORTCUT" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| </intent-filter> |
| </activity> |
| |
| <service android:name=".controller.UpdaterService" /> |
| <service android:name=".ExportUpdateService" /> |
| |
| <receiver android:name=".UpdaterReceiver" android:exported="false"> |
| <intent-filter> |
| <action android:name="android.intent.action.BOOT_COMPLETED"/> |
| </intent-filter> |
| </receiver> |
| |
| <receiver android:name=".UpdatesCheckReceiver" android:exported="true"> |
| <intent-filter> |
| <action android:name="android.intent.action.BOOT_COMPLETED"/> |
| </intent-filter> |
| </receiver> |
| </application> |
| |
| </manifest> |