diff options
author | Kunhung Li <kunhungli@google.com> | 2020-02-27 09:53:31 +0800 |
---|---|---|
committer | Kunhung Li <kunhungli@google.com> | 2020-02-27 10:15:14 +0800 |
commit | a98c32e54b9b4bd234c2126f3d89e38637accb7d (patch) | |
tree | df25c2efc14f473980ed16fbd8e4fcf2bc8277cd | |
parent | 6bdaa5b3b9f3c3c48b22b04e6645ce3ee84d16db (diff) | |
download | android_packages_wallpapers_LivePicker-a98c32e54b9b4bd234c2126f3d89e38637accb7d.tar.gz android_packages_wallpapers_LivePicker-a98c32e54b9b4bd234c2126f3d89e38637accb7d.tar.bz2 android_packages_wallpapers_LivePicker-a98c32e54b9b4bd234c2126f3d89e38637accb7d.zip |
Don't allow landscape mode for preview Activity
Update screenOrientation to only support "portrait"
Bug: 150331478
Test: Manual
Change-Id: Ideed26873849a0be893cb61cb446d9ac76d61353
-rw-r--r-- | AndroidManifest.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 2792891..c483e64 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -39,6 +39,7 @@ android:label="@string/live_wallpaper_picker_label" android:theme="@style/LivePickerTheme" android:colorMode="wideColorGamut" + android:screenOrientation="portrait" android:hardwareAccelerated="true"> <intent-filter> <action android:name="android.service.wallpaper.LIVE_WALLPAPER_CHOOSER" /> @@ -52,6 +53,7 @@ <activity android:name="LiveWallpaperChange" android:label="@string/live_wallpaper_preview_title" android:colorMode="wideColorGamut" + android:screenOrientation="portrait" android:theme="@style/Preview"> <intent-filter> <action android:name="android.service.wallpaper.CHANGE_LIVE_WALLPAPER" /> @@ -62,6 +64,7 @@ <activity android:name="LiveWallpaperPreview" android:label="@string/live_wallpaper_preview_title" android:colorMode="wideColorGamut" + android:screenOrientation="portrait" android:theme="@style/Preview"/> </application> |