aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-03-26 14:56:00 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-03-26 14:56:13 -0600
commit90bbd86041f0bf073b2efd1ffaa3ff293afdfd62 (patch)
tree4a87f7ae54846038df27efd765e45958497a9b44
parentLogViewerActivity: set a separate title (diff)
downloadwireguard-android-90bbd86041f0bf073b2efd1ffaa3ff293afdfd62.tar.xz
wireguard-android-90bbd86041f0bf073b2efd1ffaa3ff293afdfd62.zip
LogViewerActivity: constify request
-rw-r--r--ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt b/ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt
index c94bba8d..4ecda189 100644
--- a/ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt
+++ b/ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt
@@ -242,7 +242,7 @@ class LogViewerActivity : AppCompatActivity() {
*/
private val THREADTIME_LINE: Pattern = Pattern.compile("^(\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}.\\d{3})(?:\\s+[0-9A-Za-z]+)?\\s+(\\d+)\\s+(\\d+)\\s+([A-Z])\\s+(.+?)\\s*: (.*)$")
private val LOGS: MutableMap<String, ByteArray> = ConcurrentHashMap()
- private var SHARE_ACTIVITY_REQUEST = 49133
+ private const val SHARE_ACTIVITY_REQUEST = 49133
}
private inner class LogEntryAdapter : RecyclerView.Adapter<LogEntryAdapter.ViewHolder>() {