Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 29ed93c5 authored by Leland Miller's avatar Leland Miller Committed by android-build-merger
Browse files

Merge changes from topic "rcs-cts"

am: 3fbb1bd8

Change-Id: If0b5d248dd5d39e63a34baaa36af3a57817abdd9
parents cbd9240c 3fbb1bd8
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ public class RcsMessageStoreUtil {
            int idValue) throws RemoteException {
        try (Cursor cursor = getValueFromTableRow(tableUri, valueColumn, idColumn, idValue)) {
            if (cursor != null && cursor.moveToFirst()) {
                return cursor.getInt(0);
                return cursor.getInt(cursor.getColumnIndex(valueColumn));
            } else {
                throw new RemoteException("The row with (" + idColumn + " = " + idValue
                        + ") could not be found in " + tableUri);
@@ -53,7 +53,7 @@ public class RcsMessageStoreUtil {
            int idValue) throws RemoteException {
        try (Cursor cursor = getValueFromTableRow(tableUri, valueColumn, idColumn, idValue)) {
            if (cursor != null && cursor.moveToFirst()) {
                return cursor.getLong(0);
                return cursor.getLong(cursor.getColumnIndex(valueColumn));
            } else {
                throw new RemoteException("The row with (" + idColumn + " = " + idValue
                        + ") could not be found in " + tableUri);
@@ -65,7 +65,7 @@ public class RcsMessageStoreUtil {
            int idValue) throws RemoteException {
        try (Cursor cursor = getValueFromTableRow(tableUri, valueColumn, idColumn, idValue)) {
            if (cursor != null && cursor.moveToFirst()) {
                return cursor.getDouble(0);
                return cursor.getDouble(cursor.getColumnIndex(valueColumn));
            } else {
                throw new RemoteException("The row with (" + idColumn + " = " + idValue
                        + ") could not be found in " + tableUri);
@@ -77,7 +77,7 @@ public class RcsMessageStoreUtil {
            int idValue) throws RemoteException {
        try (Cursor cursor = getValueFromTableRow(tableUri, valueColumn, idColumn, idValue)) {
            if (cursor != null && cursor.moveToFirst()) {
                return cursor.getString(0);
                return cursor.getString(cursor.getColumnIndex(valueColumn));
            } else {
                throw new RemoteException("The row with (" + idColumn + " = " + idValue
                        + ") could not be found in " + tableUri);
@@ -89,7 +89,7 @@ public class RcsMessageStoreUtil {
            int idValue) throws RemoteException {
        try (Cursor cursor = getValueFromTableRow(tableUri, valueColumn, idColumn, idValue)) {
            if (cursor != null && cursor.moveToFirst()) {
                String uriAsString = cursor.getString(0);
                String uriAsString = cursor.getString(cursor.getColumnIndex(valueColumn));

                if (!TextUtils.isEmpty(uriAsString)) {
                    return Uri.parse(uriAsString);