Skip to content

Commit

Permalink
fix model management (#454)
Browse files Browse the repository at this point in the history
* fix model management

* changed target SDK version
  • Loading branch information
isha382 authored Oct 14, 2024
1 parent 69c0fdb commit be7af5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion android/controller/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ android {

defaultConfig {
minSdkVersion 21
targetSdkVersion 33
targetSdkVersion 32

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

Expand Down
2 changes: 1 addition & 1 deletion android/robot/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ android {
defaultConfig {
applicationId "org.openbot"
minSdkVersion 21
targetSdkVersion 33
targetSdkVersion 32
ndk {
abiFilters 'armeabi-v7a', 'arm64-v8a'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ private void processModelFromStorage(List<Uri> files, String fileName) {
}

private void openPicker() {
Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);
intent.setType("application/octet-stream"); // Specify the MIME type for TFLite files
intent.addCategory(Intent.CATEGORY_OPENABLE);
mStartForResult.launch(intent);
Expand Down

0 comments on commit be7af5b

Please sign in to comment.