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

Commit d0798810 authored by James.cf Lin's avatar James.cf Lin
Browse files

[RCS UCE] Modify the data type of parameter retryAfter from String to long

The data type long to indicate that how long the request can be retried again.

Bug: 173175176
Test: build pass
Change-Id: I22275e8259950a3efd247b3c906392a41d0ca2f1
parent 768384c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -32,5 +32,5 @@ oneway interface ISubscribeResponseCallback {
    void onNetworkResponse(int code, in String reason);
    void onNotifyCapabilitiesUpdate(in List<String> pidfXmls);
    void onResourceTerminated(in List<RcsContactTerminatedReason> uriTerminatedReason);
    void onTerminated(in String reason, in String retryAfter);
    void onTerminated(in String reason, long retryAfterMilliseconds);
}
+2 −2
Original line number Diff line number Diff line
@@ -86,9 +86,9 @@ public class RcsSubscribeResponseAidlWrapper implements SubscribeResponseCallbac
    }

    @Override
    public void onTerminated(String reason, String retryAfter) throws ImsException {
    public void onTerminated(String reason, long retryAfterMilliseconds) throws ImsException {
        try {
            mResponseBinder.onTerminated(reason, retryAfter);
            mResponseBinder.onTerminated(reason, retryAfterMilliseconds);
        } catch (RemoteException e) {
        }
    }
+1 −1
Original line number Diff line number Diff line
@@ -250,7 +250,7 @@ public class RcsCapabilityExchangeImplBase {
         * This allows the framework to know that there will no longer be any
         * capability updates for the requested operationToken.
         */
        void onTerminated(String reason, String retryAfter) throws ImsException;
        void onTerminated(String reason, long retryAfterMilliseconds) throws ImsException;
    }