aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/src/main
diff options
context:
space:
mode:
authorMarvin Borner2018-09-03 01:47:56 +0200
committerMarvin Borner2018-09-03 01:47:56 +0200
commit7fe328e982570e5dfe2141ca0357c59572f2288a (patch)
tree89647114a43ed97085d7f5c463eba9a3b6d14219 /app/src/main
parent06f713b5ee38b93ca33aec46d86c92865d3c8e4c (diff)
Began bug reporting
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/AndroidManifest.xml1
-rw-r--r--app/src/main/java/me/texx/Texx/BugReportActivity.kt15
2 files changed, 16 insertions, 0 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 753026a..5590ee2 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -46,6 +46,7 @@
<activity android:name=".CameraActivity" />
<activity android:name=".PhotoEditorActivity" />
<activity android:name=".IntroActivity" />
+ <activity android:name=".BugReportActivity"></activity>
</application>
</manifest> \ No newline at end of file
diff --git a/app/src/main/java/me/texx/Texx/BugReportActivity.kt b/app/src/main/java/me/texx/Texx/BugReportActivity.kt
new file mode 100644
index 0000000..43e90b9
--- /dev/null
+++ b/app/src/main/java/me/texx/Texx/BugReportActivity.kt
@@ -0,0 +1,15 @@
+package me.texx.Texx
+
+import android.os.Bundle
+import com.github.paolorotolo.gitty_reporter.GittyReporter
+
+class BugReportActivity : GittyReporter() {
+ override fun init(savedInstanceState: Bundle) {
+ setTargetRepository("texxme", "Texx-Android")
+ setGuestOAuth2Token("f4f048af0e3f2d36e78b98452d3398fb8c051088")
+ enableUserGitHubLogin(false)
+ enableGuestGitHubLogin(true)
+ setExtraInfo("Example string")
+ canEditDebugInfo(false)
+ }
+}