Loading src/java/com/android/internal/telephony/ims/RcsMessageStoreController.java +3 −3 Original line number Diff line number Diff line Loading @@ -102,7 +102,7 @@ import android.telephony.ims.RcsParticipantQueryParams; import android.telephony.ims.RcsParticipantQueryResult; import android.telephony.ims.RcsQueryContinuationToken; import android.telephony.ims.RcsThreadQueryParams; import android.telephony.ims.RcsThreadQueryResult; import android.telephony.ims.RcsThreadQueryResultParcelable; import android.telephony.ims.aidl.IRcs; import com.android.internal.annotations.VisibleForTesting; Loading Loading @@ -168,7 +168,7 @@ public class RcsMessageStoreController extends IRcs.Stub { } @Override public RcsThreadQueryResult getRcsThreads(RcsThreadQueryParams queryParameters) public RcsThreadQueryResultParcelable getRcsThreads(RcsThreadQueryParams queryParameters) throws RemoteException { Bundle bundle = new Bundle(); bundle.putParcelable(THREAD_QUERY_PARAMETERS_KEY, queryParameters); Loading @@ -176,7 +176,7 @@ public class RcsMessageStoreController extends IRcs.Stub { } @Override public RcsThreadQueryResult getRcsThreadsWithToken( public RcsThreadQueryResultParcelable getRcsThreadsWithToken( RcsQueryContinuationToken continuationToken) throws RemoteException { Bundle bundle = new Bundle(); bundle.putParcelable(QUERY_CONTINUATION_TOKEN, continuationToken); Loading src/java/com/android/internal/telephony/ims/RcsThreadQueryHelper.java +3 −3 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ import android.net.Uri; import android.os.Bundle; import android.os.RemoteException; import android.telephony.ims.RcsQueryContinuationToken; import android.telephony.ims.RcsThreadQueryResult; import android.telephony.ims.RcsThreadQueryResultParcelable; import com.android.ims.RcsTypeIdPair; Loading @@ -60,7 +60,7 @@ class RcsThreadQueryHelper { mParticipantQueryHelper = participantQueryHelper; } RcsThreadQueryResult performThreadQuery(Bundle bundle) throws RemoteException { RcsThreadQueryResultParcelable performThreadQuery(Bundle bundle) throws RemoteException { RcsQueryContinuationToken continuationToken = null; List<RcsTypeIdPair> rcsThreadIdList = new ArrayList<>(); try (Cursor cursor = mContentResolver.query(RCS_THREAD_URI, null, bundle, null)) { Loading @@ -87,7 +87,7 @@ class RcsThreadQueryHelper { continuationToken = cursorExtras.getParcelable(QUERY_CONTINUATION_TOKEN); } } return new RcsThreadQueryResult(continuationToken, rcsThreadIdList); return new RcsThreadQueryResultParcelable(continuationToken, rcsThreadIdList); } int create1To1Thread(int participantId) throws RemoteException { Loading tests/telephonytests/src/com/android/internal/telephony/ims/RcsMessageStoreControllerTest.java +1 −3 Original line number Diff line number Diff line Loading @@ -185,10 +185,8 @@ public class RcsMessageStoreControllerTest extends TelephonyTest { mFakeRcsProvider.addExpectedOperation(new ExpectedUpdate( Uri.parse("content://rcs/group_thread/454"), null, null, contentValues, 0)); RcsParticipant participant = new RcsParticipant(9); try { mRcsMessageStoreController.setGroupThreadOwner(454, participant.getId()); mRcsMessageStoreController.setGroupThreadOwner(454, 9); } catch (RemoteException e) { // eat the exception as there is no provider - we care about the expected update assert } Loading Loading
src/java/com/android/internal/telephony/ims/RcsMessageStoreController.java +3 −3 Original line number Diff line number Diff line Loading @@ -102,7 +102,7 @@ import android.telephony.ims.RcsParticipantQueryParams; import android.telephony.ims.RcsParticipantQueryResult; import android.telephony.ims.RcsQueryContinuationToken; import android.telephony.ims.RcsThreadQueryParams; import android.telephony.ims.RcsThreadQueryResult; import android.telephony.ims.RcsThreadQueryResultParcelable; import android.telephony.ims.aidl.IRcs; import com.android.internal.annotations.VisibleForTesting; Loading Loading @@ -168,7 +168,7 @@ public class RcsMessageStoreController extends IRcs.Stub { } @Override public RcsThreadQueryResult getRcsThreads(RcsThreadQueryParams queryParameters) public RcsThreadQueryResultParcelable getRcsThreads(RcsThreadQueryParams queryParameters) throws RemoteException { Bundle bundle = new Bundle(); bundle.putParcelable(THREAD_QUERY_PARAMETERS_KEY, queryParameters); Loading @@ -176,7 +176,7 @@ public class RcsMessageStoreController extends IRcs.Stub { } @Override public RcsThreadQueryResult getRcsThreadsWithToken( public RcsThreadQueryResultParcelable getRcsThreadsWithToken( RcsQueryContinuationToken continuationToken) throws RemoteException { Bundle bundle = new Bundle(); bundle.putParcelable(QUERY_CONTINUATION_TOKEN, continuationToken); Loading
src/java/com/android/internal/telephony/ims/RcsThreadQueryHelper.java +3 −3 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ import android.net.Uri; import android.os.Bundle; import android.os.RemoteException; import android.telephony.ims.RcsQueryContinuationToken; import android.telephony.ims.RcsThreadQueryResult; import android.telephony.ims.RcsThreadQueryResultParcelable; import com.android.ims.RcsTypeIdPair; Loading @@ -60,7 +60,7 @@ class RcsThreadQueryHelper { mParticipantQueryHelper = participantQueryHelper; } RcsThreadQueryResult performThreadQuery(Bundle bundle) throws RemoteException { RcsThreadQueryResultParcelable performThreadQuery(Bundle bundle) throws RemoteException { RcsQueryContinuationToken continuationToken = null; List<RcsTypeIdPair> rcsThreadIdList = new ArrayList<>(); try (Cursor cursor = mContentResolver.query(RCS_THREAD_URI, null, bundle, null)) { Loading @@ -87,7 +87,7 @@ class RcsThreadQueryHelper { continuationToken = cursorExtras.getParcelable(QUERY_CONTINUATION_TOKEN); } } return new RcsThreadQueryResult(continuationToken, rcsThreadIdList); return new RcsThreadQueryResultParcelable(continuationToken, rcsThreadIdList); } int create1To1Thread(int participantId) throws RemoteException { Loading
tests/telephonytests/src/com/android/internal/telephony/ims/RcsMessageStoreControllerTest.java +1 −3 Original line number Diff line number Diff line Loading @@ -185,10 +185,8 @@ public class RcsMessageStoreControllerTest extends TelephonyTest { mFakeRcsProvider.addExpectedOperation(new ExpectedUpdate( Uri.parse("content://rcs/group_thread/454"), null, null, contentValues, 0)); RcsParticipant participant = new RcsParticipant(9); try { mRcsMessageStoreController.setGroupThreadOwner(454, participant.getId()); mRcsMessageStoreController.setGroupThreadOwner(454, 9); } catch (RemoteException e) { // eat the exception as there is no provider - we care about the expected update assert } Loading