diff options
author | d34d <clark@cyngn.com> | 2016-07-25 18:32:02 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-08-28 20:43:41 -0700 |
commit | c8275ccecd85f731745075203af27d4878793c23 (patch) | |
tree | 0330eba08b1df2f8329f236a985641aa3837a2c5 | |
parent | 018a7eee8a59a9be4725d20dd28e06520ce95813 (diff) | |
download | android_packages_apps_Messaging-c8275ccecd85f731745075203af27d4878793c23.tar.gz android_packages_apps_Messaging-c8275ccecd85f731745075203af27d4878793c23.tar.bz2 android_packages_apps_Messaging-c8275ccecd85f731745075203af27d4878793c23.zip |
Underp build
Change-Id: I49929448c8853837ca282bc8fb07e26845d2c203
-rw-r--r-- | src/com/android/messaging/ui/mediapicker/AudioRecordView.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/android/messaging/ui/mediapicker/AudioRecordView.java b/src/com/android/messaging/ui/mediapicker/AudioRecordView.java index df3f8d3..8f89e19 100644 --- a/src/com/android/messaging/ui/mediapicker/AudioRecordView.java +++ b/src/com/android/messaging/ui/mediapicker/AudioRecordView.java @@ -228,11 +228,12 @@ public class AudioRecordView extends FrameLayout implements final GradientDrawable backgroundDrawable = ((GradientDrawable) getResources() .getDrawable(R.drawable.audio_record_control_button_background)); if (isRecording()) { - foregroundDrawable.setColorFilter(getColor(R.color.mic_recording_color), PorterDuff.Mode.SRC_ATOP); + foregroundDrawable.setColorFilter(getResources().getColor(R.color.mic_recording_color), + PorterDuff.Mode.SRC_ATOP); backgroundDrawable.setColor(mThemeColor); } else { foregroundDrawable.setColorFilter(mThemeColor, PorterDuff.Mode.SRC_ATOP); - backgroundDrawable.setColor(getColor(R.color.mic_background_color)); + backgroundDrawable.setColor(getResources().getColor(R.color.mic_background_color)); } mRecordButtonVisual.setImageDrawable(foregroundDrawable); mRecordButtonVisual.setBackground(backgroundDrawable); |