Files
bzForGk2/app/src/main/AndroidManifest.xml
T

93 lines
3.6 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- 权限声明 -->
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"
android:maxSdkVersion="32" />
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
<uses-permission android:name="android.permission.SET_WALLPAPER" />
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.BzForGk2">
<!-- Main Activity -->
<activity
android:name=".ui.MainActivity"
android:exported="true"
android:theme="@style/Theme.BzForGk2">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- Wallpaper Service -->
<service
android:name=".wallpaper.AutoWallpaperService"
android:description="@string/wallpaper_description"
android:enabled="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:permission="android.permission.BIND_WALLPAPER"
android:exported="true">
<intent-filter>
<action android:name="android.service.wallpaper.WallpaperService" />
</intent-filter>
<meta-data
android:name="android.service.wallpaper"
android:resource="@xml/wallpaper_info" />
</service>
<!-- Broadcast Receiver for wallpaper changes -->
<receiver
android:name=".receiver.WallpaperChangeReceiver"
android:enabled="true"
android:exported="false">
<intent-filter>
<action android:name="cn.hugh.bz.gk2.ACTION_CHANGE_WALLPAPER" />
</intent-filter>
</receiver>
<!-- Broadcast Receiver for cache scanning -->
<receiver
android:name=".receiver.CacheScanReceiver"
android:enabled="true"
android:exported="false">
<intent-filter>
<action android:name="cn.hugh.bz.gk2.ACTION_SCAN_CACHE" />
</intent-filter>
</receiver>
<!-- Album Editor Activity -->
<activity
android:name=".ui.AlbumEditorActivity"
android:exported="false"
android:theme="@style/Theme.BzForGk2" />
<!-- Media Preview Activity -->
<activity
android:name=".ui.MediaPreviewActivity"
android:exported="false"
android:theme="@style/Theme.BzForGk2"
android:configChanges="orientation|screenSize|keyboardHidden" />
2026-02-04 11:27:31 +08:00
<!-- Slideshow Player Activity -->
<activity
android:name=".ui.SlideshowPlayerActivity"
android:exported="false"
android:theme="@style/Theme.AppCompat.NoActionBar"
android:screenOrientation="portrait"
android:configChanges="orientation|screenSize|keyboardHidden" />
</application>
</manifest>