summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimur Calmatui <timurc@google.com>2017-07-24 16:45:02 -0700
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-07-25 20:37:07 +0000
commit6a244b8f432670d2a8e31be011bafde4b639c622 (patch)
tree3905c06cc00dbd1ddfb0e48327263f964d418695
parentc9f9fe83010fecb7430560f412f092b05f9848db (diff)
downloaddevice_google_atv-6a244b8f432670d2a8e31be011bafde4b639c622.tar.gz
device_google_atv-6a244b8f432670d2a8e31be011bafde4b639c622.tar.bz2
device_google_atv-6a244b8f432670d2a8e31be011bafde4b639c622.zip
Allow large notification icons on TV
Before OC notifications on TV were used for recommendations. Even though we have a new API for OC we still support recommendations posted by apps that use the old API. Notification icons need to be big enough to look good on cards with sizes up to 320dp x 180dp. Bug: 63888772 Test: build, flash, see that images are crisp now Change-Id: I043c583cf1a50bdc1325f1b9ded7e422b101941e (cherry picked from commit 551d1bb289727c41b3c14d47add4a7b5d7f93768)
-rw-r--r--overlay/frameworks/base/core/res/res/values/dimens.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/dimens.xml b/overlay/frameworks/base/core/res/res/values/dimens.xml
index 95a85df..dc40e96 100644
--- a/overlay/frameworks/base/core/res/res/values/dimens.xml
+++ b/overlay/frameworks/base/core/res/res/values/dimens.xml
@@ -28,4 +28,7 @@
<!-- Width of the navigation bar when it is placed vertically on the screen -->
<dimen name="navigation_bar_width">42dp</dimen>
+ <!-- This overlay makes sure that notification icons are large enough to be used as Recommendation images -->
+ <dimen name="notification_right_icon_size">320dp</dimen>
+
</resources>