solve merge conflict
This commit is contained in:
commit
8adca3725d
8 changed files with 132 additions and 0 deletions
12
app/src/main/res/menu/debug_menu.xml
Normal file
12
app/src/main/res/menu/debug_menu.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item android:id="@+id/action_toggle_heap_dump"
|
||||
android:orderInCategory="9999"
|
||||
android:checkable="true"
|
||||
android:title="@string/toggle_leak_canary"
|
||||
android:visible="true"
|
||||
app:showAsAction="never"/>
|
||||
|
||||
</menu>
|
||||
|
|
@ -83,6 +83,9 @@
|
|||
|
||||
<string name="last_orientation_landscape_key" translatable="false">last_orientation_landscape_key</string>
|
||||
|
||||
<!-- DEBUG ONLY -->
|
||||
<string name="allow_heap_dumping_key" translatable="false">allow_heap_dumping_key</string>
|
||||
|
||||
<!-- THEMES -->
|
||||
<string name="theme_key" translatable="false">theme</string>
|
||||
<string name="light_theme_key" translatable="false">light_theme</string>
|
||||
|
|
|
|||
|
|
@ -410,4 +410,8 @@
|
|||
<string name="normal_caption_font_size">Normal Font</string>
|
||||
<string name="larger_caption_font_size">Larger Font</string>
|
||||
|
||||
<!-- Debug Only -->
|
||||
<string name="toggle_leak_canary">Monitor Leaks</string>
|
||||
<string name="enable_leak_canary_notice">Memory leak monitoring enabled, app may become unresponsive when heap dumping</string>
|
||||
<string name="disable_leak_canary_notice">Memory leak monitoring disabled</string>
|
||||
</resources>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue