diff --git a/packages/apps/ThemePicker/AndroidManifest.xml b/packages/apps/ThemePicker/AndroidManifest.xml
index ee332c7..9d03681 100755
--- a/packages/apps/ThemePicker/AndroidManifest.xml
+++ b/packages/apps/ThemePicker/AndroidManifest.xml
@@ -59,7 +59,7 @@
android:label="@string/app_name"
android:resizeableActivity="false"
android:theme="@style/CustomizationTheme.NoActionBar"
- android:screenOrientation="portrait"
+ android:screenOrientation="unspecified"
android:exported="false"/>
<!-- UNISOC: Add for Bug 1693259, add the portrait for wallpaper. -->
@@ -67,7 +67,7 @@
android:name="com.android.customization.picker.CustomizationPickerActivity"
android:targetActivity="com.android.wallpaper.picker.CustomizationPickerActivity"
android:label="@string/app_name"
- android:screenOrientation="portrait"
+ android:screenOrientation="unspecified"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.SET_WALLPAPER"/>
diff --git a/packages/apps/WallpaperPicker2/AndroidManifest.xml b/packages/apps/WallpaperPicker2/AndroidManifest.xml
index 1aa905b..4fe740c 100755
--- a/packages/apps/WallpaperPicker2/AndroidManifest.xml
+++ b/packages/apps/WallpaperPicker2/AndroidManifest.xml
@@ -48,7 +48,7 @@
</intent>
</queries>
-<!-- UNISOC: Add for Bug 1693259, add the portrait for wallpaper. -->
+<!-- UNISOC: Add for Bug 1693259, add the unspecified for wallpaper. -->
<application
tools:replace="android:icon,android:name,android:appComponentFactory"
android:appComponentFactory="androidx.core.app.CoreComponentFactory"
@@ -67,7 +67,7 @@
android:label="@string/app_name"
android:theme="@style/WallpaperTheme.NoBackground"
android:resizeableActivity="false"
- android:screenOrientation="portrait"
+ android:screenOrientation="unspecified"
android:exported="false">
</activity>
@@ -75,7 +75,7 @@
android:label="@string/app_name"
android:resizeableActivity="false"
android:theme="@style/WallpaperTheme.NoBackground"
- android:screenOrientation="portrait"
+ android:screenOrientation="unspecified"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.SET_WALLPAPER"/>
@@ -101,7 +101,7 @@
android:name="com.android.wallpaper.picker.CategoryPickerActivity"
android:targetActivity="com.android.wallpaper.picker.CustomizationPickerActivity"
android:label="@string/app_name"
- android:screenOrientation="portrait"
+ android:screenOrientation="unspecified"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
@@ -112,20 +112,20 @@
android:label="@string/app_name"
android:theme="@style/WallpaperTheme"
android:resizeableActivity="false"
- android:screenOrientation="portrait"
+ android:screenOrientation="unspecified"
android:parentActivityName="com.android.wallpaper.picker.TopLevelPickerActivity">
</activity>
<activity android:name="com.android.wallpaper.picker.PreviewActivity"
android:resizeableActivity="false"
- android:screenOrientation="portrait"
+ android:screenOrientation="unspecified"
android:theme="@style/WallpaperTheme.Preview">
</activity>
<activity android:name="com.android.wallpaper.picker.StandalonePreviewActivity"
android:resizeableActivity="false"
android:theme="@style/WallpaperTheme.Preview"
- android:screenOrientation="portrait"
+ android:screenOrientation="unspecified"
android:exported="true">
<intent-filter>
<action android:name="android.service.wallpaper.CROP_AND_SET_WALLPAPER"/>
@@ -136,7 +136,7 @@
<activity android:name="com.android.wallpaper.picker.ViewOnlyPreviewActivity"
android:resizeableActivity="false"
- android:screenOrientation="portrait"
+ android:screenOrientation="unspecified"
android:theme="@style/WallpaperTheme.Preview">
</activity>
</application>
Android 12 设置壁纸页面改为支持横竖屏切换
于 2022-08-03 20:23:20 首次发布