Skip to content

Commit

Permalink
Merge pull request zhihu#19 from CoXier/master
Browse files Browse the repository at this point in the history
A marginal improvement
  • Loading branch information
gejiaheng committed Apr 25, 2017
2 parents 6cb2a68 + 1a9b4b1 commit 997fd46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
13 changes: 4 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
*.iml
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
/captures
Expand All @@ -25,12 +23,11 @@ bin/
gen/
out/

# Gradle files
.gradle/
build/
# Gradle build files
matisse/build
sample/build


# Local configuration file (sdk path, etc)
local.properties

# Proguard folder generated by Eclipse
proguard/
Expand All @@ -44,8 +41,6 @@ proguard/
# Android Studio captures folder
captures/

# Intellij
*.iml

# Keystore files
*.jks
3 changes: 1 addition & 2 deletions matisse/src/main/java/com/zhihu/matisse/Matisse.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ public final class Matisse {
private final WeakReference<Fragment> mFragment;

private Matisse(Activity activity) {
mContext = new WeakReference<>(activity);
mFragment = null;
this(activity, null);
}

private Matisse(Activity activity, Fragment fragment) {
Expand Down

0 comments on commit 997fd46

Please sign in to comment.