OSDN Git Service
(root)
/
android-x86
/
packages-apps-Settings.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0362b1
)
Corrected return value for updatePreferenceToSpecificActivityOrRemove method
author
Shuhrat Dehkanov
<uzbmaster@gmail.com>
Sun, 22 Apr 2012 16:59:56 +0000
(
01:59
+0900)
committer
Shuhrat Dehkanov
<uzbmaster@gmail.com>
Sun, 22 Apr 2012 16:59:56 +0000
(
01:59
+0900)
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>
src/com/android/settings/Utils.java
patch
|
blob
|
history
diff --git
a/src/com/android/settings/Utils.java
b/src/com/android/settings/Utils.java
index
f28500e
..
582891d
100644
(file)
--- 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
tru
e;
+ return
fals
e;
}
/**