Skip to content

Commit

Permalink
Fix ./gradlew build
Browse files Browse the repository at this point in the history
Reviewed By: erikandre

Differential Revision: D8858886

fbshipit-source-id: 44e8536369a43ea3271380c84f9541b41a4e9549
  • Loading branch information
defHLT authored and facebook-github-bot committed Jul 16, 2018
1 parent b15b642 commit 126de45
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ public void flush() {
if (mStringBuilder.length() > 127) {
mStringBuilder.setLength(127);
}
Trace.beginSection(mStringBuilder.toString());
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) {
Trace.beginSection(mStringBuilder.toString());
}
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion samples/comparison/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ android {
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt')
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard.pro'
}
}

Expand Down
1 change: 1 addition & 0 deletions samples/comparison/proguard.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-dontwarn com.squareup.picasso.**

0 comments on commit 126de45

Please sign in to comment.