Skip to content

Commit a105cad

Browse files
committedJun 24, 2023
targetSdkVersion 33 -> 34
1 parent e23fe7a commit a105cad

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed
 

‎app/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ android {
2828
defaultConfig {
2929
applicationId 'ee.ioc.phon.android.speak'
3030
minSdkVersion 24
31-
targetSdkVersion 33
32-
versionCode 1906
33-
versionName '1.9.06'
31+
targetSdkVersion 34
32+
versionCode 1907
33+
versionName '1.9.07'
3434
vectorDrawables.useSupportLibrary = true
3535
// Keep only en and et resources
3636
resConfigs 'en', 'et'

‎app/src/main/java/ee/ioc/phon/android/speak/activity/AbstractRecognizerIntentActivity.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import android.content.SharedPreferences;
2525
import android.content.pm.PackageManager;
2626
import android.net.Uri;
27-
import android.os.Build;
2827
import android.os.Bundle;
2928
import android.os.Handler;
3029
import android.os.Message;
@@ -553,7 +552,7 @@ private void handleResultByLaunchIntent(String result) {
553552
boolean isFinish = true;
554553
if (mExtras.containsKey(Extras.EXTRA_FINISH_AFTER_LAUNCH_INTENT)) {
555554
isFinish = mExtras.getBoolean(Extras.EXTRA_FINISH_AFTER_LAUNCH_INTENT, true);
556-
} else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N && isInMultiWindowMode()) {
555+
} else if (isInMultiWindowMode()) {
557556
isFinish = false;
558557
}
559558
if (isFinish) {

‎speechutils

0 commit comments

Comments
 (0)
Failed to load comments.