summaryrefslogtreecommitdiffstats
path: root/core/java/android/preference/PreferenceScreen.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android/preference/PreferenceScreen.java')
-rw-r--r--core/java/android/preference/PreferenceScreen.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/preference/PreferenceScreen.java b/core/java/android/preference/PreferenceScreen.java
index 95e5432..f34f4a3 100644
--- a/core/java/android/preference/PreferenceScreen.java
+++ b/core/java/android/preference/PreferenceScreen.java
@@ -136,7 +136,7 @@ public final class PreferenceScreen extends PreferenceGroup implements AdapterVi
@Override
protected void onClick() {
- if (getIntent() != null || getPreferenceCount() == 0) {
+ if (getIntent() != null || getFragment() != null || getPreferenceCount() == 0) {
return;
}