-Added debug preference settings for debug and beta builds.
-Removed leak canary toggle on app menu. -Added leak canary settings to debug preference. -Removed/renamed leak canary related strings.
This commit is contained in:
parent
c1a302834c
commit
e8402008bc
14 changed files with 48 additions and 76 deletions
13
app/src/main/res/xml/debug_settings.xml
Normal file
13
app/src/main/res/xml/debug_settings.xml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:key="general_preferences"
|
||||
android:title="@string/settings_category_debug_title">
|
||||
|
||||
<SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="@string/allow_heap_dumping_key"
|
||||
android:title="@string/enable_leak_canary_title"
|
||||
android:summary="@string/enable_leak_canary_summary"/>
|
||||
|
||||
</PreferenceScreen>
|
||||
Loading…
Add table
Add a link
Reference in a new issue