mirror of
https://github.com/AllanWang/Frost-for-Facebook.git
synced 2024-11-09 20:42:34 +01:00
Update travis
This commit is contained in:
parent
c03c7d2c6e
commit
0af60659f6
@ -53,7 +53,7 @@
|
|||||||
<ConfirmationsSetting value="0" id="Add" />
|
<ConfirmationsSetting value="0" id="Add" />
|
||||||
<ConfirmationsSetting value="0" id="Remove" />
|
<ConfirmationsSetting value="0" id="Remove" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||||
<output url="file://$PROJECT_DIR$/build/classes" />
|
<output url="file://$PROJECT_DIR$/build/classes" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectType">
|
<component name="ProjectType">
|
||||||
|
@ -20,11 +20,7 @@ before_install:
|
|||||||
after_success:
|
after_success:
|
||||||
- chmod +x ./generate-apk-release.sh
|
- chmod +x ./generate-apk-release.sh
|
||||||
- "./generate-apk-release.sh"
|
- "./generate-apk-release.sh"
|
||||||
deploy:
|
- "./gradlew app:publishApkRelease"
|
||||||
provider: script
|
|
||||||
script: "./gradlew app:publishApkRelease"
|
|
||||||
on:
|
|
||||||
branch: master
|
|
||||||
script:
|
script:
|
||||||
- cd $TRAVIS_BUILD_DIR/
|
- cd $TRAVIS_BUILD_DIR/
|
||||||
- "./gradlew assembleReleaseTest"
|
- "./gradlew assembleReleaseTest"
|
||||||
|
@ -34,6 +34,15 @@ class FrostChromeClient(webCore: FrostWebViewCore) : WebChromeClient() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun onShowFileChooser(webView: WebView, filePathCallback: ValueCallback<Array<Uri>>?, fileChooserParams: FileChooserParams?): Boolean {
|
override fun onShowFileChooser(webView: WebView, filePathCallback: ValueCallback<Array<Uri>>?, fileChooserParams: FileChooserParams?): Boolean {
|
||||||
|
L.d("On show file chooser")
|
||||||
|
fileChooserParams?.apply {
|
||||||
|
L.d(filenameHint)
|
||||||
|
L.d("$mode")
|
||||||
|
L.d(acceptTypes.contentToString())
|
||||||
|
}
|
||||||
|
|
||||||
return super.onShowFileChooser(webView, filePathCallback, fileChooserParams)
|
return super.onShowFileChooser(webView, filePathCallback, fileChooserParams)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user