From 997b652df91395051600d76060f7a7f7b562a484 Mon Sep 17 00:00:00 2001 From: hyb1996 <946994919@qq.com> Date: Sun, 3 Jun 2018 21:07:11 +0800 Subject: [PATCH] fix(app): change documentation source and refresh cannot apply changes immediately docs: update to latest --- .idea/caches/build_file_checksums.ser | Bin 733 -> 733 bytes app/release/output.json | 2 +- app/src/main/assets/docs/all.html | 36 ++++++++++++++---- app/src/main/assets/docs/globals.html | 2 +- .../autojs/autojs/ui/doc/DocsFragment.java | 22 ++++++++++- .../ui/settings/ScriptDirPathPreference.java | 10 ----- .../org/autojs/autojs/ui/widget/EWebView.java | 4 ++ inrt/build.gradle | 4 +- 8 files changed, 57 insertions(+), 23 deletions(-) diff --git a/.idea/caches/build_file_checksums.ser b/.idea/caches/build_file_checksums.ser index 49282b084a62ebccd2719ce9f415a5ad665161cc..ac14c79fcc511fe9c4d42a77babe79519ff2ebe6 100644 GIT binary patch delta 36 ucmV+<0NelF1>FUZm;}XDZa1-<(g6@;J^A4y19_Z2v!WXn`f2r(ega=AMi3(a delta 36 ucmV+<0NelF1>FUZm;}UN3jnd4(g6@pJ-7I!sC_>|${Ov;W)A$5ega=6yAV?V diff --git a/app/release/output.json b/app/release/output.json index f5c38b25..2bcc50bc 100644 --- a/app/release/output.json +++ b/app/release/output.json @@ -1 +1 @@ -[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":201},"path":"inrt-release.apk","properties":{"packageId":"com.stardust.auojs.inrt","split":"","minSdkVersion":"17"}}] \ No newline at end of file +[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":203},"path":"inrt-release.apk","properties":{"packageId":"com.stardust.auojs.inrt","split":"","minSdkVersion":"17"}}] \ No newline at end of file diff --git a/app/src/main/assets/docs/all.html b/app/src/main/assets/docs/all.html index ff284e87..1920eb19 100644 --- a/app/src/main/assets/docs/all.html +++ b/app/src/main/assets/docs/all.html @@ -226,6 +226,9 @@
  • 事件: multi_choice
  • 事件: input
  • 事件: input_change
  • +
  • dialog.getProgress()
  • +
  • dialog.getMaxProgress()
  • +
  • dialog.getActionButton(action)
  • Engines

    动态申请安卓的权限。例如:

    //请求GPS权限
    -runtime.requestPermission(["access_fine_location"]);
    +runtime.requestPermissions(["access_fine_location"]);
     

    尽管安卓有很多权限,但必须写入Manifest才能动态申请,为了防止权限的滥用,目前Auto.js只能额外申请两个权限:

    动态申请安卓的权限。例如:

    //请求GPS权限
    -runtime.requestPermission(["access_fine_location"]);
    +runtime.requestPermissions(["access_fine_location"]);
     

    尽管安卓有很多权限,但必须写入Manifest才能动态申请,为了防止权限的滥用,目前Auto.js只能额外申请两个权限: