[tor-commits] [snowflake-mobile/master] Added leakcanary library

cohosh at torproject.org cohosh at torproject.org
Tue Jun 2 13:41:54 UTC 2020


commit 95950e24afd076cbdf6f15c89baa68f4abb13d51
Author: Hashik Donthineni <HashikDonthineni at gmail.com>
Date:   Mon Jun 1 14:39:08 2020 +0530

    Added leakcanary library
---
 .idea/misc.xml                      | 2 +-
 app/build.gradle                    | 3 +++
 app/src/main/res/values/strings.xml | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/.idea/misc.xml b/.idea/misc.xml
index 37a7509..7bfef59 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project version="4">
-  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
     <output url="file://$PROJECT_DIR$/build/classes" />
   </component>
   <component name="ProjectType">
diff --git a/app/build.gradle b/app/build.gradle
index dadaf2d..113f2a2 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -47,4 +47,7 @@ dependencies {
 
     //WebRTC Android
     implementation 'org.webrtc:google-webrtc:1.0.30039'
+
+    // debugImplementation because LeakCanary should only run in debug builds.
+    debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.3'
 }
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 2b27d34..a10296e 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -1,3 +1,3 @@
 <resources>
-    <string name="app_name">Snowflake-mobile</string>
+    <string name="app_name">Snowflake</string>
 </resources>



More information about the tor-commits mailing list