New icon to dump heap information and share it.
Alternatively,
$ adb shell am start -n <pkg>/com.android.launcher3.MemoryDumpActivity
Change-Id: I8c615ec3abffaf6ad693c93bdf569550d8f97298
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index fa9938f..baf6990 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -110,6 +110,21 @@
android:resource="@xml/wallpaper_picker_preview" />
</activity>
+ <!-- Debugging tools -->
+ <activity
+ android:name="com.android.launcher3.MemoryDumpActivity"
+ android:theme="@android:style/Theme.NoDisplay"
+ android:label="@string/debug_memory_activity"
+ android:enabled="@bool/debug_memory_enabled"
+ android:icon="@null"
+ >
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+
<!-- Intent received used to prepopulate the default workspace. -->
<receiver
android:name="com.android.launcher3.PreloadReceiver"