@@ -0,0 +1,835 @@
+package com.gem.xperiaxposed;%0A%0Aimport android.content.*;%0Aimport android.util.*;%0A%0Apublic class ListPreference extends android.preference.ListPreference%0A%7B%0A  private String enableDependentsState = null;%0A  %0A  public ListPreference(Context context, AttributeSet attrs)%0A  %7B%0A    super(context, attrs);%0A    if(attrs != null)%0A      enableDependentsState = attrs.getAttributeValue(null, %22enableDependentsState%22);%0A  %7D%0A  %0A  public ListPreference(Context context) %0A  %7B%0A    this(context, null);%0A  %7D%0A  %0A  public void setValue(String value)%0A  %7B%0A    super.setValue(value);%0A    setSummary(getEntry().toString());%0A    notifyDependencyChange(shouldDisableDependents());%0A  %7D%0A  %0A  public boolean shouldDisableDependents()%0A  %7B%0A    return super.shouldDisableDependents() %7C%7C ((enableDependentsState != null) && !enableDependentsState.equals(getValue()));%0A  %7D%0A%7D

Version 2.2