This file contains hidden or 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
此处 只 添加 调起处的代码 | |
activity implements EasyPermissions.PermissionCallbacks | |
@AfterPermissionGranted(RC_STORE_PERM) | |
private void startCheckUpdate() { | |
if (EasyPermissions.hasPermissions(this, new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE})) { | |
// Have permission, do the thing! | |
new UpdateUtils(AboutActivity.this, true).checkUpdate(); |
This file contains hidden or 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
/** 水平方向模糊度 */ | |
private static float hRadius = 180; | |
/** 竖直方向模糊度 */ | |
private static float vRadius = 180; | |
/** 模糊迭代度 */ | |
private static int iterations =3; | |
/** | |
* 图片高斯模糊处理 | |
* |