diff options
author | Yorke Lee <yorkelee@google.com> | 2014-08-18 23:29:08 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-08-18 23:27:42 +0000 |
commit | 28296e6171d82562e13cfb8b343526e76b364266 (patch) | |
tree | ab6e61d75ba06acb9ff1162ecc56481d995058e1 /src | |
parent | 5ead1b9b7742203fc0f08bee39fee79939cbfed3 (diff) | |
parent | fe91e00f6b5720db70e276d8d99482a3abc662e2 (diff) | |
download | android_packages_apps_PhoneCommon-28296e6171d82562e13cfb8b343526e76b364266.tar.gz android_packages_apps_PhoneCommon-28296e6171d82562e13cfb8b343526e76b364266.tar.bz2 android_packages_apps_PhoneCommon-28296e6171d82562e13cfb8b343526e76b364266.zip |
Merge "Use correct API for getDrawable()" into lmp-dev
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/phone/common/dialpad/DialpadView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/phone/common/dialpad/DialpadView.java b/src/com/android/phone/common/dialpad/DialpadView.java index ef3edca..3cdc30e 100644 --- a/src/com/android/phone/common/dialpad/DialpadView.java +++ b/src/com/android/phone/common/dialpad/DialpadView.java @@ -131,7 +131,7 @@ public class DialpadView extends LinearLayout { lettersView = (TextView) dialpadKey.findViewById(R.id.dialpad_key_letters); final String numberString = resources.getString(numberIds[i]); final RippleDrawable rippleBackground = - (RippleDrawable) resources.getDrawable(R.drawable.btn_dialpad_key); + (RippleDrawable) getContext().getDrawable(R.drawable.btn_dialpad_key); if (mRippleColor != null) { rippleBackground.setColor(mRippleColor); } |