1
0
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:
Allan Wang 2017-07-02 23:33:41 -07:00
parent c03c7d2c6e
commit 0af60659f6
3 changed files with 11 additions and 6 deletions

View File

@ -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">

View File

@ -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"

View File

@ -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)
} }
} }