Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.

Commit

Permalink
Replace android.os.FileObserver with com.droid.fix.FileObserver.
Browse files Browse the repository at this point in the history
more about com.droid.fix.FileObserver project link
https://github.com/droidwolf/Fix_FileObserver
  • Loading branch information
gold-duo committed Nov 10, 2015
1 parent fe9c437 commit 34ef1bb
Show file tree
Hide file tree
Showing 13 changed files with 10 additions and 8 deletions.
3 changes: 2 additions & 1 deletion example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile fileTree(include: ['*.jar'], dir: 'libs')
compile project(':subprocess')
}
Binary file added example/libs/fileobserver-release0.0.1.jar
Binary file not shown.
1 change: 1 addition & 0 deletions example/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

<application android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true">
<activity android:name="com.droidwolf.example.WatchDogActivity" >
<intent-filter>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@

package com.droidwolf.example;

import java.io.File;
import java.io.IOException;

import android.content.Intent;
import android.os.FileObserver;

import com.droidwolf.fix.FileObserver;

import java.io.File;

public class ProcessWatcher {
private FileObserver mFileObserver;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

package com.droidwolf.example;

import java.io.IOException;
import com.droidwolf.fix.FileObserver;

import android.os.FileObserver;
import java.io.IOException;

public class UninstallWatcher {
private FileObserver mFileObserver;
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added example/src/main/jniLibs/mips/libfileobserver.so
Binary file not shown.
Binary file not shown.
Binary file added example/src/main/jniLibs/x86/libfileobserver.so
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion example/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<resources>
<string name="app_name">Test</string>
<string name="app_name">NativeSubprocess Test</string>
</resources>

0 comments on commit 34ef1bb

Please sign in to comment.