-Added toggle for enabling leak canary heap dump.
This commit is contained in:
parent
622d698ff8
commit
829059ea01
7 changed files with 79 additions and 2 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue