Commit graph

3 commits

Author SHA1 Message Date
Álvaro Brey
0f51646d3c
Close scan activity if camera permission is denied
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:35 +01:00
Álvaro Brey
f6094ae343
Lock AppScanActivity in portrait
Suggested in the library's docs, and prevents the activity crashing

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:35 +01:00
Álvaro Brey
1917198305
Move optional appscan feature to a separate module to avoid duplicating code between variants
This now uses a AppScanOptionalFeature injected interface that is satisfied by each module,
reducing the duplicated code to a minimum

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:32 +01:00