Merge branch 'lineage-17.1' of https://github.com/LineageOS/android_packages_apps_Gallery2 into int/10/fp2

Gallery2 from AOSP is not very polished and buggy in some cases. The
branch from LineageOS contains many improvements and fixes from also
CodeAurora, so take those sources instead.

This essentially replaces the current code with the code from the
LineageOS branch.

Issue: FP2A10-185
Issue: FP2A10-187
Change-Id: I7316386d0049211faa15d138e69240a81fdf3338