Update AGP version; Do not use cached completions if the cached result is incomplete

This commit is contained in:
Akash Yadav
2022-05-22 07:54:18 +05:30
parent 24f94f3914
commit 359cfd939a
9 changed files with 7 additions and 6 deletions
Binary file not shown.
@@ -28,7 +28,7 @@
style="@style/AppTheme.TextInputLayout.Outlined"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:hint="@string/replacement"
android:hint="@string/msg_replacement"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
+1
View File
@@ -368,6 +368,7 @@
<string name="msg_project_initialization_failed">Project initialization failed</string>
<string name="msg_project_not_initialized">Project is not initialized</string>
<string name="msg_running_task">Running task: \'%1$s\'</string>
<string name="msg_replacement">Replacement</string>
</resources>
+1 -1
View File
@@ -32,7 +32,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.3'
classpath 'com.android.tools.build:gradle:7.2.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.googlejavaformat:google-java-format:1.15.0'
}
+1 -1
View File
@@ -4,7 +4,7 @@ ext {
]
common = [
editor: 'io.github.Rosemoe.sora-editor:editor:0.11.2',
editor: 'io.github.Rosemoe.sora-editor:editor:0.11.1',
utilcode: 'com.blankj:utilcodex:1.30.6',
file_picker: 'com.github.abhishekti7:UnicornFilePicker:1.0.2',
glide: 'com.github.bumptech.glide:glide:4.12.0',
+1 -1
View File
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
@@ -96,7 +96,7 @@ private constructor(val params: CompletionParams, val result: CompletionResult)
log.info("...incompatible partial identifier")
return false
}
return true
}
}
@@ -97,7 +97,7 @@ public class CompletionProvider extends AbstractServiceProvider implements IComp
result.markCached();
if (!result.getItems().isEmpty()) {
if (!result.isIncomplete() && result.getItems().size() > 10) {
LOG.info("...using cached completion");
logCompletionDuration(started, result);
return result;