summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2013-09-06 17:52:05 -0700
committerFabrice Di Meglio <fdimeglio@google.com>2013-09-06 17:55:35 -0700
commite1c0ad6d82bd4c4ba5c65e4951c5fcba170b2f55 (patch)
treeef04baa8b549d22cd7b41cf4ed4853d09ec21dff
parent4196137c30528703b2dcbcf7e61e89693ef65616 (diff)
downloadandroid_packages_apps_PackageInstaller-e1c0ad6d82bd4c4ba5c65e4951c5fcba170b2f55.zip
android_packages_apps_PackageInstaller-e1c0ad6d82bd4c4ba5c65e4951c5fcba170b2f55.tar.gz
android_packages_apps_PackageInstaller-e1c0ad6d82bd4c4ba5c65e4951c5fcba170b2f55.tar.bz2
Fix bug #10397732 'X' icon of download manager UI error not mirrored
- use TextView.setCompoundDrawablesRelative() instead of setCompoundDrawables() Change-Id: I4021236aa40d92ed9df0e354b8ce2287afa51168
-rwxr-xr-xsrc/com/android/packageinstaller/InstallAppProgress.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/packageinstaller/InstallAppProgress.java b/src/com/android/packageinstaller/InstallAppProgress.java
index 71c792e..b690f8a 100755
--- a/src/com/android/packageinstaller/InstallAppProgress.java
+++ b/src/com/android/packageinstaller/InstallAppProgress.java
@@ -124,7 +124,8 @@ public class InstallAppProgress extends Activity implements View.OnClickListener
centerTextDrawable.setBounds(0, 0,
centerTextDrawable.getIntrinsicWidth(),
centerTextDrawable.getIntrinsicHeight());
- mStatusTextView.setCompoundDrawables(centerTextDrawable, null, null, null);
+ mStatusTextView.setCompoundDrawablesRelative(centerTextDrawable, null,
+ null, null);
}
mStatusTextView.setText(centerTextLabel);
if (centerExplanationLabel != -1) {