From 7dc567af052b2c1d701700f250657766802b536f Mon Sep 17 00:00:00 2001 From: Shuhrat Dehkanov Date: Mon, 23 Apr 2012 01:59:56 +0900 Subject: Corrected return value for updatePreferenceToSpecificActivityOrRemove method Returned value should be false if preference is removed or was already deleted/missing. Change-Id: I2a48bd8e0f5a82b76b60b2d11fac2305f0e27eed Signed-off-by: Shuhrat Dehkanov --- src/com/android/settings/Utils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/android/settings/Utils.java') diff --git a/src/com/android/settings/Utils.java b/src/com/android/settings/Utils.java index f28500e24..582891d53 100644 --- a/src/com/android/settings/Utils.java +++ b/src/com/android/settings/Utils.java @@ -124,7 +124,7 @@ public class Utils { // Did not find a matching activity, so remove the preference parentPreferenceGroup.removePreference(preference); - return true; + return false; } /** -- cgit v1.2.3