Commit 7dafc03
committed
[[ Bug 22763 ]] Fix resizing mobilePickPhoto for API Level < 24
This patch ensures that calling mobilePickPhoto with width and height
params works in older Android versions too. Previously, a constructor
for "ExifInterface" was used, that was available in API 24+ (Android 7+).
This patch checks the Android version of the device and uses a different
constructor on Android < 7.1 parent cd7d1b7 commit 7dafc03
File tree
2 files changed
+13
-3
lines changed- docs/notes
- engine/src/java/com/runrev/android
2 files changed
+13
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2232 | 2232 | | |
2233 | 2233 | | |
2234 | 2234 | | |
2235 | | - | |
2236 | | - | |
2237 | | - | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
| 2242 | + | |
| 2243 | + | |
| 2244 | + | |
| 2245 | + | |
| 2246 | + | |
2238 | 2247 | | |
2239 | 2248 | | |
2240 | 2249 | | |
| |||
0 commit comments