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>
This commit is contained in:
@@ -124,7 +124,7 @@ public class Utils {
|
||||
// Did not find a matching activity, so remove the preference
|
||||
parentPreferenceGroup.removePreference(preference);
|
||||
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user