Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -142,7 +142,7 @@ class MobileScanner( | @@ -142,7 +142,7 @@ class MobileScanner( | ||
| 142 | } | 142 | } |
| 143 | } | 143 | } |
| 144 | 144 | ||
| 145 | - fun rotateBitmap(bitmap: Bitmap, degrees: Float): Bitmap { | 145 | + private fun rotateBitmap(bitmap: Bitmap, degrees: Float): Bitmap { |
| 146 | val matrix = Matrix() | 146 | val matrix = Matrix() |
| 147 | matrix.postRotate(degrees) | 147 | matrix.postRotate(degrees) |
| 148 | return Bitmap.createBitmap(bitmap, 0, 0, bitmap.width, bitmap.height, matrix, true) | 148 | return Bitmap.createBitmap(bitmap, 0, 0, bitmap.width, bitmap.height, matrix, true) |
-
Please register or login to post a comment