Align "from code" parent-child preference flow with "from XML"

Add setDependency() call to make "from code" parent-child
behavior matched the "from XML" one.

Change-Id: I9e19a8bd16f69fb3101928831831103719a03a04
Signed-off-by: Joseph Judistira <joseph.judistira@gmail.com>
1 file changed