Conversation
7f2f4ef to
a316cff
Compare
523c735 to
1c400fb
Compare
|
Smoke test needed. |
07d1ce5 to
456d2c5
Compare
1c400fb to
c8e080e
Compare
owncloudApp/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.kt
Show resolved
Hide resolved
1a89110 to
35089bf
Compare
owncloudApp/src/main/java/third_parties/in/srain/cube/GridViewWithHeaderAndFooter.java
Outdated
Show resolved
Hide resolved
46549fc to
74802e0
Compare
owncloudApp/lint.xml
Outdated
| @@ -0,0 +1,7 @@ | |||
| <?xml version="1.0" encoding="UTF-8"?> | |||
| <lint> | |||
| <issue id="WrongConstant" severity="ignore" /> | |||
There was a problem hiding this comment.
Do we still need to ignore these issues, haven't you fixed them?
| intent.putExtra(Intent.EXTRA_SUBJECT, feedback); | ||
|
|
||
| intent.setData(Uri.parse(feedbackMail)); | ||
| intent.setDataAndType(Uri.parse(feedbackMail), "text/plain"); |
There was a problem hiding this comment.
Please move "text/plain" as a constant to somewhere. It's also used in FileOperationsHelper.java and other parts of the project.
There was a problem hiding this comment.
I think that it could be an issue itself. Moving just this string to a constant looks weird since there are files like MimetypeIconUtil where every mime is hardcoded, and we will mix hardcoded and constants. I think it is better to standarize and move everything together, don't you think?
There was a problem hiding this comment.
Ok, could you create an issue with the details? Thanks
|
@abelgardep just a couple of comments |
09e7213 to
872fbf3
Compare
872fbf3 to
abdc2bf
Compare
ade9e89 to
0cc020f
Compare
2d2c376 to
3e8b4e7
Compare
3e8b4e7 to
1609e67
Compare
|
@jesmrec code approved, ready to test |
|
QA: This is not a not a product feature, so i executed some tests to assure everything works:
As developers' suggestion, the passcode lock layout was also checked, with succesfully result. Additionally, i ran a huge number of issues detected in Is it a good idea to open a new issue in which this issues are fixed? several issues? @abelgardep @davigonz |
|
If you open the lint-app-report.html, you will see that most of those warnings are related with deprecated logs. I created an issue some days ago (#2757). I consider that we should move it forward as soon as possible. |
|
Then, from my side we can now move forward. |

Lint warnings and errors cleanup.
Continuation of #2736
CC @hannesa2
To improve code quality, I recommend a lint check on every pull request.
Currently it's obvious disabled, because on master it fails ! Please enable lint check on CI
With this pull request you see in root the lint report

lint-app-report.htmlBtw, a lot of them should be solved later on, and after that step, you should prevent them in the future by
severity="error"in lint.xml