summaryrefslogtreecommitdiffstats
path: root/src-ambient/com/android/phone/common/incall/ContactsDataSubscription.java
diff options
context:
space:
mode:
authorKamaljeet Maini <kmaini@cyngn.com>2016-04-28 18:03:04 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-05-06 14:36:05 -0700
commit7b1fe0109483f22f8c5e1852efe7230e0a4ced71 (patch)
treec739f84b768289f5357132c39a0159e0bf948e15 /src-ambient/com/android/phone/common/incall/ContactsDataSubscription.java
parent3f60397f9e37e0dd59b705a2d119ae01e4b36807 (diff)
downloadandroid_packages_apps_PhoneCommon-7b1fe0109483f22f8c5e1852efe7230e0a4ced71.tar.gz
android_packages_apps_PhoneCommon-7b1fe0109483f22f8c5e1852efe7230e0a4ced71.tar.bz2
android_packages_apps_PhoneCommon-7b1fe0109483f22f8c5e1852efe7230e0a4ced71.zip
Reduce InCallUI name text field size to prevent text truncation
The resizeText() function calculates maximum possible text size for the available width. In some cases, this leads to slightly bigger text than width of text view, causing InCallUI name truncation. To prevent this issue, the text size is now reduced by a fixed value of 1. This solves the issue by providing enough margin on a failing product. This margin may not be enough for all scenarios. So it may need to be changed for other products. The goal is to keep this margin small enough to minimize impact on non-failing products. Change-Id: I390ca38b1cad29db42d6a1ed52346c6a72dec4a8 Issue-Id: CYNGNOS-2674
Diffstat (limited to 'src-ambient/com/android/phone/common/incall/ContactsDataSubscription.java')
0 files changed, 0 insertions, 0 deletions