diff options
author | Jozef BABJAK <jozef.babjak@gmail.com> | 2011-02-22 10:23:06 +0100 |
---|---|---|
committer | Jozef BABJAK <jozef.babjak@gmail.com> | 2011-03-17 09:15:43 +0100 |
commit | b74378ab354157228870800105edf11496cadbe3 (patch) | |
tree | 4a04be6758612fb25eb37f0bb4b83bb1a1ec9f01 /core | |
parent | 8d25eab10523ac2424dc645dc697126dbadad588 (diff) | |
download | frameworks_base-b74378ab354157228870800105edf11496cadbe3.zip frameworks_base-b74378ab354157228870800105edf11496cadbe3.tar.gz frameworks_base-b74378ab354157228870800105edf11496cadbe3.tar.bz2 |
Eliminating dead code with no other effect than consuming battery life.
Change-Id: I4376902a4e9c301ff16f74137d86eeaff901bbb7
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/text/style/DrawableMarginSpan.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/java/android/text/style/DrawableMarginSpan.java b/core/java/android/text/style/DrawableMarginSpan.java index 3c471a5..c2564d5 100644 --- a/core/java/android/text/style/DrawableMarginSpan.java +++ b/core/java/android/text/style/DrawableMarginSpan.java @@ -50,9 +50,6 @@ implements LeadingMarginSpan, LineHeightSpan int dw = mDrawable.getIntrinsicWidth(); int dh = mDrawable.getIntrinsicHeight(); - if (dir < 0) - x -= dw; - // XXX What to do about Paint? mDrawable.setBounds(ix, itop, ix+dw, itop+dh); mDrawable.draw(c); |