OSDN Git Service

Ensure that deletion hook is only run on valid parents. DO NOT MERGE.
authorTor Norbye <tnorbye@google.com>
Sat, 1 Oct 2011 04:00:43 +0000 (21:00 -0700)
committerTor Norbye <tnorbye@google.com>
Mon, 3 Oct 2011 23:27:46 +0000 (16:27 -0700)
commit22b38a190fa658924a665989d99dc508d3e88739
tree525bd231de98813a66fae470b510512759432b54
parent390b825e915b0c37825d2f3941197bd3abe3394b
Ensure that deletion hook is only run on valid parents. DO NOT MERGE.

There's now a "deletion hook" for ViewRules where they get a chance to
clean up after a set of children have been deleted. This changeset
guards against the case where the parent reference was null.

Change-Id: Ib2cfd0543ff55726ff488b57262267f610373639
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ClipboardSupport.java