diff options
author | Bilal Alsharifi <bilal.alsharifi@gmail.com> | 2021-01-14 10:52:02 -0500 |
---|---|---|
committer | Bilal Alsharifi <bilal.alsharifi@gmail.com> | 2021-01-14 10:52:02 -0500 |
commit | b9737a13891d91f78a39a82aa44dd6e1532bd559 (patch) | |
tree | c1883f59bba38095d3760616c6b1cd71e860a8db | |
parent | f4c0ffb40ad73564df294d8f4caa8deaf1d3da23 (diff) | |
download | sdl_android-b9737a13891d91f78a39a82aa44dd6e1532bd559.tar.gz |
Add initial delay
2 files changed, 2 insertions, 2 deletions
diff --git a/android/sdl_android/src/androidTest/java/com/smartdevicelink/test/streaming/video/SdlRemoteDisplayTest.java b/android/sdl_android/src/androidTest/java/com/smartdevicelink/test/streaming/video/SdlRemoteDisplayTest.java index e66f910c0..e669ccdc4 100644 --- a/android/sdl_android/src/androidTest/java/com/smartdevicelink/test/streaming/video/SdlRemoteDisplayTest.java +++ b/android/sdl_android/src/androidTest/java/com/smartdevicelink/test/streaming/video/SdlRemoteDisplayTest.java @@ -101,8 +101,8 @@ public class SdlRemoteDisplayTest extends TestCase { @Override protected void onCreate(Bundle savedInstanceState) { - setContentView(new RelativeLayout(getContext())); super.onCreate(savedInstanceState); + setContentView(new RelativeLayout(getContext())); } diff --git a/android/sdl_android/src/main/java/com/smartdevicelink/streaming/video/SdlRemoteDisplay.java b/android/sdl_android/src/main/java/com/smartdevicelink/streaming/video/SdlRemoteDisplay.java index c5fccf545..a8238323b 100644 --- a/android/sdl_android/src/main/java/com/smartdevicelink/streaming/video/SdlRemoteDisplay.java +++ b/android/sdl_android/src/main/java/com/smartdevicelink/streaming/video/SdlRemoteDisplay.java @@ -93,7 +93,7 @@ public abstract class SdlRemoteDisplay extends Presentation { } protected void startRefreshTask() { - refreshTaskScheduledFuture = executor.scheduleAtFixedRate(mStartRefreshTaskCallback, 0, REFRESH_RATE_MS, TimeUnit.MILLISECONDS); + refreshTaskScheduledFuture = executor.scheduleAtFixedRate(mStartRefreshTaskCallback, REFRESH_RATE_MS, REFRESH_RATE_MS, TimeUnit.MILLISECONDS); } protected void stopRefreshTask() { |