release 2.0.16 Beta2

This commit is contained in:
hyb1996
2017-08-15 18:30:18 +08:00
parent 4e6e223f6e
commit 9e23d9c245
2 changed files with 1 additions and 3 deletions

View File

@@ -309,7 +309,7 @@ public class MainActivity extends BaseActivity implements OnActivityResultDelega
@Override
protected void onStart() {
super.onStart();
if (!DeveloperUtils.checkSignature(this)) {
if (!BuildConfig.DEBUG && !DeveloperUtils.checkSignature(this)) {
finish();
}
}

View File

@@ -47,8 +47,6 @@ public class DeveloperUtils {
* 为了开源社区的发展,请善用源码:-)
*/
public static boolean checkSignature(Context context) {
if (BuildConfig.DEBUG)
return true;
return SIGNATURE.equals(getSignature(context));
}