diff options
author | Yorke Lee <yorkelee@google.com> | 2014-08-18 16:25:01 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-08-18 16:25:01 -0700 |
commit | fe91e00f6b5720db70e276d8d99482a3abc662e2 (patch) | |
tree | 3961e904b7d22893c5f3899eeaff7b7010b02d6a /src | |
parent | 43af52a346443ac8d4c7057215888e6b36d9175b (diff) | |
download | packages_apps_PhoneCommon-fe91e00f6b5720db70e276d8d99482a3abc662e2.tar.gz packages_apps_PhoneCommon-fe91e00f6b5720db70e276d8d99482a3abc662e2.tar.bz2 packages_apps_PhoneCommon-fe91e00f6b5720db70e276d8d99482a3abc662e2.zip |
Use correct API for getDrawable()
Bug: 17115451
Change-Id: Ib953c9dc3e55ea269f18dace3d781c3f5d206adb
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); } |