summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/Utils.java
diff options
context:
space:
mode:
authorShuhrat Dehkanov <uzbmaster@gmail.com>2012-04-23 01:59:56 +0900
committerShuhrat Dehkanov <uzbmaster@gmail.com>2012-04-23 01:59:56 +0900
commit7dc567af052b2c1d701700f250657766802b536f (patch)
treee6a46a12df390606a3a1cae9db195747ec1b4cb8 /src/com/android/settings/Utils.java
parentb0362b1bb0a3288c8de2cd8d0e5efd44ec1a831e (diff)
downloadpackages_apps_Settings-7dc567af052b2c1d701700f250657766802b536f.tar.gz
packages_apps_Settings-7dc567af052b2c1d701700f250657766802b536f.tar.bz2
packages_apps_Settings-7dc567af052b2c1d701700f250657766802b536f.zip
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 <uzbmaster@gmail.com>
Diffstat (limited to 'src/com/android/settings/Utils.java')
-rw-r--r--src/com/android/settings/Utils.java2
1 files changed, 1 insertions, 1 deletions
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;
}
/**