Skip to content

Commit e9ad0d9

Browse files
hui.zhaohui.zhao
authored andcommitted
Merge branch 'develop' of https://github.com/Kyson/AndroidGodEye into develop
2 parents 220369d + f28c555 commit e9ad0d9

12 files changed

Lines changed: 23 additions & 25 deletions

File tree

ART/android_god_eye_connect.jpg

-68.4 KB
Loading

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ It is divided into 3 parts:
4343
|CPU|Cpu info of device and app|
4444
|BATTERY|Battery info|
4545
|FPS|Fps info|
46-
|LEAK|Detect memory leak|
46+
|LEAK_CANARY|Memory leak detector base on LeakCanary and Shark|
4747
|HEAP|Heap memory|
4848
|PSS|Pss|
4949
|RAM|Ram|

README_zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ AndroidGodEye是一个可以在PC浏览器中实时监控Android性能数据指
4343
|CPU|手机和App Cpu检测|
4444
|BATTERY|电池检测|
4545
|FPS|帧率检测|
46-
|LEAK|内存泄漏检测|
46+
|LEAK_CANARY|基于LeakCanary和shark的内存泄漏检测|
4747
|HEAP|运行堆内存占用检测|
4848
|PSS|实际物理共享内存占用检测|
4949
|RAM|手机内存|

android-godeye-sample/proguard-rules.pro

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@
1919
# If you keep the line number information, uncomment this to
2020
# hide the original source file name.
2121
#-renamesourcefileattribute SourceFile
22-
23-
-dontwarn okio.**
24-
-dontwarn com.squareup.okhttp3.**
25-
-keep class com.squareup.okhttp3.** { *; }
26-
-keep interface com.squareup.okhttp3.** { *; }
2722
-dontwarn javax.annotation.**
2823
-dontwarn org.codehaus.**
2924
-dontwarn org.conscrypt.**
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-dontwarn leakcanary.**
2+
-keep class leakcanary.**
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-dontwarn okio.**
2+
-dontwarn com.squareup.okhttp3.**
3+
-keep class com.squareup.okhttp3.** { *; }
4+
-keep interface com.squareup.okhttp3.** { *; }

android-godeye/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ android {
1313
versionName "1.0"
1414

1515
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
16+
consumerProguardFiles 'consumer-rules.pro'
1617
}
1718
compileOptions {
1819
targetCompatibility = "8"

android-godeye/consumer-rules.pro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-dontwarn leakcanary.**
2+
-dontwarn okio.**
3+
-keep class leakcanary.**

android-godeye/proguard-rules.pro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@
1919
# If you keep the line number information, uncomment this to
2020
# hide the original source file name.
2121
#-renamesourcefileattribute SourceFile
22+

android-godeye/src/main/AndroidManifest.xml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,6 @@
1313
android:exported="false"
1414
android:multiprocess="true" />
1515

16-
<!-- <receiver-->
17-
<!-- android:name=".internal.modules.leakdetector.debug.LeakOutputReceiver"-->
18-
<!-- android:enabled="true"-->
19-
<!-- android:exported="false">-->
20-
<!-- <intent-filter>-->
21-
<!-- <action android:name="com.ctrip.ibu.leakcanary.output.start" />-->
22-
<!-- <action android:name="com.ctrip.ibu.leakcanary.output.progress" />-->
23-
<!-- <action android:name="com.ctrip.ibu.leakcanary.output.retry" />-->
24-
<!-- <action android:name="com.ctrip.ibu.leakcanary.output.done" />-->
25-
<!-- </intent-filter>-->
26-
<!-- </receiver>-->
27-
28-
<service
29-
android:name=".internal.modules.leakdetector.debug.DebugHeapAnalyzerService"
30-
android:enabled="false"
31-
android:process=":leakcanary" />
32-
3316
<service
3417
android:name=".internal.notification.LocalNotificationListenerService"
3518
android:enabled="true"

0 commit comments

Comments
 (0)