-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#169: ExifInterfaceEx Added setFactory() to allow swapping class impl…
…ementation for create
- Loading branch information
Showing
3 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
app/src/main/java/de/k3b/android/androFotoFinder/media/AndroidExifInterfaceEx.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package de.k3b.android.androFotoFinder.media; | ||
|
||
import de.k3b.media.ExifInterfaceEx; | ||
|
||
public class AndroidExifInterfaceEx extends ExifInterfaceEx { | ||
public static void init() { | ||
setFactory(new Factory() { | ||
@Override | ||
public ExifInterfaceEx create() { | ||
return new AndroidExifInterfaceEx(); | ||
} | ||
}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters