release 2.0.16 Beta2
This commit is contained in:
@@ -309,7 +309,7 @@ public class MainActivity extends BaseActivity implements OnActivityResultDelega
|
|||||||
@Override
|
@Override
|
||||||
protected void onStart() {
|
protected void onStart() {
|
||||||
super.onStart();
|
super.onStart();
|
||||||
if (!DeveloperUtils.checkSignature(this)) {
|
if (!BuildConfig.DEBUG && !DeveloperUtils.checkSignature(this)) {
|
||||||
finish();
|
finish();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,8 +47,6 @@ public class DeveloperUtils {
|
|||||||
* 为了开源社区的发展,请善用源码:-)
|
* 为了开源社区的发展,请善用源码:-)
|
||||||
*/
|
*/
|
||||||
public static boolean checkSignature(Context context) {
|
public static boolean checkSignature(Context context) {
|
||||||
if (BuildConfig.DEBUG)
|
|
||||||
return true;
|
|
||||||
return SIGNATURE.equals(getSignature(context));
|
return SIGNATURE.equals(getSignature(context));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user