banners: add conversion from dp -> px when getting native app details
commit927a3f48bfefb56e95e3f4719d9701e851f13b6a
authorlalitm <lalitm@google.com>
Tue, 15 Sep 2015 18:23:03 +0000 (15 11:23 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 15 Sep 2015 18:23:39 +0000 (15 18:23 +0000)
tree6e7b9e47c719962b77a910f2a923975e7d71c91b
parent58e3172cca992309f1b99f14c0c57c7ebcff0339
banners: add conversion from dp -> px when getting native app details

All native fetch code expects the icon size to be in px but a dp is
passed by the app banner code. Fix this so that a conversion to px
is performed before the native app details are requested.

BUG=531838

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

Cr-Commit-Position: refs/heads/master@{#348936}
chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java