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

Unified Diff: build/android/pylib/device/device_utils.py

Issue 1192263002: Create xxxhdpi density splits when density splits are enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/package_resources_action.gypi ('k') | build/config/android/internal_rules.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/device/device_utils.py
diff --git a/build/android/pylib/device/device_utils.py b/build/android/pylib/device/device_utils.py
index 558461fc15453165e6a368d0fb6f3fa8e38e99c2..23b8894d815fd1dab5d228ff887acca2ae90fec5 100644
--- a/build/android/pylib/device/device_utils.py
+++ b/build/android/pylib/device/device_utils.py
@@ -1374,6 +1374,7 @@ class DeviceUtils(object):
240: 'hdpi',
320: 'xhdpi',
480: 'xxhdpi',
+ 640: 'xxxhdpi',
}
dpi = int(self.GetProp('ro.sf.lcd_density', cache=True))
return DPI_TO_DENSITY.get(dpi, 'tvdpi')
@@ -1717,4 +1718,4 @@ class DeviceUtils(object):
return False
return [cls(adb) for adb in adb_wrapper.AdbWrapper.Devices()
- if not blacklisted(adb)]
+ if not blacklisted(adb)]
« no previous file with comments | « build/android/package_resources_action.gypi ('k') | build/config/android/internal_rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698