Skip to content

Commit

Permalink
Dexter trick is not needed since Android 6
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrobin committed Jan 3, 2019
1 parent 4d606e0 commit 33817f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sensorhub-android-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ext.details = 'OSH demo app for Android'

dependencies {
api project(':sensorhub-android-lib')
compileOnly 'javax.xml.stream:stax-api:1.0-2'
api 'javax.xml.stream:stax-api:1.0-2'
}

android {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void onCreate() {
try
{
// load external dex file containing stax API
Dexter.loadFromAssets(this.getApplicationContext(), "stax-api-1.0-2.dex");
//Dexter.loadFromAssets(this.getApplicationContext(), "stax-api-1.0-2.dex");

// set default StAX implementation
XMLImplFinder.setStaxInputFactory(com.ctc.wstx.stax.WstxInputFactory.class.newInstance());
Expand Down
2 changes: 1 addition & 1 deletion sensorhub-android-lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies {
api project(':sensorhub-android-flirone')
//api project(':sensorhub-android-dji')
implementation 'org.slf4j:slf4j-android:1.6.1-RC1'
compileOnly 'javax.xml.stream:stax-api:1.0-2'
api 'javax.xml.stream:stax-api:1.0-2'
}

configurations {
Expand Down

0 comments on commit 33817f6

Please sign in to comment.