Remove static PACKAGE_NAME variable and refactor
commit11c47071c45eb89f78dcd95a8c00f83feeaceafd
authordeepak.db <deepak.db@samsung.com>
Mon, 15 Sep 2014 15:08:55 +0000 (15 08:08 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 15 Sep 2014 15:18:24 +0000 (15 15:18 +0000)
treee32eeb1041d8a408d1b3db3392cca97c2b3d06f7
parent029ccadec00c8ca1b411da029771794441bb4aa2
Remove static PACKAGE_NAME variable and refactor
getRawAcceptableDirectories method.

The use of PACKAGE_NAME variable is unnecessary which can be avoided, hence refactoring using passing context down till getRawAcceptableDirectories() and using getPackageName() method directly.

BUG=None.

Review URL: https://codereview.chromium.org/561743003

Cr-Commit-Position: refs/heads/master@{#294826}
AUTHORS
content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java
content/public/android/javatests/src/org/chromium/content/browser/MediaResourceGetterTest.java