OmniGears: add hook to start MatLog
Change-Id: Icd72151eeab4732fc0e8e7821553cd25a4ef6974
diff --git a/res/values/custom_strings.xml b/res/values/custom_strings.xml
index 584f09a..024615f 100644
--- a/res/values/custom_strings.xml
+++ b/res/values/custom_strings.xml
@@ -595,4 +595,7 @@
<string name="SHORT_MIN_LIGHT_MAINTENANCE_TIME">Maintenance mode light doze min timeout</string>
<string name="SHORT_MIN_DEEP_MAINTENANCE_TIME">Maintenance mode full doze min timeout</string>
<string name="SHORT_KEY_NOTIFICATION_WHITELIST_DURATION">Max notification whitelist duration</string>
+
+ <string name="logcat_app_title">MatLog</string>
+ <string name="logcat_app_summary">Start app to collect logs</string>
</resources>
diff --git a/res/xml/more_settings.xml b/res/xml/more_settings.xml
index 0c08876..8bcd8d8 100644
--- a/res/xml/more_settings.xml
+++ b/res/xml/more_settings.xml
@@ -84,5 +84,15 @@
android:key="show_cpu"
android:title="@string/show_cpu_title"
android:summary="@string/show_cpu_summary" />
+
+ <PreferenceScreen
+ android:key="logcat_app"
+ android:title="@string/logcat_app_title"
+ android:summary="@string/logcat_app_summary"
+ android:persistent="false" >
+ <intent android:action="android.intent.action.MAIN"
+ android:targetPackage="org.omnirom.logcat"
+ android:targetClass="com.pluscubed.logcat.ui.LogcatActivity" />
+ </PreferenceScreen>
</PreferenceCategory>
</PreferenceScreen>