We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 537e903 commit 1e72749Copy full SHA for 1e72749
blockcanary-analyzer/src/main/java/com/github/moduth/blockcanary/BlockCanaryInternals.java
@@ -124,7 +124,7 @@ static String getPath() {
124
&& Environment.getExternalStorageDirectory().canWrite()) {
125
return Environment.getExternalStorageDirectory().getPath() + logPath;
126
}
127
- return Environment.getDataDirectory().getAbsolutePath() + BlockCanaryInternals.getContext().providePath();
+ return getContext().provideContext().getFilesDir() + BlockCanaryInternals.getContext().providePath();
128
129
130
static File detectedBlockDirectory() {
0 commit comments