Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Issue 304633003: Fix a lint issue with MediaResourceGetterTest.java. (Closed)

Created:
6 years, 7 months ago by Sungmann Cho
Modified:
6 years, 6 months ago
Reviewers:
Ted C, jdduke (slow), Yaron
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fix a lint issue with MediaResourceGetterTest.java. Currently, the lint warns against using the hardcoded "sdcard" strings. We should use Environment.getExternalStorageDirectory().getPath() instead of it, but the path could be inconsistent depending upon the state of the real or emulated device upon which we are testing. So this CL adds @SuppressLint to suppress the warnings. BUG=327768 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274376

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M content/public/android/javatests/src/org/chromium/content/browser/MediaResourceGetterTest.java View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Sungmann Cho
Please take a look. Thanks!
6 years, 7 months ago (2014-05-28 06:54:06 UTC) #1
jdduke (slow)
Hmm, I see a suppression for this in build/android/lint/supressions.xml: <issue id="SdCardPath"> <ignore path="content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java"/> </issue> Is ...
6 years, 6 months ago (2014-05-28 16:50:13 UTC) #2
Sungmann Cho
On 2014/05/28 16:50:13, jdduke wrote: > Hmm, I see a suppression for this in build/android/lint/supressions.xml: ...
6 years, 6 months ago (2014-05-28 19:28:43 UTC) #3
jdduke (slow)
On 2014/05/28 19:28:43, Sungmann Cho wrote: > On 2014/05/28 16:50:13, jdduke wrote: > > Hmm, ...
6 years, 6 months ago (2014-05-28 19:32:36 UTC) #4
Sungmann Cho
yfriedman@ ping...
6 years, 6 months ago (2014-05-31 01:07:58 UTC) #5
jdduke (slow)
Ted, is there a preference here between using @SuppressLint and explicitly adding the exception to ...
6 years, 6 months ago (2014-06-02 15:07:37 UTC) #6
Yaron
On 2014/06/02 15:07:37, jdduke wrote: > Ted, is there a preference here between using @SuppressLint ...
6 years, 6 months ago (2014-06-02 16:02:56 UTC) #7
Ted C
On 2014/06/02 16:02:56, Yaron wrote: > On 2014/06/02 15:07:37, jdduke wrote: > > Ted, is ...
6 years, 6 months ago (2014-06-02 17:46:59 UTC) #8
Sungmann Cho
The CQ bit was checked by sungmann.cho@navercorp.com
6 years, 6 months ago (2014-06-02 20:19:22 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sungmann.cho@navercorp.com/304633003/1
6 years, 6 months ago (2014-06-02 20:20:28 UTC) #10
Sungmann Cho
I think we could apply the same approach to MediaResourceGetter.java. In MediaResourceGetter, the problematic part ...
6 years, 6 months ago (2014-06-02 20:58:31 UTC) #11
commit-bot: I haz the power
6 years, 6 months ago (2014-06-02 23:53:11 UTC) #12
Message was sent while issue was closed.
Change committed as 274376

Powered by Google App Engine
This is Rietveld 408576698