This is an automated email from the ASF dual-hosted git repository.
tjwatson pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/felix-atomos.git
The following commit(s) were added to refs/heads/master by this push:
new 4b0feb8 Make Android app work with Felix
4b0feb8 is described below
commit 4b0feb8be5351b534f7374d2a750863609d09eb1
Author: Thomas Watson <[email protected]>
AuthorDate: Tue Mar 31 22:41:39 2020 -0500
Make Android app work with Felix
---
atomos.examples/atomos.examples.android/app/build.gradle | 4 ++--
.../java/org/apache/felix/atomos/examples/android/MainActivity.java | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/atomos.examples/atomos.examples.android/app/build.gradle
b/atomos.examples/atomos.examples.android/app/build.gradle
index 047567a..fd1b2fe 100644
--- a/atomos.examples/atomos.examples.android/app/build.gradle
+++ b/atomos.examples/atomos.examples.android/app/build.gradle
@@ -5,8 +5,8 @@ android {
defaultConfig {
applicationId "org.apache.felix.atomos.examples.android"
- minSdkVersion 28
- targetSdkVersion 28
+ minSdkVersion 27
+ targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
diff --git
a/atomos.examples/atomos.examples.android/app/src/main/java/org/apache/felix/atomos/examples/android/MainActivity.java
b/atomos.examples/atomos.examples.android/app/src/main/java/org/apache/felix/atomos/examples/android/MainActivity.java
index 266cb51..66f0480 100644
---
a/atomos.examples/atomos.examples.android/app/src/main/java/org/apache/felix/atomos/examples/android/MainActivity.java
+++
b/atomos.examples/atomos.examples.android/app/src/main/java/org/apache/felix/atomos/examples/android/MainActivity.java
@@ -46,6 +46,7 @@ public class MainActivity extends AppCompatActivity {
File storage = getDir("framework-store", MODE_PRIVATE);
final String[] args = new String[]{
Constants.FRAMEWORK_STORAGE + '=' + storage.getAbsolutePath(),
+ "gosh.args=--noshutdown"
};
launch.setOnClickListener(new View.OnClickListener() {