Fix black preview after back and PicSphere not leaving setup

Change-Id: I9c5ededfab43e9cd9c8ac2a55155ac85eb046023
Focal : Show keyguard widget

Allow user to specify focal as their camera widget
Adds appropriate layout (very basic, since keyguard doesnt support
custom views)

Change-Id: Id657ba016933525c2ffadf17461e31fe87d4b901
Adjust orientation compensation for native landscape devices

Native landscape devices display the onscreen elements in the
wrong orientation.  This patch removes the orientation
compensation for native landscape devices so they are not
rotated by 90 degrees.

Change-Id: If74e2d0170a3df351cad5e22798c8d23c1f6ebf7
Listen for gestures on the preview container, not just the actual preview window

Change-Id: Iaeec230c5cbe26f589460acf1b2995766e926a16
Merge "Listen for gestures on the preview container, not just the actual preview window" into cm-10.2
Revert "Adjust orientation compensation for native landscape devices"

This uses an hidden API which makes it hard to build it in a standalone way.
Could you find another way to do it, using public APIs?

This reverts commit 11a18d7acd75b9f92357b3b3fc4d2814020e0e96.

Change-Id: I9ad5d5127376380631b0136e0ef90392d04581e4
Merge "Revert "Adjust orientation compensation for native landscape devices"" into cm-10.2
Adjust orientationCompensation for device native orientation

Change-Id: I45041b78bb0d26e9b225f5e72fa53ce9859b0bc2
Focal: only set AutoFocusMoveCallback for supported devices

Otherwise, it crashes on older devices such as the galaxysmtd

Change-Id: I5f2099b5115d17e3bae3eaf095e93f065cdb7681
Merge "Adjust orientationCompensation for device native orientation" into cm-10.2
Don't build if device use the camera stub

Change-Id: Ibdacb7405364b57ed8bfbf96fbbee2d12c3d1b7a
Revert "Don't build if device use the camera stub"

This reverts commit a0b40a733052f856c4b69c3d412d0cbb9843b7dc.

Change-Id: I8743f201b38061b890b2282105b15ab038128c3d
Focal: add new api for detecting the widget we are in.

* use it for whether we are in hdr or not

* Add Samsung ZSL mode

Change-Id: I9558558777a11cc8f6b633e397c809aa6993ceaf
Default orientation to Portrait instead of Landscape
Default orientation to Portrait instead of Landscape

Change-Id: I797f58ad168a87d7c53313c948f30d8753d8d8e6
Merge "Default orientation to Portrait instead of Landscape" into cm-10.2
ReviewDrawer: New implementation

- 2 buttons to access gallery or filter editor
- Can swipe directly through the pictures
- Swipe down (in portrait) to delete

Change-Id: I75870bbd9aade6d0a7e22617122dc8129ac678c3
Focal : Add support library

Add v4 support library

Change-Id: Ibe3faaa72b1c1da361c0cca6d8df27000d971abd
Focal : Remove uneeded jar

Change-Id: I6b75d153819a75755830395a0236e0d6b1888bed
CameraManager: Fix NPE when camera is reset

Change-Id: I5b6912ea13901b60aedf037b946c232e470f3607