mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-18 13:49:53 +01:00
Hide testing preferences in release builds.
This commit is contained in:
@@ -157,6 +157,8 @@ public class SettingsFragment extends PreferenceFragmentCompat
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
findPreference("pref_key_explode").setVisible(false);
|
||||||
|
findPreference("pref_key_test_data").setVisible(false);
|
||||||
PreferenceGroup testing =
|
PreferenceGroup testing =
|
||||||
findPreference("pref_key_explode").getParent();
|
findPreference("pref_key_explode").getParent();
|
||||||
if (testing == null) throw new AssertionError();
|
if (testing == null) throw new AssertionError();
|
||||||
|
|||||||
Reference in New Issue
Block a user