-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
王志昱
committed
Nov 12, 2019
1 parent
e11fed8
commit dc54b2a
Showing
4 changed files
with
30 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package test.itgungnir.permission | ||
|
||
import android.app.Application | ||
import com.squareup.leakcanary.LeakCanary | ||
|
||
/** | ||
* Description: | ||
* | ||
* Created by ITGungnir on 2019-11-12 | ||
*/ | ||
class App : Application() { | ||
|
||
override fun onCreate() { | ||
super.onCreate() | ||
if (LeakCanary.isInAnalyzerProcess(this)) { | ||
return | ||
} | ||
LeakCanary.install(this) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters