Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 52a50782 authored by Daisuke Miyakawa's avatar Daisuke Miyakawa
Browse files

Make the doc for PreferenceScreen aware of PreferenceFragment.

This class has existed from before, so the doc does not mention
PreferenceFragment but only PreferenceActivity, while actually
the class can be used via PreferenceFragment.

Change-Id: Ie3756f7ff260cff829eff31a6ba99260c681bc2d
parent aba18852
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -91,7 +91,8 @@ public final class PreferenceScreen extends PreferenceGroup implements AdapterVi

    /**
     * Returns an adapter that can be attached to a {@link PreferenceActivity}
     * to show the preferences contained in this {@link PreferenceScreen}.
     * or {@link PreferenceFragment} to show the preferences contained in this
     * {@link PreferenceScreen}.
     * <p>
     * This {@link PreferenceScreen} will NOT appear in the returned adapter, instead
     * it appears in the hierarchy above this {@link PreferenceScreen}.