summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuzhou <jiayuzhou@google.com>2018-04-13 17:59:53 -0700
committerYuzhou Jia <jiayuzhou@google.com>2018-04-16 21:53:35 +0000
commit9b3f391fe357d6757ed19e4b85059a5078860892 (patch)
tree47972cb172ef1d3f58fe295b854155ecf4b53fae
parent46701de1e50d039b126258018b3a63a68f36b5a7 (diff)
downloadplatform_packages_apps_Car_Dialer-9b3f391fe357d6757ed19e4b85059a5078860892.tar.gz
platform_packages_apps_Car_Dialer-9b3f391fe357d6757ed19e4b85059a5078860892.tar.bz2
platform_packages_apps_Car_Dialer-9b3f391fe357d6757ed19e4b85059a5078860892.zip
fix crash caused by can't find R.drawable in car-stream-ui-lib. Includes the mk file to inlcude car-stream-ui-lib resources into Dialer package
Bug: 77849964. Fixes: 77849964. Test: build and load Dialer. Change-Id: I03e7ab5fb3a6dd302186395d446335c9edb5da5c
-rw-r--r--Android.mk4
-rw-r--r--res/values/dimens.xml13
2 files changed, 16 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 54c87503..f3ce463c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -31,7 +31,9 @@ LOCAL_MODULE_TAGS := optional
LOCAL_USE_AAPT2 := true
-LOCAL_STATIC_ANDROID_LIBRARIES += android-support-car
+LOCAL_STATIC_ANDROID_LIBRARIES += \
+ android-support-car \
+ car-stream-ui-lib
LOCAL_PROGUARD_ENABLED := disabled
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 896e4d83..cadd3431 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -80,4 +80,17 @@
<!-- The height of each of the cards that list the contact search results. -->
<dimen name="contact_result_card_height">128dp</dimen>
+
+ <dimen name="call_log_last_card_bottom_margin">@dimen/call_log_card_overlap</dimen>
+
+ <dimen name="line_divider_height">1dp</dimen>
+
+ <dimen name="dialer_number_view_height">128dp</dimen>
+ <dimen name="dialer_number_view_padding">32dp</dimen>
+
+ <dimen name="call_fab_elevation">8dp</dimen>
+ <dimen name="bksp_button_width">160dp</dimen>
+
+ <dimen name="in_call_button_size">160dp</dimen>
+
</resources>