Fix Broken PreferenceWithHeadersTest

Bug 6199618

- The XML was trying to inflate fragments from the examples project.
- Make the PrefsOneFragment static so it can be instantiated properly.

Change-Id: Iae966deb60cb385c349f4700628cea62cd370eb9
diff --git a/development/ide/eclipse/.classpath b/development/ide/eclipse/.classpath
index e24e988..6f5bc69 100644
--- a/development/ide/eclipse/.classpath
+++ b/development/ide/eclipse/.classpath
@@ -52,6 +52,7 @@
     <classpathentry kind="src" path="cts/tests/tests/permission/src"/>
     <classpathentry kind="src" path="cts/tests/tests/permission2/src"/>
     <classpathentry kind="src" path="cts/tests/tests/preference/src"/>
+    <classpathentry kind="src" path="cts/tests/tests/preference2/src"/>
     <classpathentry kind="src" path="cts/tests/tests/provider/src"/>
     <classpathentry kind="src" path="cts/tests/tests/renderscript/src"/>
     <classpathentry kind="src" path="cts/tests/tests/security/src"/>