Remove action bar from wallpaper picker
Bug: 5295678
Change-Id: I50bb4bee3d9d54f28ef4a46ed9754701045d38c7
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index d0ca53e..05838a6 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -85,7 +85,7 @@
<activity
android:name="com.android.launcher2.WallpaperChooser"
- style="@style/Theme.WallpaperPicker"
+ android:theme="@style/Theme.WallpaperPicker"
android:label="@string/pick_wallpaper"
android:icon="@drawable/ic_launcher_wallpaper"
android:finishOnCloseSystemDialogs="true"
diff --git a/res/values/styles.xml b/res/values/styles.xml
index fed4194..0960269 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -18,8 +18,7 @@
-->
<resources>
- <style name="Theme.WallpaperPicker">
- <item name="android:screenOrientation">nosensor</item>
+ <style name="Theme.WallpaperPicker" parent="@android:style/Theme.Holo.NoActionBar">
</style>
<style name="Theme" parent="@android:style/Theme.Holo.Wallpaper.NoTitleBar">