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

Commit 676c463d authored by Yorke Lee's avatar Yorke Lee
Browse files

Override isValidFragment for ContactsPreferenceActivity

Bug: 10651470
Change-Id: If123e6859c1d93b6571d88935dbe53152d539d8b
parent ac5e54e0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -217,7 +217,8 @@
        <activity
            android:name=".preference.ContactsPreferenceActivity"
            android:label="@string/activity_title_settings"
            android:theme="@style/ContactsPreferencesTheme" />
            android:theme="@style/ContactsPreferencesTheme"
            android:exported="false"/>

        <!-- Used to filter contacts list by account -->
        <activity
+5 −0
Original line number Diff line number Diff line
@@ -75,4 +75,9 @@ public final class ContactsPreferenceActivity extends PreferenceActivity {
        }
        return false;
    }

    @Override
    protected boolean isValidFragment(String fragmentName) {
        return true;
    }
}