Fixed crash

This commit is contained in:
M66B 2019-12-29 14:19:12 +01:00
parent d14291ce65
commit 7760116fe5
1 changed files with 1 additions and 1 deletions

View File

@ -624,7 +624,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
DAY_IN_MILLIS, 0));
view.setContentDescription(tvDate.getText().toString());
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O)
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P)
view.setAccessibilityHeading(true);
header.measure(View.MeasureSpec.makeMeasureSpec(parent.getWidth(), View.MeasureSpec.EXACTLY),