|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<!-- |
| 3 | + Copyright 2023 teogor (Teodor Grigor) |
| 4 | +
|
| 5 | + Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | + you may not use this file except in compliance with the License. |
| 7 | + You may obtain a copy of the License at |
| 8 | +
|
| 9 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +
|
| 11 | + Unless required by applicable law or agreed to in writing, software |
| 12 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | + See the License for the specific language governing permissions and |
| 15 | + limitations under the License. |
| 16 | +--> |
| 17 | +<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | + xmlns:tools="http://schemas.android.com/tools"> |
| 19 | + |
| 20 | + <!-- STORAGE --> |
| 21 | + <uses-permission |
| 22 | + android:name="android.permission.READ_EXTERNAL_STORAGE" |
| 23 | + tools:node="remove" /> |
| 24 | + <uses-permission |
| 25 | + android:name="android.permission.WRITE_EXTERNAL_STORAGE" |
| 26 | + android:maxSdkVersion="28" |
| 27 | + tools:node="remove" /> |
| 28 | + <uses-permission |
| 29 | + android:name="android.permission.MANAGE_EXTERNAL_STORAGE" |
| 30 | + tools:ignore="ScopedStorage" |
| 31 | + tools:node="remove" /> |
| 32 | + |
| 33 | + <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| 34 | + <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
| 35 | + <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| 36 | + <uses-permission android:name="android.permission.VIBRATE" /> |
| 37 | + <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> |
| 38 | + <uses-permission android:name="android.permission.INTERNET" /> |
| 39 | + <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| 40 | + <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> |
| 41 | + |
| 42 | + <uses-permission android:name="android.permission.SET_WALLPAPER" /> |
| 43 | + <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" /> |
| 44 | + |
| 45 | + <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> |
| 46 | + <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| 47 | + |
| 48 | + <uses-feature |
| 49 | + android:name="android.hardware.sensor.gyroscope" |
| 50 | + android:required="false" /> |
| 51 | + <uses-feature |
| 52 | + android:name="android.hardware.sensor.accelerometer" |
| 53 | + android:required="false" /> |
| 54 | + |
| 55 | + <uses-feature |
| 56 | + android:name="android.software.live_wallpaper" |
| 57 | + android:required="true" /> |
| 58 | + |
| 59 | + <!--Unity--> |
| 60 | + <uses-feature android:glEsVersion="0x00030000" /> |
| 61 | + <uses-feature |
| 62 | + android:name="android.hardware.touchscreen" |
| 63 | + android:required="false" /> |
| 64 | + <uses-feature |
| 65 | + android:name="android.hardware.touchscreen.multitouch" |
| 66 | + android:required="false" /> |
| 67 | + <uses-feature |
| 68 | + android:name="android.hardware.touchscreen.multitouch.distinct" |
| 69 | + android:required="false" /> |
| 70 | + <uses-feature |
| 71 | + android:name="android.software.leanback" |
| 72 | + android:required="false" /> |
| 73 | + |
| 74 | + <application |
| 75 | + android:allowBackup="true" |
| 76 | + android:dataExtractionRules="@xml/data_extraction_rules" |
| 77 | + android:fullBackupContent="@xml/backup_rules" |
| 78 | + android:icon="@mipmap/ic_launcher" |
| 79 | + android:label="@string/app_name" |
| 80 | + android:roundIcon="@mipmap/ic_launcher_round" |
| 81 | + android:supportsRtl="true" |
| 82 | + android:theme="@style/Theme.UnityView" |
| 83 | + tools:targetApi="31"> |
| 84 | + |
| 85 | + <activity |
| 86 | + android:name=".MainActivity" |
| 87 | + android:exported="true" |
| 88 | + android:label="@string/app_name" |
| 89 | + android:theme="@style/Theme.UnityView"> |
| 90 | + <intent-filter> |
| 91 | + <action android:name="android.intent.action.MAIN" /> |
| 92 | + |
| 93 | + <category android:name="android.intent.category.LAUNCHER" /> |
| 94 | + </intent-filter> |
| 95 | + |
| 96 | + <meta-data |
| 97 | + android:name="unityplayer.UnityActivity" |
| 98 | + android:value="true" /> |
| 99 | + <meta-data |
| 100 | + android:name="android.notch_support" |
| 101 | + android:value="true" /> |
| 102 | + </activity> |
| 103 | + |
| 104 | + <service |
| 105 | + android:name="dev.teogor.drifter.wallpaper.UnityWallpaperService" |
| 106 | + android:enabled="true" |
| 107 | + android:exported="true" |
| 108 | + android:label="Live Wallpaper ZeoOwl" |
| 109 | + android:permission="android.permission.BIND_WALLPAPER"> |
| 110 | + <intent-filter> |
| 111 | + <action android:name="android.service.wallpaper.WallpaperService" /> |
| 112 | + </intent-filter> |
| 113 | + <meta-data |
| 114 | + android:name="android.service.wallpaper" |
| 115 | + android:resource="@xml/wallpaper" /> |
| 116 | + </service> |
| 117 | + </application> |
| 118 | + |
| 119 | +</manifest> |
0 commit comments