From e050317bfd129635b7fe899dc89bb97da71166c6 Mon Sep 17 00:00:00 2001 From: Omer Ozer Date: Wed, 30 Nov 2022 19:28:29 +0000 Subject: [PATCH] Fixing comments on AvailableNfcAntenna Bug: 260828096 Test: manual Change-Id: I865d7f2b1f32adee2bfb90126c081affd405be26 --- .../java/android/nfc/AvailableNfcAntenna.java | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/core/java/android/nfc/AvailableNfcAntenna.java b/core/java/android/nfc/AvailableNfcAntenna.java index 946ba67b23978..6e6512a049714 100644 --- a/core/java/android/nfc/AvailableNfcAntenna.java +++ b/core/java/android/nfc/AvailableNfcAntenna.java @@ -27,13 +27,15 @@ import android.os.Parcelable; */ public final class AvailableNfcAntenna implements Parcelable { /** - * Location on the antenna on the Y axis in millimeters. - * 0 is the bottom-left when the user is facing the screen. + * Location of the antenna on the Y axis in millimeters. + * 0 is the bottom-left when the user is facing the screen + * and the device orientation is Portrait. */ private final int mLocationX; /** - * Location on the antenna on the Y axis in millimeters. - * 0 is the bottom-left when the user is facing the screen. + * Location of the antenna on the Y axis in millimeters. + * 0 is the bottom-left when the user is facing the screen + * and the device orientation is Portrait. */ private final int mLocationY; @@ -43,16 +45,18 @@ public final class AvailableNfcAntenna implements Parcelable { } /** - * Location on the antenna on the X axis in millimeters. - * 0 is the bottom-left when the user is facing the screen. + * Location of the antenna on the X axis in millimeters. + * 0 is the bottom-left when the user is facing the screen + * and the device orientation is Portrait. */ public int getLocationX() { return mLocationX; } /** - * Location on the antenna on the Y axis in millimeters. - * 0 is the bottom-left when the user is facing the screen. + * Location of the antenna on the Y axis in millimeters. + * 0 is the bottom-left when the user is facing the screen + * and the device orientation is Portrait. */ public int getLocationY() { return mLocationY;