Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android http to https in camera app gradle.build #8380

Merged
merged 1 commit into from
Feb 17, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions wrappers/android/tools/camera/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,21 @@ task downloadFirmware() {
def d4xxFile = new File("$projectDir/src/main/res/raw/fw_d4xx.bin")
if (!d4xxFile.exists()) {
println("downloading D4xx fw: " + d4xxFwVersion)
new URL('http://realsense-hw-public.s3-eu-west-1.amazonaws.com/Releases/RS4xx/FW/D4XX_FW_Image-' + d4xxFwVersion + '.bin').withInputStream{ i -> d4xxFile.withOutputStream{ it << i }}
new URL('https://librealsense.intel.com/Releases/RS4xx/FW/D4XX_FW_Image-' + d4xxFwVersion + '.bin').withInputStream{ i -> d4xxFile.withOutputStream{ it << i }}
}

def l5xxFwVersion = getFwVersion('L5XX_RECOMMENDED_FIRMWARE_VERSION')
def l5xxFile = new File("$projectDir/src/main/res/raw/fw_l5xx.bin")
if (!l5xxFile.exists()) {
println("downloading L5xx fw: " + l5xxFwVersion)
new URL('http://realsense-hw-public.s3-eu-west-1.amazonaws.com/Releases/L5xx/FW/L5XX_FW_Image-' + l5xxFwVersion + '.bin').withInputStream{ i -> l5xxFile.withOutputStream{ it << i }}
new URL('https://librealsense.intel.com/Releases/L5xx/FW/L5XX_FW_Image-' + l5xxFwVersion + '.bin').withInputStream{ i -> l5xxFile.withOutputStream{ it << i }}
}

def sr3xxFwVersion = getFwVersion('SR3XX_RECOMMENDED_FIRMWARE_VERSION')
def sr3xxFile = new File("$projectDir/src/main/res/raw/fw_sr3xx.bin")
if (!sr3xxFile.exists()) {
println("downloading SR3xx fw: " + sr3xxFwVersion)
new URL('http://realsense-hw-public.s3-eu-west-1.amazonaws.com/Releases/SR300/FW/SR3XX_FW_Image-' + sr3xxFwVersion + '.bin').withInputStream{ i -> sr3xxFile.withOutputStream{ it << i }}
new URL('https://librealsense.intel.com/Releases/SR300/FW/SR3XX_FW_Image-' + sr3xxFwVersion + '.bin').withInputStream{ i -> sr3xxFile.withOutputStream{ it << i }}
}
}

Expand Down