Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7bc016e8 authored by Raph Levien's avatar Raph Levien Committed by Android Git Automerger
Browse files

am f6ee7e3f: am 202d1ec7: Fix text shadow attributes in textAppearance

* commit 'f6ee7e3f':
  Fix text shadow attributes in textAppearance
parents 1c3f4092 f6ee7e3f
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -714,19 +714,19 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
                    break;

                case com.android.internal.R.styleable.TextAppearance_shadowColor:
                    shadowcolor = a.getInt(attr, 0);
                    shadowcolor = appearance.getInt(attr, 0);
                    break;

                case com.android.internal.R.styleable.TextAppearance_shadowDx:
                    dx = a.getFloat(attr, 0);
                    dx = appearance.getFloat(attr, 0);
                    break;

                case com.android.internal.R.styleable.TextAppearance_shadowDy:
                    dy = a.getFloat(attr, 0);
                    dy = appearance.getFloat(attr, 0);
                    break;

                case com.android.internal.R.styleable.TextAppearance_shadowRadius:
                    r = a.getFloat(attr, 0);
                    r = appearance.getFloat(attr, 0);
                    break;
                }
            }