Commit 651e0b98 authored by akwizgran's avatar akwizgran

Hide testing preferences in release builds.

parent 97f4cd03
Pipeline #1552 passed with stage
in 9 minutes and 10 seconds
......@@ -157,6 +157,8 @@ public class SettingsFragment extends PreferenceFragmentCompat
}
);
} else {
findPreference("pref_key_explode").setVisible(false);
findPreference("pref_key_test_data").setVisible(false);
PreferenceGroup testing =
findPreference("pref_key_explode").getParent();
if (testing == null) throw new AssertionError();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment