Merge "[RCS UCE] Modify the data type of parameter retryAfter from String to long" am: 7a964f2199
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1512645 Change-Id: I5b55660d9a51490be1e2986fc1213cecf5354d3e
This commit is contained in:
@@ -32,5 +32,5 @@ oneway interface ISubscribeResponseCallback {
|
|||||||
void onNetworkResponse(int code, in String reason);
|
void onNetworkResponse(int code, in String reason);
|
||||||
void onNotifyCapabilitiesUpdate(in List<String> pidfXmls);
|
void onNotifyCapabilitiesUpdate(in List<String> pidfXmls);
|
||||||
void onResourceTerminated(in List<RcsContactTerminatedReason> uriTerminatedReason);
|
void onResourceTerminated(in List<RcsContactTerminatedReason> uriTerminatedReason);
|
||||||
void onTerminated(in String reason, in String retryAfter);
|
void onTerminated(in String reason, long retryAfterMilliseconds);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -86,9 +86,9 @@ public class RcsSubscribeResponseAidlWrapper implements SubscribeResponseCallbac
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onTerminated(String reason, String retryAfter) throws ImsException {
|
public void onTerminated(String reason, long retryAfterMilliseconds) throws ImsException {
|
||||||
try {
|
try {
|
||||||
mResponseBinder.onTerminated(reason, retryAfter);
|
mResponseBinder.onTerminated(reason, retryAfterMilliseconds);
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -250,7 +250,7 @@ public class RcsCapabilityExchangeImplBase {
|
|||||||
* This allows the framework to know that there will no longer be any
|
* This allows the framework to know that there will no longer be any
|
||||||
* capability updates for the requested operationToken.
|
* capability updates for the requested operationToken.
|
||||||
*/
|
*/
|
||||||
void onTerminated(String reason, String retryAfter) throws ImsException;
|
void onTerminated(String reason, long retryAfterMilliseconds) throws ImsException;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user