Skip to content

Commit 9219332

Browse files
committed
Even more lint fixes
1 parent f7c0b5e commit 9219332

File tree

4 files changed

+26
-24
lines changed

4 files changed

+26
-24
lines changed

data/lint.xml

+20-20
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
<lint>
2-
<issue id="AllowBackup">
3-
<ignore path="debug/*/AndroidManifest.xml"/>
4-
</issue>
5-
<issue severity="ignore" id="GoogleAppIndexingWarning"/>
6-
<issue id="InvalidPackage">
7-
<ignore regexp="retrofit"/>
8-
<ignore regexp="okio"/>
9-
</issue>
10-
<issue id="UnusedResources">
11-
<!-- Eaten by PSync -->
12-
<ignore path="*/prefs_*.xml"/>
13-
</issue>
14-
<issue id="CommitPrefEdits">
15-
<!-- Intended PSync behavior -->
16-
<ignore path="*/P.java"/>
17-
</issue>
18-
<issue id="IconLocation">
19-
<ignore path="*/ic_launcher.png"/>
20-
</issue>
21-
<issue id="RtlHardcoded" severity="ignore"/>
2+
<issue id="AllowBackup">
3+
<ignore path="debug/*/AndroidManifest.xml" />
4+
</issue>
5+
<issue id="GoogleAppIndexingWarning" severity="ignore" />
6+
<issue id="InvalidPackage">
7+
<ignore regexp="retrofit" />
8+
<ignore regexp="okio" />
9+
</issue>
10+
<issue id="UnusedResources">
11+
<!-- Eaten by PSync -->
12+
<ignore path="*/prefs_*.xml" />
13+
</issue>
14+
<issue id="CommitPrefEdits">
15+
<!-- Intended PSync behavior -->
16+
<ignore path="*/P.java" />
17+
</issue>
18+
<issue id="IconLocation">
19+
<ignore path="*/ic_launcher.png" />
20+
</issue>
21+
<issue id="RtlHardcoded" severity="ignore" />
2222
</lint>

photoview/lint.xml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<lint>
2+
<issue id="LogNotTimber" severity="ignore" />
3+
</lint>

presentation/lint.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
<ignore regexp="okio" />
1313
</issue>
1414
<issue id="LogNotTimber">
15-
<ignore path="*/ViewServer.java"
15+
<ignore path="*/ViewServer.java" />
1616
</issue>
1717
</lint>

presentation/src/main/java/com/jorge/boats/xkcd/navigation/NavigationLinearLayout.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
import android.view.View;
1616
import android.view.WindowManager;
1717
import android.view.animation.AnticipateInterpolator;
18-
import android.view.animation.BaseInterpolator;
1918
import android.view.animation.OvershootInterpolator;
2019
import android.widget.LinearLayout;
2120
import android.widget.Toast;
@@ -113,7 +112,7 @@ private void animateIn() {
113112
int delayMs = 0;
114113
//Using AnimationSet does not work
115114
Animator rotation, translation;
116-
final BaseInterpolator interpolator = new OvershootInterpolator();
115+
final OvershootInterpolator interpolator = new OvershootInterpolator();
117116

118117
for (final View button : mButtons) {
119118
rotation = generateRotationInAnimator(button);
@@ -144,7 +143,7 @@ private void animateOut(final int animationDurationMillis) {
144143
int delayMs = navigationLayoutPerButtonDelayMillis * (mButtons.length - 1);
145144
//Using AnimationSet does not work
146145
Animator rotation, translation;
147-
final BaseInterpolator interpolator = new AnticipateInterpolator();
146+
final AnticipateInterpolator interpolator = new AnticipateInterpolator();
148147

149148
for (final View button : mButtons) {
150149
rotation = generateRotationOutAnimator(button);

0 commit comments

Comments
 (0)