diff options
author | Shuhrat Dehkanov <uzbmaster@gmail.com> | 2012-04-23 01:59:56 +0900 |
---|---|---|
committer | Shuhrat Dehkanov <uzbmaster@gmail.com> | 2012-04-23 01:59:56 +0900 |
commit | 7dc567af052b2c1d701700f250657766802b536f (patch) | |
tree | e6a46a12df390606a3a1cae9db195747ec1b4cb8 /src/com/android/settings/Utils.java | |
parent | b0362b1bb0a3288c8de2cd8d0e5efd44ec1a831e (diff) | |
download | packages_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.java | 2 |
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; } /** |