From 9bcc69131db19842c2712304fb5699418dae415a Mon Sep 17 00:00:00 2001 From: Joe Onorato Date: Mon, 10 Jan 2011 12:55:57 -0800 Subject: [PATCH] Partially revert "Conditionally remove Dock settings shortcut and Power control widget." This reverts commit 580c80f853747741ae74fbb6f670315077586208. So it turns out we won't have the ability to control the enabled flag from Configuration changes because the dependency is actually in the package manager. I'm reverting this change and going to do another one that just turns them off for all configurations, because honeycomb is just for tablets. Change-Id: I16b7b1e2d59a3a917448ce0361e3ce0fdd062a86 --- AndroidManifest.xml | 12 ++++++------ res/values-xlarge/bools.xml | 20 -------------------- res/values/bools.xml | 2 -- 3 files changed, 6 insertions(+), 28 deletions(-) delete mode 100644 res/values-xlarge/bools.xml diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 26181829a3d..ce70f872be5 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -452,8 +452,8 @@ + android:enabled="@bool/has_dock_settings" + android:clearTaskOnLaunch="true"> @@ -984,8 +984,7 @@ + android:finishOnCloseSystemDialogs="true"> @@ -1062,8 +1061,9 @@ android:theme="@android:style/Theme.Holo.DialogWhenLarge"/> + android:label="@string/gadget_title" + android:exported="false" + android:enabled="false"> diff --git a/res/values-xlarge/bools.xml b/res/values-xlarge/bools.xml deleted file mode 100644 index 55f496a6ad0..00000000000 --- a/res/values-xlarge/bools.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - false - diff --git a/res/values/bools.xml b/res/values/bools.xml index 235e2bb73c3..61cc79e97c0 100644 --- a/res/values/bools.xml +++ b/res/values/bools.xml @@ -20,6 +20,4 @@ false false - - true