summaryrefslogtreecommitdiff
path: root/android/sdl_android/src/main/java
diff options
context:
space:
mode:
authorBilal Alsharifi <bilal.alsharifi@gmail.com>2020-09-02 16:43:50 -0400
committerBilal Alsharifi <bilal.alsharifi@gmail.com>2020-09-02 16:43:50 -0400
commit9bc55c7ceeb230c427df34dfee68ca77884e0d12 (patch)
tree4f11c678de458b8a4c3415e9f7006ca20a273af7 /android/sdl_android/src/main/java
parent925a0a2fa9af8904c9c5c49afa4f3f64fb64a34d (diff)
downloadsdl_android-9bc55c7ceeb230c427df34dfee68ca77884e0d12.tar.gz
Remove deprecated code from some transport classes
Diffstat (limited to 'android/sdl_android/src/main/java')
-rw-r--r--android/sdl_android/src/main/java/com/smartdevicelink/transport/RouterServiceValidator.java5
-rw-r--r--android/sdl_android/src/main/java/com/smartdevicelink/transport/SdlBroadcastReceiver.java5
-rw-r--r--android/sdl_android/src/main/java/com/smartdevicelink/transport/TransportBroker.java5
-rw-r--r--android/sdl_android/src/main/java/com/smartdevicelink/transport/utl/ByteArrayMessageSpliter.java11
4 files changed, 0 insertions, 26 deletions
diff --git a/android/sdl_android/src/main/java/com/smartdevicelink/transport/RouterServiceValidator.java b/android/sdl_android/src/main/java/com/smartdevicelink/transport/RouterServiceValidator.java
index f86caa699..0cc4cf853 100644
--- a/android/sdl_android/src/main/java/com/smartdevicelink/transport/RouterServiceValidator.java
+++ b/android/sdl_android/src/main/java/com/smartdevicelink/transport/RouterServiceValidator.java
@@ -638,11 +638,6 @@ public class RouterServiceValidator {
return createTrustedListRequest(context,forceRefresh,null,listCallback);
}
- @Deprecated
- protected static boolean createTrustedListRequest(final Context context, boolean forceRefresh,HttpRequestTask.HttpRequestTaskCallback cb ){
- return createTrustedListRequest(context,forceRefresh,cb,null);
- }
-
protected static boolean createTrustedListRequest(final Context context, boolean forceRefresh,HttpRequestTask.HttpRequestTaskCallback cb, final TrustedListCallback listCallback ){
if(context == null){
return false;
diff --git a/android/sdl_android/src/main/java/com/smartdevicelink/transport/SdlBroadcastReceiver.java b/android/sdl_android/src/main/java/com/smartdevicelink/transport/SdlBroadcastReceiver.java
index 1ad6a3e9a..a12fcb590 100644
--- a/android/sdl_android/src/main/java/com/smartdevicelink/transport/SdlBroadcastReceiver.java
+++ b/android/sdl_android/src/main/java/com/smartdevicelink/transport/SdlBroadcastReceiver.java
@@ -462,11 +462,6 @@ public abstract class SdlBroadcastReceiver extends BroadcastReceiver{
* @param context A context to access Android system services through. If null is passed, this will always return false
* @param callback Use this callback to find out if the router service is connected or not.
*/
- @Deprecated
- public static void requestTransportStatus(Context context, final SdlRouterStatusProvider.ConnectedStatusCallback callback){
- requestTransportStatus(context,callback,false, true);
- }
-
private static void requestTransportStatus(Context context, final SdlRouterStatusProvider.ConnectedStatusCallback callback, final boolean triggerRouterServicePing, final boolean lookForServices){
if(context == null){
if(callback!=null){
diff --git a/android/sdl_android/src/main/java/com/smartdevicelink/transport/TransportBroker.java b/android/sdl_android/src/main/java/com/smartdevicelink/transport/TransportBroker.java
index acf84462f..3851ab563 100644
--- a/android/sdl_android/src/main/java/com/smartdevicelink/transport/TransportBroker.java
+++ b/android/sdl_android/src/main/java/com/smartdevicelink/transport/TransportBroker.java
@@ -752,11 +752,6 @@ public class TransportBroker {
/**
* Use this method to let the router service know that you are requesting a new session from the head unit.
*/
- @Deprecated
- public void requestNewSession() {
- requestNewSession(null);
- }
-
public void requestNewSession(TransportRecord transportRecord) {
Message msg = Message.obtain();
msg.what = TransportConstants.ROUTER_REQUEST_NEW_SESSION;
diff --git a/android/sdl_android/src/main/java/com/smartdevicelink/transport/utl/ByteArrayMessageSpliter.java b/android/sdl_android/src/main/java/com/smartdevicelink/transport/utl/ByteArrayMessageSpliter.java
index c7333fb08..9ab93aea9 100644
--- a/android/sdl_android/src/main/java/com/smartdevicelink/transport/utl/ByteArrayMessageSpliter.java
+++ b/android/sdl_android/src/main/java/com/smartdevicelink/transport/utl/ByteArrayMessageSpliter.java
@@ -68,17 +68,6 @@ public class ByteArrayMessageSpliter {
this.priorityCoef = priorityCoef;
}
- @Deprecated
- public ByteArrayMessageSpliter(Long appId,int what, byte[] bytes, int priorityCoef){
- this.appId = appId+"";
- this.what = what;
- stream = new ByteArrayInputStream(bytes);
- orginalSize = stream.available();
- bytesRead = 0;
- firstPacket = true;
- this.priorityCoef = priorityCoef;
- }
-
public void setRouterServiceVersion(int version){
this.routerServiceVersion = version;
}