Messaging: Fix C-style array declarations

Change-Id: Ie7381dc5280ab4d907000ef551df9ea80553ddb4
This commit is contained in:
Michael W
2024-12-26 15:54:37 +01:00
parent 5403d02b5d
commit 6d11a6658c
17 changed files with 30 additions and 29 deletions
@@ -762,7 +762,7 @@ public class ConversationFragment extends Fragment implements ConversationDataLi
final View targetView = getActivity().findViewById(R.id.action_call);
Point centerPoint;
if (targetView != null) {
final int screenLocation[] = new int[2];
final int[] screenLocation = new int[2];
targetView.getLocationOnScreen(screenLocation);
final int centerX = screenLocation[0] + targetView.getWidth() / 2;
final int centerY = screenLocation[1] + targetView.getHeight() / 2;