Fix issue #22460110: AssistStructure.ViewNode.isAssistBlocked() always...

...returns true

Well it wasn't *quite* always, but close enough. :p

Change-Id: I990b8b2ca7b80ce68a067b0dd92efc1c2faaa8cd
This commit is contained in:
Dianne Hackborn
2015-07-15 11:25:55 -07:00
parent 1d4247c4cc
commit fcbfeaf069

View File

@@ -812,7 +812,7 @@ public class AssistStructure implements Parcelable {
* Returns true if assist data has been blocked starting at this node in the hierarchy.
*/
public boolean isAssistBlocked() {
return (mFlags&ViewNode.FLAGS_ASSIST_BLOCKED) == 0;
return (mFlags&ViewNode.FLAGS_ASSIST_BLOCKED) != 0;
}
/**