Fix RenderScript leaks; set a reasonable default value for PREF_TEXT_CLOCK_SIZE.

This commit is contained in:
azuo
2021-09-10 23:15:47 +08:00
parent 43f085b13c
commit 0dbbe0e5d2
2 changed files with 4 additions and 1 deletions

View File

@ -73,6 +73,9 @@ object ImageHelper {
allocationIn.destroy()
allocationOut.destroy()
colorMatrixScript.destroy()
blurScript.destroy()
//rs.destroy()
return bitmap
}