1<?xml version="1.0" encoding="utf-8"?> 2<manifest xmlns:android="http://schemas.android.com/apk/res/android" 3 package="com.android.wallpaperpicker" 4 android:versionCode="1" 5 android:versionName="1.0" 6 > 7 8 <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="23" /> 9 10 <uses-permission android:name="android.permission.SET_WALLPAPER" /> 11 12 <application> 13 14 <activity 15 android:name="com.android.wallpaperpicker.WallpaperPickerActivity" 16 android:theme="@style/WallpaperTheme.Picker" 17 android:label="@string/pick_wallpaper" 18 android:icon="@mipmap/ic_launcher_wallpaper" 19 android:finishOnCloseSystemDialogs="true"> 20 <intent-filter> 21 <action android:name="android.intent.action.SET_WALLPAPER" /> 22 <category android:name="android.intent.category.DEFAULT" /> 23 </intent-filter> 24 </activity> 25 26 <activity 27 android:name="com.android.wallpaperpicker.WallpaperCropActivity" 28 android:theme="@style/WallpaperTheme" 29 android:label="@string/crop_wallpaper" 30 android:icon="@mipmap/ic_launcher_wallpaper" 31 android:finishOnCloseSystemDialogs="true"> 32 <intent-filter> 33 <action android:name="android.service.wallpaper.CROP_AND_SET_WALLPAPER" /> 34 <category android:name="android.intent.category.DEFAULT" /> 35 <data android:mimeType="image/*" /> 36 </intent-filter> 37 </activity> 38 </application> 39</manifest> 40