Эх сурвалжийг харах

Merge remote-tracking branch 'origin/master'

kunfei 3 жил өмнө
parent
commit
c66c50969c

BIN
app/cronetlib/cronet_api.jar


BIN
app/cronetlib/cronet_impl_common_java.jar


BIN
app/cronetlib/cronet_impl_native_java.jar


BIN
app/cronetlib/cronet_impl_platform_java.jar


+ 1 - 7
app/src/main/assets/cronet.json

@@ -1,7 +1 @@
-{
-  "arm64-v8a": "4c4c8dc090d4a1173fe564bb784a9249",
-  "armeabi-v7a": "e9e1b735e07c6a0dd15a353f73728d07",
-  "x86": "7dfab670462d91692685b653cf605217",
-  "x86_64": "59d5d3e669ed981fb9c33bca33e79021",
-  "version": "109.0.5414.117"
-}
+{"arm64-v8a":"2b818ddff61241043109d2c8cc1eabbc","x86":"aa24a41e58b1baa42c4fe6879ba71a23","x86_64":"f5123aab5ad23856f617a45cbdcc88e3","armeabi-v7a":"d5fb5109dcf0c08edb3acb61d0763d05","version":"110.0.5481.65"}

+ 1 - 0
app/src/main/assets/updateLog.md

@@ -13,6 +13,7 @@
 
 
 **2023/02/12**
 **2023/02/12**
 
 
+* 更新cronet: 110.0.5481.65
 * 添加清除 WebView 数据 by Horis
 * 添加清除 WebView 数据 by Horis
 * 
 * 
 
 

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
app/src/main/assets/web/bookshelf/css/detail.a93229e3.css


+ 2 - 2
app/src/main/assets/web/bookshelf/index.html

@@ -1,3 +1,3 @@
-<!DOCTYPE html><html lang="zh-CN" style="padding: 0;height:100%"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link rel="icon" href="../favicon.ico" type="image/x-icon"><link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"><title>Legado Bookshelf</title><link href="css/about.78a74084.css" rel="prefetch"><link href="css/detail.a52390c0.css" rel="prefetch"><link href="js/about.098470f0.js" rel="prefetch"><link href="js/detail.49778394.js" rel="prefetch"><link href="css/app.e4c919b7.css" rel="preload" as="style"><link href="css/chunk-vendors.57f380c8.css" rel="preload" as="style"><link href="js/app.6608cc19.js" rel="preload" as="script"><link href="js/chunk-vendors.7c711c9e.js" rel="preload" as="script"><link href="css/chunk-vendors.57f380c8.css" rel="stylesheet"><link href="css/app.e4c919b7.css" rel="stylesheet"></head><style>body::-webkit-scrollbar {
+<!DOCTYPE html><html lang="zh-CN" style="padding: 0;height:100%"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link rel="icon" href="../favicon.ico" type="image/x-icon"><link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"><title>Legado Bookshelf</title><link href="css/about.78a74084.css" rel="prefetch"><link href="css/detail.a93229e3.css" rel="prefetch"><link href="js/about.f0a7cd33.js" rel="prefetch"><link href="js/detail.9796c358.js" rel="prefetch"><link href="css/app.e4c919b7.css" rel="preload" as="style"><link href="css/chunk-vendors.57f380c8.css" rel="preload" as="style"><link href="js/app.15779c82.js" rel="preload" as="script"><link href="js/chunk-vendors.ba449a74.js" rel="preload" as="script"><link href="css/chunk-vendors.57f380c8.css" rel="stylesheet"><link href="css/app.e4c919b7.css" rel="stylesheet"></head><style>body::-webkit-scrollbar {
         display: none;
         display: none;
-    }</style><body style="margin: 0;height:100%"><noscript><strong>We're sorry but yd-web-tool doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.7c711c9e.js"></script><script src="js/app.6608cc19.js"></script></body></html>
+    }</style><body style="margin: 0;height:100%"><noscript><strong>We're sorry but yd-web-tool doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.ba449a74.js"></script><script src="js/app.15779c82.js"></script></body></html>

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
app/src/main/assets/web/bookshelf/js/about.098470f0.js


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
app/src/main/assets/web/bookshelf/js/about.f0a7cd33.js


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
app/src/main/assets/web/bookshelf/js/app.15779c82.js


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
app/src/main/assets/web/bookshelf/js/chunk-vendors.ba449a74.js


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
app/src/main/assets/web/bookshelf/js/detail.49778394.js


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
app/src/main/assets/web/bookshelf/js/detail.9796c358.js


+ 4 - 10
app/src/main/java/io/legado/app/ui/book/searchContent/SearchContentActivity.kt

@@ -75,7 +75,6 @@ class SearchContentActivity :
         searchView.onActionViewExpanded()
         searchView.onActionViewExpanded()
         searchView.isSubmitButtonEnabled = true
         searchView.isSubmitButtonEnabled = true
         searchView.queryHint = getString(R.string.search)
         searchView.queryHint = getString(R.string.search)
-        searchView.clearFocus()
         searchView.setOnQueryTextListener(object : SearchView.OnQueryTextListener {
         searchView.setOnQueryTextListener(object : SearchView.OnQueryTextListener {
             override fun onQueryTextSubmit(query: String): Boolean {
             override fun onQueryTextSubmit(query: String): Boolean {
                 startContentSearch(query.trim())
                 startContentSearch(query.trim())
@@ -153,12 +152,12 @@ class SearchContentActivity :
             viewModel.lastQuery = query
             viewModel.lastQuery = query
             searchJob = launch {
             searchJob = launch {
                 kotlin.runCatching {
                 kotlin.runCatching {
+                    binding.refreshProgressBar.isAutoLoading = true
+                    binding.fbStop.visible()
                     withContext(IO) {
                     withContext(IO) {
                         appDb.bookChapterDao.getChapterList(viewModel.bookUrl)
                         appDb.bookChapterDao.getChapterList(viewModel.bookUrl)
                     }.forEach { bookChapter ->
                     }.forEach { bookChapter ->
                         ensureActive()
                         ensureActive()
-                        binding.refreshProgressBar.isAutoLoading = true
-                        binding.fbStop.visible()
                         val searchResults = withContext(IO) {
                         val searchResults = withContext(IO) {
                             if (isLocalBook || viewModel.cacheChapterNames.contains(bookChapter.getFileName())) {
                             if (isLocalBook || viewModel.cacheChapterNames.contains(bookChapter.getFileName())) {
                                 viewModel.searchChapter(query, bookChapter)
                                 viewModel.searchChapter(query, bookChapter)
@@ -171,24 +170,19 @@ class SearchContentActivity :
                         ensureActive()
                         ensureActive()
                         if (searchResults != null && searchResults.isNotEmpty()) {
                         if (searchResults != null && searchResults.isNotEmpty()) {
                             viewModel.searchResultList.addAll(searchResults)
                             viewModel.searchResultList.addAll(searchResults)
-                            binding.refreshProgressBar.isAutoLoading = false
                             adapter.addItems(searchResults)
                             adapter.addItems(searchResults)
                         }
                         }
                     }
                     }
-                    binding.refreshProgressBar.isAutoLoading = false
                     if (viewModel.searchResultCounts == 0) {
                     if (viewModel.searchResultCounts == 0) {
                         val noSearchResult =
                         val noSearchResult =
                             SearchResult(resultText = getString(R.string.search_content_empty))
                             SearchResult(resultText = getString(R.string.search_content_empty))
                         adapter.addItem(noSearchResult)
                         adapter.addItem(noSearchResult)
                     }
                     }
                 }.onFailure {
                 }.onFailure {
-                    binding.fbStop.invisible()
-                    binding.refreshProgressBar.isAutoLoading = false
                     AppLog.put("全文搜索出错\n${it.localizedMessage}", it)
                     AppLog.put("全文搜索出错\n${it.localizedMessage}", it)
-                }.onSuccess {
-                    binding.fbStop.invisible()
-                    binding.refreshProgressBar.isAutoLoading = false
                 }
                 }
+                binding.fbStop.invisible()
+                binding.refreshProgressBar.isAutoLoading = false
             }
             }
         }
         }
     }
     }

+ 2 - 2
gradle.properties

@@ -37,6 +37,6 @@ android.defaults.buildfeatures.shaders=false
 # and none from the library's dependencies, thereby reducing the size of the R class for that library.
 # and none from the library's dependencies, thereby reducing the size of the R class for that library.
 android.nonTransitiveRClass=true
 android.nonTransitiveRClass=true
 # https://chromiumdash.appspot.com/releases?platform=Android
 # https://chromiumdash.appspot.com/releases?platform=Android
-CronetVersion=109.0.5414.117
-CronetMainVersion=109.0.0.0
+CronetVersion=110.0.5481.65
+CronetMainVersion=110.0.0.0
 android.injected.testOnly=false
 android.injected.testOnly=false

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно