-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added
classNameFilter(ClassNameFilter)
into DexOpener.Builder and d…
…eprecated `classNameFilters(ClassNameFilter ...)`
- Loading branch information
Showing
6 changed files
with
57 additions
and
84 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
dexopener/src/main/java/com/github/tmurakami/dexopener/AcceptAll.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,17 @@ | ||
package com.github.tmurakami.dexopener; | ||
|
||
import android.support.annotation.NonNull; | ||
|
||
final class AcceptAll implements ClassNameFilter { | ||
|
||
static final ClassNameFilter INSTANCE = new AcceptAll(); | ||
|
||
private AcceptAll() { | ||
} | ||
|
||
@Override | ||
public boolean accept(@NonNull String className) { | ||
return true; | ||
} | ||
|
||
} |
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
23 changes: 0 additions & 23 deletions
23
dexopener/src/main/java/com/github/tmurakami/dexopener/ClassNameFilters.java
This file was deleted.
Oops, something went wrong.
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
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
31 changes: 0 additions & 31 deletions
31
dexopener/src/test/java/com/github/tmurakami/dexopener/ClassNameFiltersTest.java
This file was deleted.
Oops, something went wrong.