Minor fixes

This commit is contained in:
世界 2021-01-29 15:17:58 +08:00
parent c7f786a112
commit bbc106c2fe
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
2 changed files with 3 additions and 2 deletions

View File

@ -2640,6 +2640,7 @@ public class LaunchActivity extends Activity implements ActionBarLayout.ActionBa
}
actionBarLayout.presentFragment(fragment, removeLast, false, true, false);
} else {
AlertUtil.showToast(error);
if (documentsUrisArray == null) {
documentsUrisArray = new ArrayList<>();
}

View File

@ -455,8 +455,8 @@ object ProxyUtil {
bitmap.setPixels(pixels, 0, size, 0, 0, size, size)
return bitmap
} catch (e: WriterException) {
e.printStackTrace()
return null
FileLog.e(e);
return Bitmap.createBitmap(size, size, Bitmap.Config.ARGB_8888)
}
}