mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-16 12:00:03 +03:00
Fix compilation note (by removing unused fun).
`Note: /home/runner/work/element-android/element-android/library/external/dialpad/src/main/java/com/android/dialer/dialpadview/DialpadView.java uses or overrides a deprecated API.`
This commit is contained in:
parent
238b41ce55
commit
35dcfdd54b
1 changed files with 0 additions and 8 deletions
|
@ -202,14 +202,6 @@ public class DialpadView extends LinearLayout {
|
|||
zero.setLongHoverContentDescription(resources.getText(R.string.description_image_button_plus));
|
||||
}
|
||||
|
||||
private Drawable getDrawableCompat(Context context, int id) {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||
return context.getDrawable(id);
|
||||
} else {
|
||||
return context.getResources().getDrawable(id);
|
||||
}
|
||||
}
|
||||
|
||||
public void setShowVoicemailButton(boolean show) {
|
||||
View view = findViewById(R.id.dialpad_key_voicemail);
|
||||
if (view != null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue