From 5fc6653ea73d8040733dc1678bd376fe40eb2aba Mon Sep 17 00:00:00 2001 From: Todd Lee Date: Wed, 3 May 2017 16:22:42 -0700 Subject: [PATCH] Add missing values for screen percent width dimens Protects against bootlooping in the event that developer inadvertently changes DPI to unsupported value for device. Use 0dp as it will not be mistaken for anything other than a broken experience (cts test to validate device DPIs so as to avoid shipping with this). bug: b/37755288 Change-Id: Ie9f4aa0d6d226383824e06d28151e06038d0110b --- core/res/res/values-watch/dimens_material.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/res/res/values-watch/dimens_material.xml b/core/res/res/values-watch/dimens_material.xml index 3c4904ccf07d1..82c088b679c5a 100644 --- a/core/res/res/values-watch/dimens_material.xml +++ b/core/res/res/values-watch/dimens_material.xml @@ -44,4 +44,10 @@ 16dip 32dip 64dip - + + + 0dp + 0dp + 0dp + 0dp +